Home
last modified time | relevance | path

Searched refs:w_sz (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_ctrl_mbox.c142 memcpy_toio(qbuf, buf, w_sz); in octep_write_mbox_data()
143 *pi = octep_ctrl_mbox_circq_inc(*pi, w_sz, q->sz); in octep_write_mbox_data()
146 cp_sz = min((q->sz - *pi), w_sz); in octep_write_mbox_data()
148 w_sz -= cp_sz; in octep_write_mbox_data()
150 if (w_sz) { in octep_write_mbox_data()
154 memcpy_toio(qbuf, buf, w_sz); in octep_write_mbox_data()
155 *pi = octep_ctrl_mbox_circq_inc(*pi, w_sz, q->sz); in octep_write_mbox_data()
164 u32 pi, ci, buf_sz, w_sz; in octep_ctrl_mbox_send() local
187 w_sz = (sg->sz <= buf_sz) ? sg->sz : buf_sz; in octep_ctrl_mbox_send()
188 octep_write_mbox_data(q, &pi, ci, sg->msg, w_sz); in octep_ctrl_mbox_send()
[all …]
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl8712_xmit.c688 int t, sz, w_sz; in dump_xframe() local
711 w_sz = sz + TXDESC_SIZE; in dump_xframe()
716 r8712_write_port(padapter, RTL8712_DMA_H2CCMD, w_sz, in dump_xframe()
719 r8712_write_port(padapter, ff_hwaddr, w_sz, in dump_xframe()
722 mem_addr += w_sz; in dump_xframe()