/linux-6.12.1/drivers/mmc/core/ |
D | mmc_ops.h | 42 unsigned int timeout_ms); 44 unsigned int timeout_ms, 47 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, 50 unsigned int timeout_ms, unsigned char timing, 53 unsigned int timeout_ms); 57 int mmc_sanitize(struct mmc_card *card, unsigned int timeout_ms);
|
D | mmc_ops.c | 503 unsigned int timeout_ms, in __mmc_poll_for_busy() argument 513 timeout = jiffies + msecs_to_jiffies(timeout_ms) + 1; in __mmc_poll_for_busy() 544 int mmc_poll_for_busy(struct mmc_card *card, unsigned int timeout_ms, in mmc_poll_for_busy() argument 554 return __mmc_poll_for_busy(host, 0, timeout_ms, &mmc_busy_cb, &cb_data); in mmc_poll_for_busy() 559 unsigned int timeout_ms) in mmc_prepare_busy_cmd() argument 569 (timeout_ms > host->max_busy_timeout)) { in mmc_prepare_busy_cmd() 575 cmd->busy_timeout = timeout_ms; in mmc_prepare_busy_cmd() 596 unsigned int timeout_ms, unsigned char timing, in __mmc_switch() argument 607 if (!timeout_ms) { in __mmc_switch() 610 timeout_ms = card->ext_csd.generic_cmd6_time; in __mmc_switch() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | network_helpers.h | 25 int timeout_ms; member 57 int settimeo(int fd, int timeout_ms); 61 int timeout_ms); 63 __u16 port, int timeout_ms, 74 int connect_to_fd(int server_fd, int timeout_ms); 76 int connect_fd_to_fd(int client_fd, int server_fd, int timeout_ms); 78 int timeout_ms);
|
D | network_helpers.c | 71 int settimeo(int fd, int timeout_ms) in settimeo() argument 75 if (timeout_ms > 0) { in settimeo() 76 timeout.tv_sec = timeout_ms / 1000; in settimeo() 77 timeout.tv_usec = (timeout_ms % 1000) * 1000; in settimeo() 111 if (settimeo(fd, opts->timeout_ms)) in start_server_addr() 155 int timeout_ms) in start_server() argument 158 .timeout_ms = timeout_ms, in start_server() 172 __u16 port, int timeout_ms, unsigned int nr_listens) in start_reuseport_server() argument 175 .timeout_ms = timeout_ms, in start_reuseport_server() 224 int timeout_ms) in fastopen_connect() argument [all …]
|
/linux-6.12.1/drivers/power/reset/ |
D | gpio-poweroff.c | 24 u32 timeout_ms; member 45 mdelay(gpio_poweroff->timeout_ms); in gpio_poweroff_do_poweroff() 73 gpio_poweroff->timeout_ms = DEFAULT_TIMEOUT_MS; in gpio_poweroff_probe() 78 device_property_read_u32(&pdev->dev, "timeout-ms", &gpio_poweroff->timeout_ms); in gpio_poweroff_probe()
|
/linux-6.12.1/drivers/gpu/drm/i915/selftests/ |
D | i915_selftest.c | 36 .timeout_ms = 500, 150 unsigned long timeout_ms = 8000; in __wait_gsc_proxy_completed() local 153 timeout_ms)) in __wait_gsc_proxy_completed() 174 unsigned long timeout_ms = 15000; in __wait_gsc_huc_load_completed() local 177 wait_for(i915_sw_fence_done(&huc->delayed_load.fence), timeout_ms)) in __wait_gsc_huc_load_completed() 192 i915_selftest.timeout_ms ? in __run_selftests() 193 msecs_to_jiffies_timeout(i915_selftest.timeout_ms) : in __run_selftests() 199 name, i915_selftest.random_seed, i915_selftest.timeout_ms); in __run_selftests() 489 module_param_named(st_timeout, i915_selftest.timeout_ms, uint, 0400);
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 92 static void do_poll(int fd, int timeout_ms) in do_poll() argument 108 if (!timeout_ms) in do_poll() 111 timeout_ms -= 10; in do_poll() 112 if (timeout_ms <= 0) { in do_poll() 356 int timeout_ms = cfg_tcp ? cfg_rcv_timeout_ms : cfg_connect_timeout_ms; in do_recv() local 370 do_poll(fd, timeout_ms); in do_recv() 388 timeout_ms = cfg_rcv_timeout_ms; in do_recv()
|
D | lib.sh | 65 local timeout_ms=$1; shift 77 if ((current_time - start_time > timeout_ms)); then 88 local timeout_ms=$1; shift 90 loopy_wait : "$timeout_ms" "$@"
|
/linux-6.12.1/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp_debugfs.c | 49 int timeout_ms; in pxp_terminate_set() local 59 timeout_ms = intel_pxp_get_backend_timeout_ms(pxp); in pxp_terminate_set() 62 msecs_to_jiffies(timeout_ms))) in pxp_terminate_set()
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_intr.c | 14 int mtk_vcodec_wait_for_done_ctx(void *priv, int command, unsigned int timeout_ms, in mtk_vcodec_wait_for_done_ctx() argument 46 timeout_jiff = msecs_to_jiffies(timeout_ms); in mtk_vcodec_wait_for_done_ctx() 54 ctx_id, command, ctx_type, timeout_ms, in mtk_vcodec_wait_for_done_ctx()
|
/linux-6.12.1/tools/lib/api/ |
D | io.h | 29 int timeout_ms; member 42 io->timeout_ms = 0; in io__init() 54 if (io->timeout_ms != 0) { in io__fill_buffer() 62 n = poll(pfds, 1, io->timeout_ms); in io__fill_buffer()
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_debugfs.c | 58 int timeout_ms = jiffies_to_msecs(rq->timeout); in scsi_show_rq() local 69 timeout_ms / 1000, timeout_ms % 1000, in scsi_show_rq()
|
/linux-6.12.1/drivers/bus/mhi/host/ |
D | pm.c | 176 u32 timeout_ms; in mhi_ready_state_transition() local 188 mhi_cntrl->timeout_ms); in mhi_ready_state_transition() 194 timeout_ms = mhi_cntrl->ready_timeout_ms ? in mhi_ready_state_transition() 195 mhi_cntrl->ready_timeout_ms : mhi_cntrl->timeout_ms; in mhi_ready_state_transition() 198 timeout_ms); in mhi_ready_state_transition() 498 MHICTRL_RESET_MASK, 0, 25000, mhi_cntrl->timeout_ms); in mhi_pm_disable_transition() 512 1, 25000, mhi_cntrl->timeout_ms); in mhi_pm_disable_transition() 636 unsigned long timeout = msecs_to_jiffies(mhi_cntrl->timeout_ms); in mhi_pm_sys_error_transition() 872 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_pm_suspend() 911 msecs_to_jiffies(mhi_cntrl->timeout_ms)); in mhi_pm_suspend() [all …]
|
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_ipc.h | 103 unsigned long timeout_ms); 107 u32 channel, unsigned long timeout_ms); 110 u32 channel, unsigned long timeout_ms);
|
D | ivpu_ipc.c | 249 struct vpu_jsm_msg *jsm_msg, unsigned long timeout_ms) in ivpu_ipc_receive() argument 259 msecs_to_jiffies(timeout_ms)); in ivpu_ipc_receive() 298 unsigned long timeout_ms) in ivpu_ipc_send_receive_internal() argument 311 ret = ivpu_ipc_receive(vdev, &cons, NULL, resp, timeout_ms); in ivpu_ipc_send_receive_internal() 330 u32 channel, unsigned long timeout_ms) in ivpu_ipc_send_receive_active() argument 338 ret = ivpu_ipc_send_receive_internal(vdev, req, expected_resp, resp, channel, timeout_ms); in ivpu_ipc_send_receive_active() 353 u32 channel, unsigned long timeout_ms) in ivpu_ipc_send_receive() argument 361 ret = ivpu_ipc_send_receive_active(vdev, req, expected_resp, resp, channel, timeout_ms); in ivpu_ipc_send_receive()
|
/linux-6.12.1/include/uapi/linux/ |
D | nvme_ioctl.h | 44 __u32 timeout_ms; member 68 __u32 timeout_ms; member 91 __u32 timeout_ms; member
|
/linux-6.12.1/tools/lib/bpf/ |
D | ringbuf.c | 336 int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms) in ring_buffer__poll() argument 341 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll() 629 void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb, __u32 size, int timeout_ms) in user_ring_buffer__reserve_blocking() argument 632 int err, ms_remaining = timeout_ms; in user_ring_buffer__reserve_blocking() 635 if (timeout_ms < 0 && timeout_ms != -1) in user_ring_buffer__reserve_blocking() 638 if (timeout_ms != -1) { in user_ring_buffer__reserve_blocking() 670 if (timeout_ms == -1) in user_ring_buffer__reserve_blocking() 678 ms_remaining = timeout_ms - ms_elapsed; in user_ring_buffer__reserve_blocking()
|
/linux-6.12.1/drivers/firmware/arm_scmi/ |
D | scmi_power_control.c | 214 unsigned int timeout_ms) in scmi_request_graceful_transition() argument 218 if (timeout_ms) { in scmi_request_graceful_transition() 225 adj_timeout_ms = mult_frac(timeout_ms, 3, 4); in scmi_request_graceful_transition() 239 sc->required_transition, timeout_ms, adj_timeout_ms); in scmi_request_graceful_transition()
|
/linux-6.12.1/include/trace/events/ |
D | ib_umad.h | 28 __field(u32, timeout_ms) 58 __entry->timeout_ms = umad_hdr->timeout_ms; 93 __entry->id, __entry->status, __entry->timeout_ms,
|
/linux-6.12.1/include/drm/intel/ |
D | i915_pxp_tee_interface.h | 26 unsigned long timeout_ms); 31 unsigned long timeout_ms);
|
/linux-6.12.1/drivers/misc/mei/pxp/ |
D | mei_pxp.c | 63 mei_pxp_send_message(struct device *dev, const void *message, size_t size, unsigned long timeout_ms) in mei_pxp_send_message() argument 74 byte = mei_cldev_send_timeout(cldev, message, size, timeout_ms); in mei_pxp_send_message() 113 mei_pxp_receive_message(struct device *dev, void *buffer, size_t size, unsigned long timeout_ms) in mei_pxp_receive_message() argument 126 byte = mei_cldev_recv_timeout(cldev, buffer, size, timeout_ms); in mei_pxp_receive_message()
|
/linux-6.12.1/tools/testing/selftests/sched_ext/ |
D | hotplug.bpf.c | 53 .timeout_ms = 1000U, 60 .timeout_ms = 1000U,
|
/linux-6.12.1/drivers/watchdog/ |
D | realtek_otto_wdt.c | 128 unsigned int timeout_ms = timeout * 1000; in otto_wdt_determine_timeouts() local 143 total_ticks = div_round_ticks(timeout_ms, tick_ms, 2); in otto_wdt_determine_timeouts() 144 phase1_ticks = div_round_ticks(timeout_ms - pretimeout_ms, tick_ms, 1); in otto_wdt_determine_timeouts() 160 timeout_ms = total_ticks * tick_ms; in otto_wdt_determine_timeouts() 161 ctrl->wdev.timeout = timeout_ms / 1000; in otto_wdt_determine_timeouts()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_pcode.h | 20 int timeout_ms); 25 u32 reply_mask, u32 reply, int timeout_ms);
|
D | xe_pcode.c | 58 unsigned int timeout_ms, bool return_data, in __pcode_mailbox_rw() argument 75 timeout_ms * USEC_PER_MSEC, NULL, atomic); in __pcode_mailbox_rw() 89 unsigned int timeout_ms, bool return_data, in pcode_mailbox_rw() argument 97 return __pcode_mailbox_rw(tile, mbox, data0, data1, timeout_ms, return_data, atomic); in pcode_mailbox_rw()
|