/drivers/i2c/busses/ |
D | i2c-stu300.c | 660 int attempts = 0; in stu300_xfer_msg() local 685 if (attempts) in stu300_xfer_msg() 692 if (attempts) in stu300_xfer_msg() 712 if (attempts) in stu300_xfer_msg() 718 if (attempts) in stu300_xfer_msg() 723 ret = stu300_send_address(dev, msg, attempts != 0); in stu300_xfer_msg() 726 attempts++; in stu300_xfer_msg() 729 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg() 732 } while (ret != 0 && attempts < NUM_ADDR_RESEND_ATTEMPTS); in stu300_xfer_msg() 734 if (attempts < NUM_ADDR_RESEND_ATTEMPTS && attempts > 0) { in stu300_xfer_msg() [all …]
|
/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 142 int attempts; in vmci_event_subscribe() local 170 for (attempts = 0; attempts < VMCI_EVENT_MAX_ATTEMPTS; attempts++) { in vmci_event_subscribe()
|
/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 82 int attempts = 20; in lpddr_info_query() local 94 while ((attempts--) > 0) { in lpddr_info_query()
|
/drivers/ssb/ |
D | pcmcia.c | 98 int attempts = 0; in ssb_pcmcia_switch_coreidx() local 139 if (attempts++ > SSB_BAR0_MAX_RETRIES) in ssb_pcmcia_switch_coreidx() 169 int attempts = 0; in ssb_pcmcia_switch_segment() local 185 if (unlikely(attempts++ > SSB_BAR0_MAX_RETRIES)) in ssb_pcmcia_switch_segment()
|
D | pci.c | 35 int attempts = 0; in ssb_pci_switch_coreidx() local 53 if (attempts++ > SSB_BAR0_MAX_RETRIES) in ssb_pci_switch_coreidx()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 56 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument 66 if (--attempts == 0) in t3_wait_op_done_val() 163 int attempts = 10; in t3_mc7_bd_read() local 169 while ((val & F_BUSY) && attempts--) in t3_mc7_bd_read() 616 int attempts = EEPROM_MAX_POLL; in t3_seeprom_read() local 627 } while (!(val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_read() 650 int attempts = EEPROM_MAX_POLL; in t3_seeprom_write() local 663 } while ((val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_write() 814 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument 825 if (--attempts == 0) in flash_wait_op() [all …]
|
D | common.h | 647 int polarity, int attempts, int delay, u32 *valp); 649 int polarity, int attempts, int delay) in t3_wait_op_done() argument 651 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t3_wait_op_done()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 63 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 75 } while (busy && --attempts); in tricn_write()
|
D | subr.c | 62 int attempts, int delay) in t1_wait_op_done() argument 69 if (--attempts == 0) in t1_wait_op_done() 250 int attempts = 100, busy; in mi1_wait_until_ready() local 259 } while (busy && --attempts); in mi1_wait_until_ready()
|
/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 142 u32 attempts = 100000; in e1000e_poll_eerd_eewr_done() local 145 for (i = 0; i < attempts; i++) { in e1000e_poll_eerd_eewr_done()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 663 int scale_index, int attempts, int successes, in _rs_collect_tx_data() argument 680 while (attempts > 0) { in _rs_collect_tx_data() 704 attempts--; in _rs_collect_tx_data() 729 int scale_index, int attempts, int successes, in rs_collect_tx_data() argument 741 pers->tx_stats[tbl->column][scale_index].total += attempts; in rs_collect_tx_data() 748 ret = _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tx_data() 757 return _rs_collect_tx_data(mvm, tbl, scale_index, attempts, successes, in rs_collect_tx_data() 1195 int attempts, success; in iwl_mvm_rs_tx_status() local 1204 attempts = info->status.ampdu_len; in iwl_mvm_rs_tx_status() 1207 attempts = info->status.rates[0].count; in iwl_mvm_rs_tx_status() [all …]
|
/drivers/w1/ |
D | w1.h | 231 unsigned long attempts; member
|
D | w1_int.c | 64 dev->attempts = 0; in w1_alloc_dev()
|
D | w1_io.c | 382 dev->attempts++; in w1_search_devices()
|
D | w1.c | 367 count = sprintf(buf, "%lu\n", md->attempts); in w1_master_attribute_show_attempts() 556 static W1_MASTER_ATTR_RO(attempts, S_IRUGO);
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 148 u32 attempts = 100000; in igb_poll_eerd_eewr_done() local 152 for (i = 0; i < attempts; i++) { in igb_poll_eerd_eewr_done()
|
D | e1000_i210.c | 252 u32 attempts = 100000; in igb_write_nvm_srwr() local 272 for (k = 0; k < attempts; k++) { in igb_write_nvm_srwr()
|
/drivers/media/firewire/ |
D | firedtv-avc.c | 1377 int attempts = 0; in cmp_establish_pp_connection() local 1425 if (++attempts < 6) /* arbitrary limit */ in cmp_establish_pp_connection() 1437 int attempts = 0; in cmp_break_pp_connection() local 1466 if (++attempts < 6) /* arbitrary limit */ in cmp_break_pp_connection()
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 134 int polarity, int attempts, int delay, uint32_t *valp) in csio_hw_wait_op_done_val() argument 146 if (--attempts == 0) in csio_hw_wait_op_done_val() 215 int attempts = EEPROM_MAX_RD_POLL; in csio_hw_seeprom_read() local 226 } while (!(val & PCI_VPD_ADDR_F) && --attempts); in csio_hw_seeprom_read() 449 csio_hw_flash_wait_op(struct csio_hw *hw, int32_t attempts, int32_t delay) in csio_hw_flash_wait_op() argument 465 if (--attempts == 0) in csio_hw_flash_wait_op()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 2963 int attempts; in bnx2x_sample_bulletin() local 2968 for (attempts = 0; attempts < BULLETIN_ATTEMPTS; attempts++) { in bnx2x_sample_bulletin() 2984 if (attempts >= BULLETIN_ATTEMPTS) { in bnx2x_sample_bulletin() 2986 attempts); in bnx2x_sample_bulletin()
|
D | bnx2x_vfpf.c | 225 int rc = 0, attempts = 0; in bnx2x_vfpf_acquire() local 288 attempts++; in bnx2x_vfpf_acquire() 298 attempts < VF_ACQUIRE_THRESH) { in bnx2x_vfpf_acquire()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 58 int polarity, int attempts, int delay, u32 *valp) in t4_wait_op_done_val() argument 68 if (--attempts == 0) in t4_wait_op_done_val() 76 int polarity, int attempts, int delay) in t4_wait_op_done() argument 78 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t4_wait_op_done() 2793 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument 2804 if (--attempts == 0) in flash_wait_op() 7535 int i, err, attempts; in t4_read_cim_ibq() local 7549 attempts = 1000000; in t4_read_cim_ibq() 7555 attempts, 1); in t4_read_cim_ibq()
|
/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 980 int attempts = EFX_MAC_STATS_WAIT_ATTEMPTS; in efx_mcdi_mac_pull_stats() local 987 attempts-- != 0) in efx_mcdi_mac_pull_stats()
|
/drivers/ide/ |
D | ide-cd.c | 1123 int stat, attempts = 3, size = ATAPI_CAPABILITIES_PAGE_SIZE; in ide_cdrom_get_capabilities() local 1136 } while (--attempts); in ide_cdrom_get_capabilities()
|
/drivers/mtd/chips/ |
D | Kconfig | 48 This option defines the way in which the CPU attempts to arrange
|