Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-cec.c111 unsigned int first_idx = 0; in vivid_cec_bus_thread() local
133 first_idx = i; in vivid_cec_bus_thread()
134 xfers_on_bus[first_idx].adap = dev->xfers[i].adap; in vivid_cec_bus_thread()
156 valid_dest = find_dest_adap(dev, xfers_on_bus[first_idx].adap, dest); in vivid_cec_bus_thread()
173 xfers_on_bus[first_idx].status = first_status; in vivid_cec_bus_thread()
190 cec_transmit_attempt_done(xfers_on_bus[first_idx].adap, first_status); in vivid_cec_bus_thread()
194 if (xfers_on_bus[first_idx].adap != dev->cec_rx_adap) in vivid_cec_bus_thread()
197 if (xfers_on_bus[first_idx].adap != dev->cec_tx_adap[i]) in vivid_cec_bus_thread()
/linux-6.6.21/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-6.6.21/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()
/linux-6.6.21/fs/ext4/
Dreadpage.c189 pgoff_t first_idx) in ext4_set_bio_post_read_ctx() argument
196 if (ext4_need_verity(inode, first_idx)) in ext4_set_bio_post_read_ctx()
/linux-6.6.21/arch/powerpc/mm/
Dmmu_decl.h128 extern void loadcam_multi(int first_idx, int num, int tmp_idx);
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c448 u32 first_idx) in ice_finalize_xdp_rx() argument
450 struct ice_tx_buf *tx_buf = &xdp_ring->tx_buf[first_idx]; in ice_finalize_xdp_rx()
Dice_txrx_lib.h156 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
/linux-6.6.21/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-6.6.21/tools/perf/util/
Dparse-events.h138 int first_idx;/* as above, but for the first encountered error */ member
Dparse-events.c2166 err->first_idx = err->idx; in parse_events_error__handle()
2264 __parse_events_error__print(err->first_idx, err->first_str, in parse_events_error__print()
/linux-6.6.21/drivers/tty/
Dmoxa.c1125 unsigned int i, first_idx; in moxa_init_board() local
1178 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board()
1181 first_idx + i, dev); in moxa_init_board()
1194 unsigned int a, opened, first_idx; in moxa_board_deinit() local
1221 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit()
1223 tty_unregister_device(moxaDriver, first_idx + a); in moxa_board_deinit()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c1094 int first_idx = 0, last_idx; in mt7603_fill_txs() local
1137 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs()
1151 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7603_fill_txs()
1162 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs()
1166 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
/linux-6.6.21/mm/
Dz3fold.c601 int first_idx = __idx(zhdr, FIRST); in compact_single_buddy() local
610 if (zhdr->first_chunks && zhdr->slots->slot[first_idx]) { in compact_single_buddy()
613 old_handle = (unsigned long)&zhdr->slots->slot[first_idx]; in compact_single_buddy()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c1321 int first_idx = 0, last_idx; in mt7615_fill_txs() local
1357 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7615_RATE_RETRY); in mt7615_fill_txs()
1371 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7615_fill_txs()
1385 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs()
1389 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
/linux-6.6.21/fs/f2fs/
Ddata.c491 pgoff_t first_idx, in f2fs_set_bio_crypt_ctx() argument
500 fscrypt_set_bio_crypt_ctx(bio, inode, first_idx, gfp_mask); in f2fs_set_bio_crypt_ctx()
1107 pgoff_t first_idx, bool for_write) in f2fs_grab_read_bio() argument
1122 f2fs_set_bio_crypt_ctx(bio, inode, first_idx, NULL, GFP_NOFS); in f2fs_grab_read_bio()
1128 if (f2fs_need_verity(inode, first_idx)) in f2fs_grab_read_bio()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_ll2.c1383 u8 i, first_idx, last_idx, *p_tx_max; in qed_ll2_acquire_connection() local
1389 _qed_ll2_calc_allowed_conns(p_hwfn, data, &first_idx, &last_idx); in qed_ll2_acquire_connection()
1392 for (i = first_idx; i < last_idx; i++) { in qed_ll2_acquire_connection()
/linux-6.6.21/drivers/net/ethernet/atheros/alx/
Dmain.c1464 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local
1522 f = first_idx; in alx_map_tx_skb()
/linux-6.6.21/kernel/locking/
Dlockdep.c5273 int first_idx = idx; in reacquire_held_locks() local
5291 *merged += (idx == first_idx); in reacquire_held_locks()
/linux-6.6.21/kernel/bpf/
Dverifier.c4222 int first_idx = st->first_insn_idx; in __mark_chain_precision() local
4259 bt->frame, last_idx, first_idx, subseq_idx); in __mark_chain_precision()
4415 subseq_idx = first_idx; in __mark_chain_precision()
4417 first_idx = st->first_insn_idx; in __mark_chain_precision()