Home
last modified time | relevance | path

Searched refs:countmax (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c472 uint_t count, countmax; in tavor_impl_mbox_alloc() local
480 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() local
914 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()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c573 uint_t count, countmax; in hermon_impl_mbox_alloc() local
581 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() local
1012 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()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c1105 const uint_t countmax = 50; /* at least 500ms */ in uftdi_fifo_drain() local
1129 for (count = 0; count < countmax; count++) { in uftdi_fifo_drain()
1139 return (count < countmax ? USB_SUCCESS : USB_FAILURE); in uftdi_fifo_drain()