Home
last modified time | relevance | path

Searched refs:res_len (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/drivers/nfc/st95hf/
Dcore.c651 int res_len) in st95hf_error_handling() argument
670 error_byte = skb_resp->data[res_len - 3]; in st95hf_error_handling()
681 error_byte = skb_resp->data[res_len - 1]; in st95hf_error_handling()
696 int res_len) in st95hf_response_handler() argument
708 skb_put(skb_resp, res_len); in st95hf_response_handler()
770 int res_len; in st95hf_irq_thread_handler() local
803 res_len = st95hf_spi_recv_response(&stcontext->spicontext, in st95hf_irq_thread_handler()
805 if (res_len < 0) { in st95hf_irq_thread_handler()
806 dev_err(spidevice, "TISR spi response err = 0x%x\n", res_len); in st95hf_irq_thread_handler()
807 result = res_len; in st95hf_irq_thread_handler()
[all …]
/Linux-v6.1/drivers/media/pci/ddbridge/
Dddbridge-mci.c54 u32 *res, u32 res_len) in _mci_cmd_unlocked() argument
74 if (res && res_len) in _mci_cmd_unlocked()
75 for (i = 0; i < res_len; i++) in _mci_cmd_unlocked()
/Linux-v6.1/drivers/scsi/mvsas/
Dmv_init.c299 unsigned long res_start, res_len, res_flag_ex = 0; in mvs_ioremap() local
306 res_len = pci_resource_len(pdev, bar_ex); in mvs_ioremap()
307 if (!res_start || !res_len) in mvs_ioremap()
312 mvi->regs_ex = ioremap(res_start, res_len); in mvs_ioremap()
320 res_len = pci_resource_len(pdev, bar); in mvs_ioremap()
321 if (!res_start || !res_len) { in mvs_ioremap()
327 mvi->regs = ioremap(res_start, res_len); in mvs_ioremap()
/Linux-v6.1/drivers/char/tpm/
Dtpm_ibmvtpm.c115 len = ibmvtpm->res_len; in tpm_ibmvtpm_recv()
127 ibmvtpm->res_len = 0; in tpm_ibmvtpm_recv()
228 ibmvtpm->res_len = 0; in tpm_ibmvtpm_send()
549 ibmvtpm->res_len = be16_to_cpu(crq->len); in ibmvtpm_crq_process()
Dtpm_ibmvtpm.h42 u16 res_len; member
/Linux-v6.1/drivers/net/wireless/ti/wlcore/
Dcmd.c41 size_t len, size_t res_len) in __wlcore_cmd_send() argument
100 if (res_len == 0) in __wlcore_cmd_send()
101 res_len = sizeof(struct wl1271_cmd_header); in __wlcore_cmd_send()
103 ret = wlcore_read(wl, wl->cmd_box_addr, cmd, res_len, false); in __wlcore_cmd_send()
122 size_t len, size_t res_len, in wlcore_cmd_send_failsafe() argument
125 int ret = __wlcore_cmd_send(wl, id, buf, len, res_len); in wlcore_cmd_send_failsafe()
150 size_t res_len) in wl1271_cmd_send() argument
152 int ret = wlcore_cmd_send_failsafe(wl, id, buf, len, res_len, 0); in wl1271_cmd_send()
832 size_t res_len = 0; in wl1271_cmd_test() local
837 res_len = buf_len; in wl1271_cmd_test()
[all …]
Dcmd.h19 size_t res_len);
33 size_t cmd_len, size_t res_len);
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c107 int res_len; in capture_events() local
118 res_len = NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in capture_events()
126 res_len = recv(fd, buffer, res_len, 0); in capture_events()
127 if (res_len < 0) in capture_events()
128 error(1, res_len, "error on recv() from NL socket"); in capture_events()
132 for (; NLMSG_OK(nh, res_len); nh = NLMSG_NEXT(nh, res_len)) { in capture_events()
/Linux-v6.1/drivers/watchdog/
Dmei_wdt.c414 const size_t res_len = sizeof(res); in mei_wdt_rx() local
417 ret = mei_cldev_recv(wdt->cldev, (u8 *)&res, res_len); in mei_wdt_rx()
/Linux-v6.1/drivers/net/fjes/
Dfjes_hw.h178 u32 res_len; member
Dfjes_hw.c180 wr32(XSCT_RESPBL, (__le32)(param->res_len)); in fjes_hw_init_command_registers()
268 param.res_len = hw->hw_info.res_buf_size; in fjes_hw_setup()
Dfjes_main.c477 param.res_len = hw->hw_info.res_buf_size; in fjes_free_resources()
/Linux-v6.1/drivers/misc/cardreader/
Drtsx_usb.c125 u16 res_len = len - rsp_len; in rtsx_usb_seq_read_register() local
147 for (i = 0; i < res_len; i++) { in rtsx_usb_seq_read_register()
/Linux-v6.1/drivers/pci/switch/
Dswitchtec.c1577 unsigned long res_start, res_len; in switchtec_init_pci() local
1591 res_len = pci_resource_len(pdev, 0); in switchtec_init_pci()
1594 res_len, KBUILD_MODNAME)) in switchtec_init_pci()
1604 res_len - SWITCHTEC_GAS_TOP_CFG_OFFSET); in switchtec_init_pci()