Searched refs:countmax (Results 1 – 3 of 3) sorted by relevance
472 uint_t count, countmax; in tavor_impl_mbox_alloc() local480 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_impl_mbox_alloc()487 if (++count > countmax) { in tavor_impl_mbox_alloc()890 uint_t status, count, countmax; in tavor_write_hcr() local914 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()929 if (++count > countmax) { in tavor_write_hcr()974 countmax = state->ts_cfg_profile->cp_cmd_poll_max; in tavor_write_hcr()990 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()
1105 const uint_t countmax = 50; /* at least 500ms */ in uftdi_fifo_drain() local1129 for (count = 0; count < countmax; count++) { in uftdi_fifo_drain()1139 return (count < countmax ? USB_SUCCESS : USB_FAILURE); in uftdi_fifo_drain()