Home
last modified time | relevance | path

Searched refs:wr_sz (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/rtl8712/
Drtl8712_cmd.c257 unsigned int cmdsz, wr_sz; in r8712_cmd_thread() local
292 wr_sz = TXDESC_SIZE + 8 + cmdsz; in r8712_cmd_thread()
293 pdesc->txdw0 |= cpu_to_le32((wr_sz - TXDESC_SIZE) & in r8712_cmd_thread()
296 if ((wr_sz % 512) == 0) in r8712_cmd_thread()
299 if ((wr_sz % 64) == 0) in r8712_cmd_thread()
322 wr_sz += 8; /* Append 8 bytes */ in r8712_cmd_thread()
323 r8712_write_mem(padapter, RTL8712_DMA_H2CCMD, wr_sz, in r8712_cmd_thread()
/drivers/scsi/csiostor/
Dcsio_wr.c249 q->wr_sz = wrsize; /* If using fixed size WRs */ in csio_wr_alloc_q()
261 q->credits = (qsz - q->wr_sz) / q->wr_sz; in csio_wr_alloc_q()
263 - q->wr_sz); in csio_wr_alloc_q()
776 (i * q->wr_sz)); in csio_wr_cleanup_iq_ftr()
779 (q->wr_sz - sizeof(*ftr))); in csio_wr_cleanup_iq_ftr()
1092 iq_handler(hw, wr, q->wr_sz - sizeof(struct csio_iqwr_footer), in csio_wr_process_fl()
1135 void *wr = (void *)((uintptr_t)q->vstart + (q->cidx * q->wr_sz)); in csio_wr_process_iq()
1145 (q->wr_sz - sizeof(*ftr))); in csio_wr_process_iq()
1153 CSIO_DB_ASSERT(((uintptr_t)wr + q->wr_sz) <= in csio_wr_process_iq()
1161 iq_handler(hw, wr, q->wr_sz - sizeof(*ftr), NULL, priv); in csio_wr_process_iq()
[all …]
Dcsio_wr.h398 uint32_t wr_sz; /* Size of all WRs in this q member
462 #define csio_q_wr_sz(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->wr_sz)