Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.c133 octep_write_mbox_data(struct octep_ctrl_mbox_q *q, u32 *pi, u32 ci, void *buf, u32 w_sz) in octep_write_mbox_data() argument
142 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()
[all …]
/linux-6.12.1/drivers/staging/rtl8712/
Drtl8712_xmit.c676 int t, sz, w_sz; in dump_xframe() local
699 w_sz = sz + TXDESC_SIZE; in dump_xframe()
704 r8712_write_port(padapter, RTL8712_DMA_H2CCMD, w_sz, in dump_xframe()
707 r8712_write_port(padapter, ff_hwaddr, w_sz, in dump_xframe()
710 mem_addr += w_sz; in dump_xframe()