Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nfc/st95hf/
Dcore.c650 int res_len) in st95hf_error_handling() argument
669 error_byte = skb_resp->data[res_len - 3]; in st95hf_error_handling()
680 error_byte = skb_resp->data[res_len - 1]; in st95hf_error_handling()
695 int res_len) in st95hf_response_handler() argument
707 skb_put(skb_resp, res_len); in st95hf_response_handler()
769 int res_len; in st95hf_irq_thread_handler() local
802 res_len = st95hf_spi_recv_response(&stcontext->spicontext, in st95hf_irq_thread_handler()
804 if (res_len < 0) { in st95hf_irq_thread_handler()
805 dev_err(spidevice, "TISR spi response err = 0x%x\n", res_len); in st95hf_irq_thread_handler()
806 result = res_len; in st95hf_irq_thread_handler()
[all …]
/linux-6.12.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-6.12.1/drivers/scsi/mvsas/
Dmv_init.c279 unsigned long res_start, res_len, res_flag_ex = 0; in mvs_ioremap() local
286 res_len = pci_resource_len(pdev, bar_ex); in mvs_ioremap()
287 if (!res_start || !res_len) in mvs_ioremap()
292 mvi->regs_ex = ioremap(res_start, res_len); in mvs_ioremap()
300 res_len = pci_resource_len(pdev, bar); in mvs_ioremap()
301 if (!res_start || !res_len) { in mvs_ioremap()
307 mvi->regs = ioremap(res_start, res_len); in mvs_ioremap()
/linux-6.12.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()
841 size_t res_len = 0; in wl1271_cmd_test() local
846 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-6.12.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-6.12.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-6.12.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-6.12.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()
272 param.res_len = hw->hw_info.res_buf_size; in fjes_hw_setup()
Dfjes_main.c472 param.res_len = hw->hw_info.res_buf_size; in fjes_free_resources()
/linux-6.12.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-6.12.1/drivers/pci/switch/
Dswitchtec.c1570 unsigned long res_start, res_len; in switchtec_init_pci() local
1584 res_len = pci_resource_len(pdev, 0); in switchtec_init_pci()
1587 res_len, KBUILD_MODNAME)) in switchtec_init_pci()
1597 res_len - SWITCHTEC_GAS_TOP_CFG_OFFSET); in switchtec_init_pci()