Home
last modified time | relevance | path

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

/Linux-v5.4/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()
106 for (i = last_idx - 1; i > first_idx; i--) { in ladder_select_state()
114 if (last_idx > first_idx && in ladder_select_state()
137 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device() local
142 dev->last_state_idx = first_idx; in ladder_enable_device()
144 for (i = first_idx; i < drv->state_count; i++) { in ladder_enable_device()
156 if (i > first_idx) in ladder_enable_device()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c437 int first_idx; in zd_mac_tx_status() local
455 first_idx = info->status.rates[0].idx; in zd_mac_tx_status()
456 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_status()
457 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_status()
504 int first_idx, final_idx; in zd_mac_tx_failed() local
527 first_idx = info->status.rates[0].idx; in zd_mac_tx_failed()
528 ZD_ASSERT(0<=first_idx && first_idx<ARRAY_SIZE(zd_retry_rates)); in zd_mac_tx_failed()
529 retries = &zd_retry_rates[first_idx]; in zd_mac_tx_failed()
/Linux-v5.4/fs/ext4/
Dreadpage.c181 pgoff_t first_idx) in get_bio_post_read_ctx() argument
189 if (ext4_need_verity(inode, first_idx)) in get_bio_post_read_ctx()
/Linux-v5.4/arch/powerpc/mm/
Dmmu_decl.h144 extern void loadcam_multi(int first_idx, int num, int tmp_idx);
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c840 int first_idx = 0, last_idx; in mt7615_fill_txs() local
878 first_idx = max_t(int, 0, last_idx - (count + 1) / MT7615_RATE_RETRY); in mt7615_fill_txs()
892 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7615_fill_txs()
902 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs()
906 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c952 int first_idx = 0, last_idx; in mt7603_fill_txs() local
995 first_idx = max_t(int, 0, last_idx - (count + 1) / MT7603_RATE_RETRY); in mt7603_fill_txs()
1009 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7603_fill_txs()
1020 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1024 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
/Linux-v5.4/fs/
Dbinfmt_elf.c391 int i, first_idx = -1, last_idx = -1; in total_mapping_size() local
396 if (first_idx == -1) in total_mapping_size()
397 first_idx = i; in total_mapping_size()
400 if (first_idx == -1) in total_mapping_size()
404 ELF_PAGESTART(cmds[first_idx].p_vaddr); in total_mapping_size()
/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dmain.c1440 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local
1498 f = first_idx; in alx_map_tx_skb()
/Linux-v5.4/fs/f2fs/
Ddata.c678 pgoff_t first_idx) in f2fs_grab_read_bio() argument
695 if (f2fs_need_verity(inode, first_idx)) in f2fs_grab_read_bio()
/Linux-v5.4/kernel/locking/
Dlockdep.c4087 int first_idx = idx; in reacquire_held_locks() local
4105 *merged += (idx == first_idx); in reacquire_held_locks()
/Linux-v5.4/kernel/bpf/
Dverifier.c1664 int first_idx = st->first_insn_idx; in __mark_chain_precision() local
1719 verbose(env, "last_idx %d first_idx %d\n", last_idx, first_idx); in __mark_chain_precision()
1739 if (i == first_idx) in __mark_chain_precision()
1818 first_idx = st->first_insn_idx; in __mark_chain_precision()