Home
last modified time | relevance | path

Searched refs:first_idx (Results 1 – 9 of 9) sorted by relevance

/drivers/cpuidle/governors/
Dladder.c72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() local
100 if (last_idx > first_idx && in ladder_select_state()
105 for (i = last_idx - 1; i > first_idx; i--) { in ladder_select_state()
113 if (last_idx > first_idx && in ladder_select_state()
136 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device() local
141 dev->last_state_idx = first_idx; in ladder_enable_device()
143 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device()
155 if (i > first_idx) in ladder_enable_device()
/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c431 int scale_rate_idx, first_idx, last_idx; in il3945_rs_tx_status() local
444 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; in il3945_rs_tx_status()
445 if (first_idx < 0 || first_idx >= RATE_COUNT_3945) { in il3945_rs_tx_status()
446 D_RATE("leave: Rate out of bounds: %d\n", first_idx); in il3945_rs_tx_status()
463 scale_rate_idx = first_idx; in il3945_rs_tx_status()
464 last_idx = first_idx; in il3945_rs_tx_status()
/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c436 int first_idx; in zd_mac_tx_status() local
454 first_idx = info->status.rates[0].idx; in zd_mac_tx_status()
455 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_status()
456 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_status()
503 int first_idx, final_idx; in zd_mac_tx_failed() local
526 first_idx = info->status.rates[0].idx; in zd_mac_tx_failed()
527 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_failed()
528 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_failed()
/drivers/infiniband/hw/cxgb4/
Drestrack.c120 u16 first_idx, struct t4_swsqe *first_sqe, in fill_swsqes() argument
125 if (fill_swsqe(msg, sq, first_idx, first_sqe)) in fill_swsqes()
/drivers/tty/
Dmoxa.c825 unsigned int i, first_idx; in moxa_init_board() local
878 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board()
881 first_idx + i, dev); in moxa_init_board()
894 unsigned int a, opened, first_idx; in moxa_board_deinit() local
921 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit()
923 tty_unregister_device(moxaDriver, first_idx + a); in moxa_board_deinit()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1065 int first_idx = 0, last_idx; in mt7603_fill_txs() local
1108 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs()
1122 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7603_fill_txs()
1133 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1137 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1183 int first_idx = 0, last_idx; in mt7615_fill_txs() local
1219 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7615_RATE_RETRY); in mt7615_fill_txs()
1233 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7615_fill_txs()
1247 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs()
1251 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1357 u8 i, first_idx, last_idx, *p_tx_max; in qed_ll2_acquire_connection() local
1363 _qed_ll2_calc_allowed_conns(p_hwfn, data, &first_idx, &last_idx); in qed_ll2_acquire_connection()
1366 for (i = first_idx; i < last_idx; i++) { in qed_ll2_acquire_connection()
/drivers/net/ethernet/atheros/alx/
Dmain.c1441 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local
1499 f = first_idx; in alx_map_tx_skb()