/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 83 unsigned long timeout; in mantis_uart_work() local 96 timeout = jiffies + msecs_to_jiffies(10); in mantis_uart_work() 101 if (!time_is_after_jiffies(timeout)) in mantis_uart_work()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_cmd_v5.c | 20 unsigned long timeout; in s5p_mfc_cmd_host2risc_v5() local 22 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT); in s5p_mfc_cmd_host2risc_v5() 25 if (time_after(jiffies, timeout)) { in s5p_mfc_cmd_host2risc_v5()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | ps.c | 54 unsigned long timeout, start; in wl1251_ps_elp_wakeup() local 65 timeout = jiffies + msecs_to_jiffies(WL1251_WAKEUP_TIMEOUT); in wl1251_ps_elp_wakeup() 76 if (time_after(jiffies, timeout)) { in wl1251_ps_elp_wakeup() 77 wl1251_error("elp wakeup timeout"); in wl1251_ps_elp_wakeup()
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | scan.c | 44 int i, ret, timeout; in send_scan_req() local 59 ret = hif_scan(wvif, req, start_idx, i - start_idx, &timeout); in send_scan_req() 64 ret = wait_for_completion_timeout(&wvif->scan_complete, timeout); in send_scan_req() 69 dev_notice(wvif->wdev->dev, "scan timeout\n"); in send_scan_req()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | nhi_ops.c | 87 static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout) in icl_nhi_lc_mailbox_cmd_complete() argument 92 if (!timeout) in icl_nhi_lc_mailbox_cmd_complete() 95 end = jiffies + msecs_to_jiffies(timeout); in icl_nhi_lc_mailbox_cmd_complete()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | n411.c | 80 int timeout; in n411_wait_for_ack() local 83 timeout = 500; in n411_wait_for_ack() 91 } while (timeout--); in n411_wait_for_ack()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | watchdog.h | 32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds). 68 * @timeout: The watchdog devices timeout value (in seconds). 70 * @min_timeout:The watchdog devices minimum timeout value (in seconds). 71 * @max_timeout:The watchdog devices maximum timeout value (in seconds) 78 * Hardware limit for maximum timeout, in milli-seconds. 102 unsigned int timeout; member 159 /* Use the following function to check if a timeout value is invalid */ 163 * The timeout is invalid if in watchdog_timeout_invalid() 167 * - the requested value is smaller than the configured minimum timeout, in watchdog_timeout_invalid() [all...] |
H A D | key-type.h | 176 unsigned timeout, 183 unsigned timeout, in key_negate_and_link() 187 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); in key_negate_and_link() 182 key_negate_and_link(struct key *key, unsigned timeout, struct key *keyring, struct key *authkey) key_negate_and_link() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix-i2c-dptx.c | 38 unsigned long timeout; in anx_dp_aux_wait() local 42 timeout = jiffies + msecs_to_jiffies(AUX_WAIT_TIMEOUT_MS) + 1; in anx_dp_aux_wait() 45 if (time_after(jiffies, timeout)) { in anx_dp_aux_wait()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_fence.c | 43 ktime_t *timeout, bool interruptible) in msm_wait_fence() 53 if (!timeout) { in msm_wait_fence() 57 unsigned long remaining_jiffies = timeout_to_jiffies(timeout); in msm_wait_fence() 69 DBG("timeout waiting for fence: %u (completed: %u)", in msm_wait_fence() 42 msm_wait_fence(struct msm_fence_context *fctx, uint32_t fence, ktime_t *timeout, bool interruptible) msm_wait_fence() argument
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | bq27xxx_battery_hdq.c | 44 unsigned int timeout = 3; in bq27xxx_battery_hdq_read() local 64 } while (temp != upper && --timeout); in bq27xxx_battery_hdq_read() 66 if (timeout == 0) in bq27xxx_battery_hdq_read()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | intel_atomisp2_pm.c | 38 unsigned long timeout; in isp_set_power() local 51 timeout = jiffies + msecs_to_jiffies(50); in isp_set_power() 62 } while (time_before(jiffies, timeout)); in isp_set_power() 64 dev_err(&dev->dev, "IUNIT power-%s timeout.\n", enable ? "on" : "off"); in isp_set_power()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | rtd119x_wdt.c | 74 data->wdt_dev.timeout = val; in rtd119x_wdt_set_timeout() 116 data->wdt_dev.timeout = 120; in rtd119x_wdt_probe() 126 rtd119x_wdt_set_timeout(&data->wdt_dev, data->wdt_dev.timeout); in rtd119x_wdt_probe()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | key-type.h | 177 unsigned timeout, 184 unsigned timeout, in key_negate_and_link() 188 return key_reject_and_link(key, timeout, ENOKEY, keyring, authkey); in key_negate_and_link() 183 key_negate_and_link(struct key *key, unsigned timeout, struct key *keyring, struct key *authkey) key_negate_and_link() argument
|
H A D | led-class-flash.h | 44 /* set flash timeout */ 45 int (*timeout_set)(struct led_classdev_flash *fled_cdev, u32 timeout); 75 /* flash timeout value in microseconds along with its constraints */ 76 struct led_flash_setting timeout; member 215 * led_set_flash_timeout - set flash LED timeout 217 * @timeout: the flash timeout to set it to 223 int led_set_flash_timeout(struct led_classdev_flash *fled_cdev, u32 timeout);
|
H A D | watchdog.h | 32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds). 68 * @timeout: The watchdog devices timeout value (in seconds). 70 * @min_timeout:The watchdog devices minimum timeout value (in seconds). 71 * @max_timeout:The watchdog devices maximum timeout value (in seconds) 78 * Hardware limit for maximum timeout, in milli-seconds. 102 unsigned int timeout; member 167 /* Use the following function to check if a timeout value is invalid */ 171 * The timeout is invalid if in watchdog_timeout_invalid() 175 * - the requested value is smaller than the configured minimum timeout, in watchdog_timeout_invalid() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_bsg.c | 13 bool open_for_write, unsigned int timeout) in scsi_bsg_sg_io_fn() 32 rq->timeout = timeout; in scsi_bsg_sg_io_fn() 12 scsi_bsg_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr, bool open_for_write, unsigned int timeout) scsi_bsg_sg_io_fn() argument
|
/kernel/linux/linux-6.6/drivers/platform/x86/intel/atomisp2/ |
H A D | pm.c | 38 unsigned long timeout; in isp_set_power() local 51 timeout = jiffies + msecs_to_jiffies(50); in isp_set_power() 62 } while (time_before(jiffies, timeout)); in isp_set_power() 64 dev_err(&dev->dev, "IUNIT power-%s timeout.\n", enable ? "on" : "off"); in isp_set_power()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | bq27xxx_battery_hdq.c | 44 unsigned int timeout = 3; in bq27xxx_battery_hdq_read() local 64 } while (temp != upper && --timeout); in bq27xxx_battery_hdq_read() 66 if (timeout == 0) in bq27xxx_battery_hdq_read()
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | nhi_ops.c | 87 static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout) in icl_nhi_lc_mailbox_cmd_complete() argument 92 if (!timeout) in icl_nhi_lc_mailbox_cmd_complete() 95 end = jiffies + msecs_to_jiffies(timeout); in icl_nhi_lc_mailbox_cmd_complete()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | n411.c | 80 int timeout; in n411_wait_for_ack() local 83 timeout = 500; in n411_wait_for_ack() 91 } while (timeout--); in n411_wait_for_ack()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_mqd_manager.h | 89 unsigned int timeout, uint32_t pipe_id, 148 enum kfd_preempt_type type, unsigned int timeout, 163 enum kfd_preempt_type type, unsigned int timeout,
|
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
H A D | cptvf_mbox.c | 61 int timeout = CPT_MBOX_MSG_TIMEOUT; in cptvf_send_msg_to_pf_timeout() local 67 /* Wait for previous message to be acked, timeout 2sec */ in cptvf_send_msg_to_pf_timeout() 74 timeout -= sleep; in cptvf_send_msg_to_pf_timeout() 75 if (!timeout) { in cptvf_send_msg_to_pf_timeout()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_cmd_v5.c | 20 unsigned long timeout; in s5p_mfc_cmd_host2risc_v5() local 22 timeout = jiffies + msecs_to_jiffies(MFC_BW_TIMEOUT); in s5p_mfc_cmd_host2risc_v5() 25 if (time_after(jiffies, timeout)) { in s5p_mfc_cmd_host2risc_v5()
|
/kernel/linux/linux-6.6/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 83 unsigned long timeout; in mantis_uart_work() local 96 timeout = jiffies + msecs_to_jiffies(10); in mantis_uart_work() 101 if (!time_is_after_jiffies(timeout)) in mantis_uart_work()
|