FreeBSD/sys/dev/mrsas/mrsas.c
/*
 * mrsas_fire_cmd:	Sends command to FW
 * input:			Adapter softstate
 * 					request descriptor address low
 * 					request descriptor address high
 *
 * This functions fires the command to Firmware by writing to the
 * inbound_low_queue_port and inbound_high_queue_port.
 */
Sends command to FW
input:                       Adapter softstate
request descriptor address low
request descriptor address high

This functions fires the command to Firmware by writing to the
inbound_low_queue_port and inbound_high_queue_port.
Sends command to FW input : Adapter softstate request descriptor address low request descriptor address high This functions fires the command to Firmware by writing to the inbound_low_queue_port and inbound_high_queue_port .
void
mrsas_fire_cmd(struct mrsas_softc *sc, u_int32_t req_desc_lo,
    u_int32_t req_desc_hi)
{
	mtx_lock(&sc->pci_lock);
	mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_low_queue_port),
	    req_desc_lo);
	mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_high_queue_port),
	    req_desc_hi);
	mtx_unlock(&sc->pci_lock);
}
void mrsas_fire_cmd ( struct mrsas_softc * sc , u_int32_t req_desc_lo , u_int32_t req_desc_hi ) { mtx_lock ( & sc -> pci_lock ) ; mrsas_write_reg ( sc , offsetof ( mrsas_reg_set , inbound_low_queue_port ) , req_desc_lo ) ; mrsas_write_reg ( sc , offsetof ( mrsas_reg_set , inbound_high_queue_port ) , req_desc_hi ) ; mtx_unlock ( & sc -> pci_lock ) ; }
mrsas_fire_cmd:      Sends command to FW
 input:                       Adapter softstate
                                      request descriptor address low
                                      request descriptor address high
mrsas_fire_cmd : Sends command to FW input : Adapter softstate request descriptor address low request descriptor address high