/drivers/pcmcia/ |
D | rsrc_iodyn.c | 107 unsigned int try; in iodyn_find_io() local 132 try = res->end + 1; in iodyn_find_io() 133 if ((*base == 0) || (*base == try)) { in iodyn_find_io() 137 *base = try; in iodyn_find_io() 144 try = res->start - num; in iodyn_find_io() 145 if ((*base == 0) || (*base == try)) { in iodyn_find_io() 150 *base = try; in iodyn_find_io()
|
D | pcmcia_resource.c | 731 unsigned int try, irq; in pcmcia_setup_isa_irq() local 735 for (try = 0; try < 64; try++) { in pcmcia_setup_isa_irq() 736 irq = try % 32; in pcmcia_setup_isa_irq() 746 if ((try < 32) && pcmcia_used_irq[irq]) in pcmcia_setup_isa_irq()
|
D | rsrc_nonstatic.c | 739 unsigned int try; in nonstatic_find_io() local 765 try = res->end + 1; in nonstatic_find_io() 766 if ((*base == 0) || (*base == try)) { in nonstatic_find_io() 774 *base = try; in nonstatic_find_io() 782 try = res->start - num; in nonstatic_find_io() 783 if ((*base == 0) || (*base == try)) { in nonstatic_find_io() 793 *base = try; in nonstatic_find_io()
|
/drivers/phy/broadcom/ |
D | phy-brcm-sata.c | 429 int try; in brcm_ns2_sata_init() local 468 try = 50; in brcm_ns2_sata_init() 469 while (try) { in brcm_ns2_sata_init() 475 try--; in brcm_ns2_sata_init() 477 if (!try) { in brcm_ns2_sata_init() 492 unsigned int val, try; in brcm_nsp_sata_init() local 534 try = 50; in brcm_nsp_sata_init() 535 while (--try) { in brcm_nsp_sata_init() 542 if (!try) { in brcm_nsp_sata_init() 564 unsigned int val, try; in brcm_sr_sata_init() local [all …]
|
/drivers/bluetooth/ |
D | bt3c_cs.c | 646 int *try = priv_data; in bt3c_check_config() local 648 if (!try) in bt3c_check_config() 687 unsigned long try; in bt3c_config() local 692 for (try = 0; try < 2; try++) in bt3c_config() 693 if (!pcmcia_loop_config(link, bt3c_check_config, (void *) try)) in bt3c_config()
|
/drivers/misc/sgi-gru/ |
D | grukdump.c | 115 int try, cch_locked, cbrcnt = 0, dsrcnt = 0, bytes = 0, ret = 0; in gru_dump_context() local 121 for (try = 0; try < CCH_LOCK_ATTEMPTS; try++) { in gru_dump_context()
|
/drivers/tty/serial/8250/ |
D | serial_cs.c | 409 int *try = priv_data; in simple_config_check() local 414 if ((*try & 0x1) == 0) in simple_config_check() 417 if (p_dev->resource[0]->end != size_table[(*try >> 1)]) in simple_config_check() 452 int ret, try; in simple_config() local 459 for (try = 0; try < 4; try++) in simple_config() 460 if (!pcmcia_loop_config(link, simple_config_check, &try)) in simple_config()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux.c | 224 int try, clock = 0; in intel_dp_aux_xfer() local 258 for (try = 0; try < 3; try++) { in intel_dp_aux_xfer() 267 if (try == 3) { in intel_dp_aux_xfer() 295 for (try = 0; try < 5; try++) { in intel_dp_aux_xfer()
|
/drivers/rtc/ |
D | rtc-rv8803.c | 71 int try = RV8803_I2C_TRY_COUNT; in rv8803_read_reg() local 80 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_reg() 90 int try = RV8803_I2C_TRY_COUNT; in rv8803_read_regs() local 95 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_regs() 108 int try = RV8803_I2C_TRY_COUNT; in rv8803_write_reg() local 113 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_reg() 123 int try = RV8803_I2C_TRY_COUNT; in rv8803_write_regs() local 129 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_regs()
|
/drivers/char/tpm/ |
D | tpm_tis_i2c_cr50.c | 154 unsigned int try; in tpm_cr50_i2c_transfer_message() local 157 for (try = 0; try < TPM_CR50_I2C_MAX_RETRIES; try++) { in tpm_cr50_i2c_transfer_message() 161 if (try) in tpm_cr50_i2c_transfer_message() 163 try + 1, TPM_CR50_I2C_MAX_RETRIES, rc); in tpm_cr50_i2c_transfer_message()
|
D | tpm1-cmd.c | 741 unsigned int try; in tpm1_pm_suspend() local 754 for (try = 0; try < TPM_RETRY; try++) { in tpm1_pm_suspend() 776 else if (try > 0) in tpm1_pm_suspend() 778 try * TPM_TIMEOUT_RETRY); in tpm1_pm_suspend()
|
/drivers/firewire/ |
D | core-iso.c | 207 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth() local 215 for (try = 0; try < 5; try++) { in manage_bandwidth()
|
/drivers/media/usb/dvb-usb/ |
D | gp8psk.c | 33 int ret = 0,try = 0; in gp8psk_usb_in_op() local 41 while (ret >= 0 && ret != blen && try < 3) { in gp8psk_usb_in_op() 48 deb_info("reading number %d (ret: %d)\n",try,ret); in gp8psk_usb_in_op() 49 try++; in gp8psk_usb_in_op()
|
/drivers/ntb/test/ |
D | ntb_perf.c | 261 int try; in perf_spad_cmd_send() local 273 for (try = 0; try < MSG_TRIES; try++) { in perf_spad_cmd_send() 301 return try < MSG_TRIES ? 0 : -EAGAIN; in perf_spad_cmd_send() 352 int try, ret; in perf_msg_cmd_send() local 365 for (try = 0; try < MSG_TRIES; try++) { in perf_msg_cmd_send() 390 return try < MSG_TRIES ? 0 : -EAGAIN; in perf_msg_cmd_send() 791 int try = 0, ret = 0; in perf_copy_chunk() local 830 } while (!tx && (try++ < DMA_TRIES)); in perf_copy_chunk()
|
/drivers/block/ |
D | swim.c | 386 int try; in swim_track00() local 390 for (try = 0; try < 100; try++) { in swim_track00() 500 int i, try; in floppy_read_sectors() local 511 try = 5; in floppy_read_sectors() 515 if (try-- == 0) in floppy_read_sectors()
|
/drivers/misc/cxl/ |
D | guest.c | 308 int i, try, irq; in guest_alloc_irq_ranges() local 314 try = num; in guest_alloc_irq_ranges() 315 while (try) { in guest_alloc_irq_ranges() 316 if (irq_alloc_range(adapter, try, &irq) == 0) in guest_alloc_irq_ranges() 318 try /= 2; in guest_alloc_irq_ranges() 320 if (!try) in guest_alloc_irq_ranges() 323 irqs->range[i] = try; in guest_alloc_irq_ranges() 324 num -= try; in guest_alloc_irq_ranges()
|
/drivers/memstick/core/ |
D | ms_block.c | 826 int error, try; in msb_erase_block() local 833 for (try = 1; try < 3; try++) { in msb_erase_block() 862 int try, error; in msb_read_page() local 906 for (try = 1; try < 3; try++) { in msb_read_page() 1121 int error, try; in msb_update_block() local 1132 for (try = 0; try < 3; try++) { in msb_update_block() 1159 pr_err("block update error after %d tries, switching to r/o mode", try); in msb_update_block()
|
/drivers/media/tuners/ |
D | mt20xx.c | 185 int try,lock=0; in mt2032_check_lo_lock() local 188 for(try=0;try<10;try++) { in mt2032_check_lo_lock()
|
/drivers/i2c/ |
D | i2c-core-smbus.c | 560 int try; in __i2c_smbus_xfer() local 588 for (res = 0, try = 0; try <= adapter->retries; try++) { in __i2c_smbus_xfer()
|
/drivers/staging/media/zoran/ |
D | zoran_card.h | 24 int try);
|
/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 776 int try; in en_download_firmware_legacy() local 784 for (try = 0; try < 10; try++) { in en_download_firmware_legacy() 863 int try; in download_firmware_validate_legacy() local 873 for (try = 0; try < 10; try++) { in download_firmware_validate_legacy()
|
/drivers/usb/host/ |
D | ehci-hub.c | 541 int try; in set_owner() local 550 for (try = 4; try > 0; --try) { in set_owner() 556 try = 0; in set_owner() 563 if (try > 1) in set_owner()
|
/drivers/staging/media/ipu3/ |
D | ipu3-v4l2.c | 670 struct v4l2_format *f, bool try) in imgu_fmt() argument 682 dev_dbg(dev, "set fmt node [%u][%u](try = %u)", pipe, node, try); in imgu_fmt() 708 !imgu_pipe->nodes[inode].enabled && !try) { in imgu_fmt() 718 if (try) { in imgu_fmt() 732 if (!try) { in imgu_fmt() 751 if (try) in imgu_fmt() 764 if (!try) in imgu_fmt() 768 if (try) { in imgu_fmt()
|
/drivers/staging/media/av7110/ |
D | video_function_calls.rst | 26 video-try-command
|
/drivers/platform/surface/aggregator/ |
D | ssh_packet_layer.c | 684 u8 try = ssh_packet_priority_get_try(p->priority); in ssh_packet_next_try() local 693 WRITE_ONCE(p->priority, __SSH_PACKET_PRIORITY(base, try + 1)); in ssh_packet_next_try() 1366 u8 try; in __ssh_ptl_resubmit() local 1375 try = ssh_packet_priority_get_try(packet->priority); in __ssh_ptl_resubmit() 1376 if (try >= SSH_PTL_MAX_PACKET_TRIES) { in __ssh_ptl_resubmit()
|