Searched refs:countmax (Results 1 – 3 of 3) sorted by relevance
544 uint_t count, countmax; in tavor_impl_mbox_alloc() local554 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_impl_mbox_alloc()561 if (++count > countmax) { in tavor_impl_mbox_alloc()997 uint_t status, count, countmax; in tavor_write_hcr() local1023 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()1041 if (++count > countmax) { in tavor_write_hcr()1089 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()1108 if (++count > countmax) { in tavor_write_hcr()
573 uint_t count, countmax; in hermon_impl_mbox_alloc() local581 countmax = state->hs_cfg_profile->cp_cmd_poll_max; in hermon_impl_mbox_alloc()588 if (++count > countmax) { in hermon_impl_mbox_alloc()983 uint_t status, count, countmax; in hermon_write_hcr() local1012 countmax = state->hs_cfg_profile->cp_cmd_poll_max; in hermon_write_hcr()1035 if (++count > countmax) { in hermon_write_hcr()1110 countmax = (state->hs_cfg_profile->cp_cmd_poll_max << 4); in hermon_write_hcr()1132 if (++count > countmax) { in hermon_write_hcr()
1097 const uint_t countmax = 50; /* at least 500ms */ in uftdi_fifo_drain() local1121 for (count = 0; count < countmax; count++) { in uftdi_fifo_drain()1131 return (count < countmax ? USB_SUCCESS : USB_FAILURE); in uftdi_fifo_drain()