Home
last modified time | relevance | path

Searched refs:ret_size (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/char/tpm/
A Dtpm-dev-common.c123 ssize_t ret_size = 0; in tpm_common_read() local
131 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
132 if (ret_size <= 0) { in tpm_common_read()
137 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read()
141 ret_size = -EFAULT; in tpm_common_read()
143 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read()
144 priv->response_length -= ret_size; in tpm_common_read()
145 *off += ret_size; in tpm_common_read()
156 return ret_size; in tpm_common_read()
/linux/arch/powerpc/boot/
A Ddevtree.c243 u64 ret_addr, ret_size; in dt_xlate() local
263 ret_size = be32_to_cpu(prop_buf[offset + naddr]); in dt_xlate()
265 ret_size <<= 32; in dt_xlate()
266 ret_size |= be32_to_cpu(prop_buf[offset + naddr + 1]); in dt_xlate()
308 (ret_addr >= 0x100000000ULL || ret_size > 0x100000000ULL || in dt_xlate()
309 ret_addr + ret_size > 0x100000000ULL)) in dt_xlate()
314 *size = ret_size; in dt_xlate()
/linux/drivers/hid/i2c-hid/
A Di2c-hid-core.c480 u32 ret_size; in i2c_hid_get_input() local
496 ret_size = ihid->inbuf[0] | ihid->inbuf[1] << 8; in i2c_hid_get_input()
498 if (!ret_size) { in i2c_hid_get_input()
505 if (ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ && ret_size == 0xffff) { in i2c_hid_get_input()
511 if ((ret_size > size) || (ret_size < 2)) { in i2c_hid_get_input()
515 ret_size = size; in i2c_hid_get_input()
518 __func__, size, ret_size); in i2c_hid_get_input()
523 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input()
527 ret_size - 2, 1); in i2c_hid_get_input()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dwlan.c1291 int ret_size; in wilc_wlan_cfg_set() local
1302 offset += ret_size; in wilc_wlan_cfg_set()
1307 return ret_size; in wilc_wlan_cfg_set()
1313 ret_size = 0; in wilc_wlan_cfg_set()
1318 ret_size = 0; in wilc_wlan_cfg_set()
1325 return ret_size; in wilc_wlan_cfg_set()
1332 int ret_size; in wilc_wlan_cfg_get() local
1347 return ret_size; in wilc_wlan_cfg_get()
1351 ret_size = 0; in wilc_wlan_cfg_get()
1356 ret_size = 0; in wilc_wlan_cfg_get()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_pci.c375 u32 ret_size; in prestera_fw_cmd_send() local
406 ret_size = prestera_fw_read(fw, PRESTERA_CMDQ_RCV_LEN_REG(qid)); in prestera_fw_cmd_send()
407 if (ret_size > out_size) { in prestera_fw_cmd_send()
409 ret_size, out_size); in prestera_fw_cmd_send()
415 prestera_fw_cmdq_buf(fw, qid) + in_size, ret_size); in prestera_fw_cmd_send()
/linux/include/linux/
A Dbtf.h53 u32 *ret_size);
A Dbpf.h572 u8 ret_size; member
/linux/arch/x86/net/
A Dbpf_jit_comp32.c1624 if (fm->ret_size > sizeof(u32)) in emit_kfunc_call()
1628 if (fm->ret_size) in emit_kfunc_call()
1640 if (fm->ret_size) in emit_kfunc_call()
1645 if (fm->ret_size > sizeof(u32)) in emit_kfunc_call()
/linux/kernel/bpf/
A Dbpf_struct_ops.c327 flags = model->ret_size > 0 ? BPF_TRAMP_F_RET_FENTRY_RET : 0; in bpf_struct_ops_prepare_trampoline()
A Dbtf.c1811 u32 *type_id, u32 *ret_size) in btf_type_id_size() argument
1847 if (ret_size) in btf_type_id_size()
1848 *ret_size = size; in btf_type_id_size()
5369 m->ret_size = 8; in btf_distill_func_proto()
5388 m->ret_size = ret; in btf_distill_func_proto()
/linux/sound/pci/hda/
A Dpatch_ca0132.c2361 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local
2410 ret_size = (ret_bytes - sizeof(scp_reply.hdr)) in dspio_scp()
2413 if (*reply_len < ret_size*sizeof(unsigned int)) { in dspio_scp()
2416 } else if (ret_size != reply_data_size) { in dspio_scp()
2423 *reply_len = ret_size*sizeof(unsigned int); in dspio_scp()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbtf.c6186 unsigned int *ret_size) in patch_name_tbd() argument
6197 *ret_size = 0; in patch_name_tbd()
6219 *ret_size = raw_u32_size; in patch_name_tbd()

Completed in 61 milliseconds