Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1291 int ret_size; in wilc_wlan_cfg_set() local
1300 ret_size = wilc_wlan_cfg_set_wid(wilc->cfg_frame.frame, offset, in wilc_wlan_cfg_set()
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
1341 ret_size = wilc_wlan_cfg_get_wid(wilc->cfg_frame.frame, offset, wid); in wilc_wlan_cfg_get()
1342 offset += ret_size; in wilc_wlan_cfg_get()
[all …]
/Linux-v6.6/drivers/hid/i2c-hid/
Di2c-hid-core.c507 u16 ret_size; in i2c_hid_get_input() local
524 ret_size = le16_to_cpup((__le16 *)ihid->inbuf); in i2c_hid_get_input()
525 if (!ret_size) { in i2c_hid_get_input()
532 if ((ihid->quirks & I2C_HID_QUIRK_BOGUS_IRQ) && ret_size == 0xffff) { in i2c_hid_get_input()
539 if (ret_size > size || ret_size < sizeof(__le16)) { in i2c_hid_get_input()
542 ret_size = size; in i2c_hid_get_input()
546 __func__, size, ret_size); in i2c_hid_get_input()
551 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input()
559 ret_size - sizeof(__le16), 1); in i2c_hid_get_input()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_pci.c386 u32 ret_size; in prestera_fw_cmd_send() local
417 ret_size = prestera_fw_read(fw, PRESTERA_CMDQ_RCV_LEN_REG(qid)); in prestera_fw_cmd_send()
418 if (ret_size > out_size) { in prestera_fw_cmd_send()
420 ret_size, out_size); in prestera_fw_cmd_send()
426 prestera_fw_cmdq_buf(fw, qid) + in_size, ret_size); in prestera_fw_cmd_send()
/Linux-v6.6/drivers/fpga/
Dfpga-mgr.c214 struct sg_table *sgt, size_t *ret_size) in fpga_mgr_parse_header_sg() argument
256 *ret_size = header_size; in fpga_mgr_parse_header_sg()
/Linux-v6.6/include/linux/
Dbtf.h158 u32 *ret_size);
Dbpf.h995 u8 ret_size; member
/Linux-v6.6/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-v6.6/drivers/gpu/drm/bridge/
Dite-it6505.c1075 int i, ret_size, ret = 0, request_size; in it6505_aux_do_transfer() local
1080 ret_size = it6505_aux_operation(it6505, cmd, address + i, in it6505_aux_do_transfer()
1083 if (ret_size < 0) { in it6505_aux_do_transfer()
1084 ret = ret_size; in it6505_aux_do_transfer()
1088 ret += ret_size; in it6505_aux_do_transfer()
/Linux-v6.6/kernel/bpf/
Dbpf_struct_ops.c364 flags = model->ret_size > 0 ? BPF_TRAMP_F_RET_FENTRY_RET : 0; in bpf_struct_ops_prepare_trampoline()
Dbtf.c1976 u32 *type_id, u32 *ret_size) in btf_type_id_size() argument
2012 if (ret_size) in btf_type_id_size()
2013 *ret_size = size; in btf_type_id_size()
6567 m->ret_size = 8; in btf_distill_func_proto()
6587 m->ret_size = ret; in btf_distill_func_proto()
/Linux-v6.6/sound/pci/hda/
Dpatch_ca0132.c2363 unsigned int ret_bytes, send_size, ret_size; in dspio_scp() local
2412 ret_size = (ret_bytes - sizeof(scp_reply.hdr)) in dspio_scp()
2415 if (*reply_len < ret_size*sizeof(unsigned int)) { in dspio_scp()
2418 } else if (ret_size != reply_data_size) { in dspio_scp()
2425 *reply_len = ret_size*sizeof(unsigned int); in dspio_scp()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf.c6427 unsigned int *ret_size) in patch_name_tbd() argument
6438 *ret_size = 0; in patch_name_tbd()
6460 *ret_size = raw_u32_size; in patch_name_tbd()
/Linux-v6.6/arch/s390/net/
Dbpf_jit_comp.c2158 if (sign_extend(jit, REG_2, m->ret_size, m->ret_flags)) in invoke_bpf_prog()