Searched refs:wrm (Results 1 - 11 of 11) sorted by relevance

/drivers/scsi/csiostor/
H A Dcsio_wr.h452 #define csio_get_q(__hw, __idx) ((__hw)->wrm.q_arr[__idx])
453 #define csio_q_type(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->type)
454 #define csio_q_pidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pidx)
455 #define csio_q_cidx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->cidx)
456 #define csio_q_inc_idx(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->inc_idx)
457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart)
458 #define csio_q_pstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->pstart)
459 #define csio_q_size(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->size)
460 #define csio_q_credits(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->credits)
461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm
[all...]
H A Dcsio_wr.c74 return (hw->wrm.sge.sge_control & EGRSTATUSPAGESIZE(1)) ? 128 : 64;
116 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
117 struct csio_sge *sge = &wrm->sge;
189 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
191 int free_idx = wrm->free_qidx;
196 if (free_idx >= wrm->num_q) {
233 q = wrm->q_arr[free_idx];
249 wrm->free_qidx++;
278 flq = wrm->q_arr[q->un.iq.flq_idx];
359 iq_id = iqp.iqid - hw->wrm
760 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
786 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
860 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
978 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1043 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1129 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1263 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1306 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1358 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1380 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1449 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1568 csio_wrm_init(struct csio_wrm *wrm, struct csio_hw *hw) argument
1609 csio_wrm_exit(struct csio_wrm *wrm, struct csio_hw *hw) argument
[all...]
H A Dcsio_hw.h433 struct csio_wrm wrm; /* Work request module*/ member in struct:csio_hw
574 #define csio_hw_to_wrm(hw) ((struct csio_wrm *)(&(hw)->wrm))
H A Dcsio_init.c475 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
478 wrm->num_q = ((CSIO_MAX_SCSI_QSETS * 2) + CSIO_HW_NIQ +
H A Dcsio_isr.c430 struct csio_q *q = hw->wrm.q_arr[sqset->iq_idx];
H A Dcsio_hw.c1440 struct csio_wrm *wrm = csio_hw_to_wrm(hw); local
1490 wrm->fw_eq_start = param[2];
1491 wrm->fw_iq_start = param[4];
/drivers/staging/bcm/
H A DInterfaceDld.c252 retval = wrm(Adapter, u32StartingAddress, mappedbuffer, len);
H A DPrototypes.h80 int wrm(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t size);
H A Dnvm.c648 if (wrm(Adapter, FLASH_SPI_WRITEQ_REG, (PCHAR)&ulData, 4) < 0) {
728 if (wrm(Adapter, uiOffset, (PCHAR)pData, MAX_RW_SIZE) < 0) {
750 * currently one rdm/wrm takes 125 us.
804 if (wrm(Adapter, FLASH_SPI_WRITEQ_REG, (PCHAR)&ulData, 4) < 0) {
881 if (wrm(Adapter, uiOffset, (PCHAR)pData, MAX_RW_SIZE) < 0) {
902 * currently one rdm/wrm takes 125 us.
1462 Status = wrm(Adapter, uiMemoryLoc, (PCHAR)pPtr, uiBytesToCopy);
1464 BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "wrm failed with status :%d", Status);
1609 wrm(Adapter, EEPROM_WRITE_DATAQ_REG, (PUCHAR)&value, 4);
1613 wrm(Adapte
[all...]
H A DMisc.c1200 int wrm(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, PCHAR pucBuff, size_t sSize) function
1212 return wrm(Adapter, uiAddress, (PUCHAR)pucBuff, size);
1239 status = wrm(Adapter, uiAddress, pucBuff, sSize);
H A DCmHost.c1437 ret = wrm(Adapter, ulAddrSFParamSet, (u8 *)pucSrcBuffer, nBytesToWrite);

Completed in 288 milliseconds