/drivers/staging/csr/ |
D | init_hw.c | 49 int attempts = 0; in uf_init_hw() local 60 if (attempts > MAX_INIT_ATTEMPTS) { in uf_init_hw() 63 attempts); in uf_init_hw() 66 attempts++; in uf_init_hw() 68 unifi_info(priv, "Initialising UniFi, attempt %d\n", attempts); in uf_init_hw()
|
/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() 170 int attempts = 0; in ssb_pcmcia_switch_segment() local 186 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 | 648 int polarity, int attempts, int delay, u32 *valp); 650 int polarity, int attempts, int delay) in t3_wait_op_done() argument 652 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t3_wait_op_done()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | espi.c | 64 int busy, attempts = TRICN_CMD_ATTEMPTS; in tricn_write() local 76 } while (busy && --attempts); in tricn_write()
|
D | subr.c | 63 int attempts, int delay) in t1_wait_op_done() argument 70 if (--attempts == 0) in t1_wait_op_done() 251 int attempts = 100, busy; in mi1_wait_until_ready() local 260 } while (busy && --attempts); in mi1_wait_until_ready()
|
/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 150 u32 attempts = 100000; in e1000e_poll_eerd_eewr_done() local 153 for (i = 0; i < attempts; i++) { in e1000e_poll_eerd_eewr_done()
|
/drivers/w1/ |
D | w1.h | 165 unsigned long attempts; member
|
D | w1_int.c | 65 dev->attempts = 0; in w1_alloc_dev()
|
D | w1_io.c | 377 dev->attempts++; in w1_search_devices()
|
D | w1.c | 331 count = sprintf(buf, "%lu\n", md->attempts); in w1_master_attribute_show_attempts() 517 static W1_MASTER_ATTR_RO(attempts, S_IRUGO);
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_i210.c | 254 u32 attempts = 100000; in igb_write_nvm_srwr() local 274 for (k = 0; k < attempts; k++) { in igb_write_nvm_srwr()
|
D | e1000_nvm.c | 153 u32 attempts = 100000; in igb_poll_eerd_eewr_done() local 157 for (i = 0; i < attempts; i++) { in igb_poll_eerd_eewr_done()
|
/drivers/media/firewire/ |
D | firedtv-avc.c | 1365 int attempts = 0; in cmp_establish_pp_connection() local 1413 if (++attempts < 6) /* arbitrary limit */ in cmp_establish_pp_connection() 1425 int attempts = 0; in cmp_break_pp_connection() local 1454 if (++attempts < 6) /* arbitrary limit */ in cmp_break_pp_connection()
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 160 int polarity, int attempts, int delay, uint32_t *valp) in csio_hw_wait_op_done_val() argument 172 if (--attempts == 0) in csio_hw_wait_op_done_val() 241 int attempts = EEPROM_MAX_RD_POLL; in csio_hw_seeprom_read() local 252 } while (!(val & PCI_VPD_ADDR_F) && --attempts); in csio_hw_seeprom_read() 479 csio_hw_flash_wait_op(struct csio_hw *hw, int32_t attempts, int32_t delay) in csio_hw_flash_wait_op() argument 495 if (--attempts == 0) in csio_hw_flash_wait_op()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 57 int polarity, int attempts, int delay, u32 *valp) in t4_wait_op_done_val() argument 67 if (--attempts == 0) in t4_wait_op_done_val() 75 int polarity, int attempts, int delay) in t4_wait_op_done() argument 77 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t4_wait_op_done() 749 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument 760 if (--attempts == 0) in flash_wait_op()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 3376 int attempts; in bnx2x_sample_bulletin() local 3387 for (attempts = 0; attempts < BULLETIN_ATTEMPTS; attempts++) { in bnx2x_sample_bulletin() 3396 if (attempts >= BULLETIN_ATTEMPTS) { in bnx2x_sample_bulletin() 3398 attempts); in bnx2x_sample_bulletin()
|
D | bnx2x_vfpf.c | 186 int rc = 0, attempts = 0; in bnx2x_vfpf_acquire() local 234 attempts++; in bnx2x_vfpf_acquire() 244 attempts < VF_ACQUIRE_THRESH) { in bnx2x_vfpf_acquire()
|
/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 | 47 This option defines the way in which the CPU attempts to arrange
|
/drivers/net/wireless/iwlegacy/ |
D | 4965-rs.c | 421 int attempts, int successes) in il4965_rs_collect_tx_data() argument 444 while (attempts > 0) { in il4965_rs_collect_tx_data() 469 attempts--; in il4965_rs_collect_tx_data()
|