Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c544 uint_t count, countmax; in tavor_impl_mbox_alloc() local
554 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() local
1023 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()
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c1097 const uint_t countmax = 50; /* at least 500ms */ in uftdi_fifo_drain() local
1121 for (count = 0; count < countmax; count++) { in uftdi_fifo_drain()
1131 return (count < countmax ? USB_SUCCESS : USB_FAILURE); in uftdi_fifo_drain()