Searched refs:wrm (Results 1 – 11 of 11) sorted by relevance
/drivers/scsi/csiostor/ |
D | csio_wr.h | 452 #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.q_arr[(__idx)]->portid) [all …]
|
D | csio_wr.c | 74 return (hw->wrm.sge.sge_control & EGRSTATUSPAGESIZE(1)) ? 128 : 64; in csio_wr_qstat_pgsz() 116 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_wr_fill_fl() local 117 struct csio_sge *sge = &wrm->sge; in csio_wr_fill_fl() 189 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_wr_alloc_q() local 191 int free_idx = wrm->free_qidx; in csio_wr_alloc_q() 196 if (free_idx >= wrm->num_q) { in csio_wr_alloc_q() 233 q = wrm->q_arr[free_idx]; in csio_wr_alloc_q() 249 wrm->free_qidx++; in csio_wr_alloc_q() 278 flq = wrm->q_arr[q->un.iq.flq_idx]; in csio_wr_alloc_q() 359 iq_id = iqp.iqid - hw->wrm.fw_iq_start; in csio_wr_iq_create_rsp() [all …]
|
D | csio_hw.h | 433 struct csio_wrm wrm; /* Work request module*/ member 574 #define csio_hw_to_wrm(hw) ((struct csio_wrm *)(&(hw)->wrm))
|
D | csio_init.c | 475 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_resource_alloc() local 478 wrm->num_q = ((CSIO_MAX_SCSI_QSETS * 2) + CSIO_HW_NIQ + in csio_resource_alloc()
|
D | csio_isr.c | 430 struct csio_q *q = hw->wrm.q_arr[sqset->iq_idx]; in csio_request_irqs()
|
D | csio_hw.c | 1440 struct csio_wrm *wrm = csio_hw_to_wrm(hw); in csio_get_device_params() local 1490 wrm->fw_eq_start = param[2]; in csio_get_device_params() 1491 wrm->fw_iq_start = param[4]; in csio_get_device_params()
|
/drivers/staging/bcm/ |
D | nvm.c | 648 if (wrm(Adapter, FLASH_SPI_WRITEQ_REG, (PCHAR)&ulData, 4) < 0) { in flashByteWrite() 728 if (wrm(Adapter, uiOffset, (PCHAR)pData, MAX_RW_SIZE) < 0) { in flashWrite() 804 if (wrm(Adapter, FLASH_SPI_WRITEQ_REG, (PCHAR)&ulData, 4) < 0) { in flashByteWriteStatus() 881 if (wrm(Adapter, uiOffset, (PCHAR)pData, MAX_RW_SIZE) < 0) { in flashWriteStatus() 1462 Status = wrm(Adapter, uiMemoryLoc, (PCHAR)pPtr, uiBytesToCopy); in PropagateCalParamsFromFlashToMemory() 1609 wrm(Adapter, EEPROM_WRITE_DATAQ_REG, (PUCHAR)&value, 4); in BeceemEEPROMWritePage() 1613 wrm(Adapter, EEPROM_WRITE_DATAQ_REG, (PUCHAR)&value, 4); in BeceemEEPROMWritePage() 1617 wrm(Adapter, EEPROM_WRITE_DATAQ_REG, (PUCHAR)&value, 4); in BeceemEEPROMWritePage() 1621 wrm(Adapter, EEPROM_WRITE_DATAQ_REG, (PUCHAR)&value, 4); in BeceemEEPROMWritePage() 1904 wrm(Adapter, (uiMemoryLoc+uiIndex), (PCHAR)(pBuffer + (uiIndex / 4)), BUFFER_4K); in BeceemNVMWrite() [all …]
|
D | InterfaceDld.c | 252 retval = wrm(Adapter, u32StartingAddress, mappedbuffer, len); in buffDnld()
|
D | Prototypes.h | 80 int wrm(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t size);
|
D | Misc.c | 1200 int wrm(struct bcm_mini_adapter *Adapter, unsigned int uiAddress, PCHAR pucBuff, size_t sSize) in wrm() function 1212 return wrm(Adapter, uiAddress, (PUCHAR)pucBuff, size); in wrmalt() 1239 status = wrm(Adapter, uiAddress, pucBuff, sSize); in wrmWithLock()
|
D | CmHost.c | 1437 ret = wrm(Adapter, ulAddrSFParamSet, (u8 *)pucSrcBuffer, nBytesToWrite); in StoreSFParam()
|