Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.c136 u32 cp_sz; in octep_write_mbox_data() local
146 cp_sz = min((q->sz - *pi), w_sz); in octep_write_mbox_data()
147 memcpy_toio(qbuf, buf, cp_sz); in octep_write_mbox_data()
148 w_sz -= cp_sz; in octep_write_mbox_data()
149 *pi = octep_ctrl_mbox_circq_inc(*pi, cp_sz, q->sz); in octep_write_mbox_data()
152 buf += cp_sz; in octep_write_mbox_data()
201 u32 cp_sz; in octep_read_mbox_data() local
211 cp_sz = min((q->sz - *ci), r_sz); in octep_read_mbox_data()
212 memcpy_fromio(buf, qbuf, cp_sz); in octep_read_mbox_data()
213 r_sz -= cp_sz; in octep_read_mbox_data()
[all …]
/linux-6.6.21/arch/loongarch/kernel/
Dptrace.c264 unsigned int cp_sz, pad_sz; in copy_pad_fprs() local
266 cp_sz = min(regset->size, live_sz); in copy_pad_fprs()
267 pad_sz = regset->size - cp_sz; in copy_pad_fprs()
271 membuf_write(to, &target->thread.fpu.fpr[i], cp_sz); in copy_pad_fprs()
314 unsigned int cp_sz; in simd_set() local
326 cp_sz = min_t(unsigned int, regset->size, in simd_set()
333 start, start + cp_sz); in simd_set()
/linux-6.6.21/arch/mips/kernel/
Dptrace.c609 unsigned int cp_sz, pad_sz; in copy_pad_fprs() local
611 cp_sz = min(regset->size, live_sz); in copy_pad_fprs()
612 pad_sz = regset->size - cp_sz; in copy_pad_fprs()
616 membuf_write(to, &target->thread.fpu.fpr[i], cp_sz); in copy_pad_fprs()
659 unsigned int cp_sz; in msa_set() local
671 cp_sz = min_t(unsigned int, regset->size, in msa_set()
678 start, start + cp_sz); in msa_set()