Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/char/tpm/
Dtpm-dev-common.c129 ssize_t ret_size = 0; in tpm_common_read() local
137 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
138 if (ret_size <= 0) { in tpm_common_read()
143 rc = copy_to_user(buf, priv->data_buffer + *off, ret_size); in tpm_common_read()
147 ret_size = -EFAULT; in tpm_common_read()
149 memset(priv->data_buffer + *off, 0, ret_size); in tpm_common_read()
150 priv->response_length -= ret_size; in tpm_common_read()
151 *off += ret_size; in tpm_common_read()
162 return ret_size; in tpm_common_read()
/linux-5.19.10/arch/powerpc/boot/
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-5.19.10/drivers/hid/i2c-hid/
Di2c-hid-core.c510 u16 ret_size; in i2c_hid_get_input() local
527 ret_size = le16_to_cpup((__le16 *)ihid->inbuf); in i2c_hid_get_input()
528 if (!ret_size) { in i2c_hid_get_input()
535 if ((ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ) && ret_size == 0xffff) { in i2c_hid_get_input()
542 if (ret_size > size || ret_size < sizeof(__le16)) { in i2c_hid_get_input()
545 ret_size = size; in i2c_hid_get_input()
549 __func__, size, ret_size); in i2c_hid_get_input()
554 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input()
561 ret_size - sizeof(__le16), 1); in i2c_hid_get_input()
/linux-5.19.10/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1290 int ret_size; in wilc_wlan_cfg_set() local
1299 ret_size = wilc_wlan_cfg_set_wid(wilc->cfg_frame.frame, offset, in wilc_wlan_cfg_set()
1301 offset += ret_size; in wilc_wlan_cfg_set()
1306 return ret_size; in wilc_wlan_cfg_set()
1312 ret_size = 0; in wilc_wlan_cfg_set()
1317 ret_size = 0; in wilc_wlan_cfg_set()
1324 return ret_size; in wilc_wlan_cfg_set()
1331 int ret_size; in wilc_wlan_cfg_get() local
1340 ret_size = wilc_wlan_cfg_get_wid(wilc->cfg_frame.frame, offset, wid); in wilc_wlan_cfg_get()
1341 offset += ret_size; in wilc_wlan_cfg_get()
[all …]
/linux-5.19.10/drivers/net/ethernet/marvell/prestera/
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-5.19.10/include/linux/
Dbtf.h84 u32 *ret_size);
Dbpf.h724 u8 ret_size; member
/linux-5.19.10/arch/x86/net/
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-5.19.10/drivers/gpu/drm/bridge/
Dite-it6505.c1068 int i, ret_size, ret = 0, request_size; in it6505_aux_do_transfer() local
1073 ret_size = it6505_aux_operation(it6505, cmd, address + i, in it6505_aux_do_transfer()
1076 if (ret_size < 0) { in it6505_aux_do_transfer()
1077 ret = ret_size; in it6505_aux_do_transfer()
1081 ret += ret_size; in it6505_aux_do_transfer()
/linux-5.19.10/kernel/bpf/
Dbpf_struct_ops.c344 flags = model->ret_size > 0 ? BPF_TRAMP_F_RET_FENTRY_RET : 0; in bpf_struct_ops_prepare_trampoline()
Dbtf.c1921 u32 *type_id, u32 *ret_size) in btf_type_id_size() argument
1957 if (ret_size) in btf_type_id_size()
1958 *ret_size = size; in btf_type_id_size()
5794 m->ret_size = 8; in btf_distill_func_proto()
5813 m->ret_size = ret; in btf_distill_func_proto()
/linux-5.19.10/sound/pci/hda/
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-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c6318 unsigned int *ret_size) in patch_name_tbd() argument
6329 *ret_size = 0; in patch_name_tbd()
6351 *ret_size = raw_u32_size; in patch_name_tbd()