third_party/virtualbox/src/VBox/Devices/Network/DevE1000.cpp
/**
 * Write handler for Packet Buffer Allocation register.
 *
 * TXA = 64 - RXA.
 *
 * @param   pThis       The device state structure.
 * @param   offset      Register offset in memory-mapped frame.
 * @param   index       Register index in register array.
 * @param   value       The value to store.
 * @param   mask        Used to implement partial writes (8 and 16-bit).
 * @thread  EMT
 */
Write handler for Packet Buffer Allocation register.

@param   pThis       The device state structure.
@param   offset      Register offset in memory-mapped frame.
@param   index       Register index in register array.
@param   value       The value to store.
@param   mask        Used to implement partial writes (8 and 16-bit).
@thread  EMT
Write handler for Packet Buffer Allocation register . @param pThis The device state structure . @param offset Register offset in memory - mapped frame . @param index Register index in register array . @param value The value to store . @param mask Used to implement partial writes ( 8 and 16 - bit ) . @thread EMT
static int e1kRegWritePBA(PE1KSTATE pThis, uint32_t offset, uint32_t index, uint32_t value)
{
    e1kRegWriteDefault(pThis, offset, index, value);
    PBA_st->txa = 64 - PBA_st->rxa;
    return VINF_SUCCESS;
}
static int e1kRegWritePBA ( PE1KSTATE pThis , uint32_t offset , uint32_t index , uint32_t value ) { e1kRegWriteDefault ( pThis , offset , index , value ) ; PBA_st -> txa = 64 - PBA_st -> rxa ; return VINF_SUCCESS ; }
Write handler for Packet Buffer Allocation register.
Write handler for Packet Buffer Allocation register .