Home
last modified time | relevance | path

Searched refs:timeout_msec (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/thunderbolt/
H A Dctl.c50 int timeout_msec; member
617 int timeout_msec) in tb_cfg_request_sync() argument
619 unsigned long timeout = msecs_to_jiffies(timeout_msec); in tb_cfg_request_sync()
652 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int index, int timeout_msec, in tb_ctl_alloc() argument
662 ctl->timeout_msec = timeout_msec; in tb_ctl_alloc()
932 res = tb_cfg_request_sync(ctl, req, ctl->timeout_msec); in tb_cfg_reset()
957 u32 offset, u32 length, int timeout_msec) in tb_cfg_read_raw() argument
992 res = tb_cfg_request_sync(ctl, req, timeout_msec); in tb_cfg_read_raw()
1031 u32 offset, u32 length, int timeout_msec) in tb_cfg_write_raw() argument
1068 res = tb_cfg_request_sync(ctl, req, timeout_msec); in tb_cfg_write_raw()
[all …]
H A Dtunnel.c630 int timeout_msec) in tb_dp_cm_handshake()
632 ktime_t timeout = ktime_add_ms(ktime_get(), timeout_msec); in tb_dp_cm_handshake()
1059 static ktime_t dprx_timeout_to_ktime(int timeout_msec) in dprx_timeout_to_ktime()
1061 return timeout_msec >= 0 ? in dprx_timeout_to_ktime()
1062 ktime_add_ms(ktime_get(), timeout_msec) : KTIME_MAX; in dprx_timeout_to_ktime()
1065 static int tb_dp_wait_dprx(struct tb_tunnel *tunnel, int timeout_msec) in tb_dp_wait_dprx()
1067 ktime_t timeout = dprx_timeout_to_ktime(timeout_msec); in tb_dp_wait_dprx()
629 tb_dp_cm_handshake(struct tb_port * in,struct tb_port * out,int timeout_msec) tb_dp_cm_handshake() argument
1058 dprx_timeout_to_ktime(int timeout_msec) dprx_timeout_to_ktime() argument
1064 tb_dp_wait_dprx(struct tb_tunnel * tunnel,int timeout_msec) tb_dp_wait_dprx() argument
H A Ddomain.c375 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc() argument
402 tb->ctl = tb_ctl_alloc(nhi, tb->index, timeout_msec, tb_domain_event_cb, tb); in tb_domain_alloc()
H A Dxdomain.c183 unsigned int timeout_msec) in __tb_xdomain_request() argument
201 res = tb_cfg_request_sync(ctl, req, timeout_msec); in __tb_xdomain_request()
217 * @timeout_msec: Timeout in milliseconds to wait for the response
228 enum tb_cfg_pkg_type response_type, unsigned int timeout_msec) in tb_xdomain_request() argument
232 response_type, timeout_msec); in tb_xdomain_request()
H A Dicm.c213 static int pci2cio_wait_completion(struct icm *icm, unsigned long timeout_msec) in pci2cio_wait_completion() argument
215 unsigned long end = jiffies + msecs_to_jiffies(timeout_msec); in pci2cio_wait_completion()
301 int retries, unsigned int timeout_msec) in icm_request() argument
324 res = tb_cfg_request_sync(tb->ctl, req, timeout_msec); in icm_request()
H A Dnhi.c825 * @timeout_msec: Timeout in ms how long to wait. in tb_ring_free()
832 bool tb_ring_flush(struct tb_ring *ring, unsigned int timeout_msec) in tb_ring_free()
835 msecs_to_jiffies(timeout_msec))) in tb_ring_free()
746 tb_ring_flush(struct tb_ring * ring,unsigned int timeout_msec) tb_ring_flush() argument
H A Dswitch.c1210 * @timeout_msec: Timeout in ms how long to wait
1224 int timeout_msec) in tb_port_wait_for_link_width()
1226 ktime_t timeout = ktime_add_ms(ktime_get(), timeout_msec); in tb_port_wait_for_link_width()
1733 * @timeout_msec: Timeout in ms how long to wait
1744 u32 value, int timeout_msec) in tb_switch_wait_for_bit()
1746 ktime_t timeout = ktime_add_ms(ktime_get(), timeout_msec); in tb_switch_wait_for_bit()
1220 tb_port_wait_for_link_width(struct tb_port * port,unsigned int width,int timeout_msec) tb_port_wait_for_link_width() argument
1740 tb_switch_wait_for_bit(struct tb_switch * sw,u32 offset,u32 bit,u32 value,int timeout_msec) tb_switch_wait_for_bit() argument
/linux/arch/mips/include/asm/sn/
H A Dlaunch.h92 #define LAUNCH_WAIT (*(void (*)(int nasid, int cpu, int timeout_msec)) \
/linux/include/linux/
H A Dthunderbolt.h366 unsigned int timeout_msec);
676 bool tb_ring_flush(struct tb_ring *ring, unsigned int timeout_msec);
/linux/drivers/scsi/
H A D3w-9xxx.h615 unsigned long timeout_msec; member
H A D3w-9xxx.c851 tw_dev->ioctl_time = ktime_add_ms(current_time, tw_lock->timeout_msec); in twa_chrdev_ioctl()
853 tw_lock->time_remaining_msec = tw_lock->timeout_msec; in twa_chrdev_ioctl()
/linux/drivers/ata/
H A Dlibahci.c1424 unsigned int timeout_msec) in ahci_exec_polled_cmd()
1448 if (timeout_msec) { in ahci_exec_polled_cmd()
1450 0x1, 0x1, 1, timeout_msec); in ahci_exec_polled_cmd()
1423 ahci_exec_polled_cmd(struct ata_port * ap,int pmp,struct ata_taskfile * tf,int is_cmd,u16 flags,unsigned int timeout_msec) ahci_exec_polled_cmd() argument
/linux/drivers/scsi/qla2xxx/
H A Dqla_init.c3496 uint timeout_msec; in qla25xx_manipulate_risc_semaphore() local
3507 timeout_msec = TIMEOUT_SEMAPHORE; in qla25xx_manipulate_risc_semaphore()
3508 n = timeout_msec / delta_msec; in qla25xx_manipulate_risc_semaphore()
3527 timeout_msec = TIMEOUT_SEMAPHORE_FORCE; in qla25xx_manipulate_risc_semaphore()
3528 n = timeout_msec / delta_msec; in qla25xx_manipulate_risc_semaphore()