| /drivers/cpuidle/governors/ |
| A D | ladder.c | 73 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() local 101 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()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| A D | port_sel.c | 50 if (first_idx < 0) in mlx5_lag_create_port_sel_table() 53 dev = ldev->pf[first_idx].dev; in mlx5_lag_create_port_sel_table() 307 if (first_idx < 0) in mlx5_lag_create_definer() 310 dev = ldev->pf[first_idx].dev; in mlx5_lag_create_definer() 356 if (first_idx < 0) in mlx5_lag_destroy_definer() 359 dev = ldev->pf[first_idx].dev; in mlx5_lag_destroy_definer() 360 mlx5_ldev_for_each(i, first_idx, ldev) { in mlx5_lag_destroy_definer() 520 if (first_idx < 0) in mlx5_lag_create_ttc_table() 523 dev = ldev->pf[first_idx].dev; in mlx5_lag_create_ttc_table() 536 if (first_idx < 0) in mlx5_lag_create_inner_ttc_table() [all …]
|
| A D | lag.c | 545 if (first_idx < 0) in mlx5_modify_lag() 548 dev0 = ldev->pf[first_idx].dev; in mlx5_modify_lag() 593 if (first_idx < 0) in mlx5_lag_set_port_sel_mode() 600 dev0 = ldev->pf[first_idx].dev; in mlx5_lag_set_port_sel_mode() 652 if (first_idx < 0) in mlx5_lag_create_single_fdb() 655 dev0 = ldev->pf[first_idx].dev; in mlx5_lag_create_single_fdb() 684 if (first_idx < 0) in mlx5_create_lag() 687 dev0 = ldev->pf[first_idx].dev; in mlx5_create_lag() 731 if (first_idx < 0) in mlx5_activate_lag() 787 if (first_idx < 0) in mlx5_deactivate_lag() [all …]
|
| /drivers/media/test-drivers/vivid/ |
| A D | vivid-cec.c | 128 unsigned int first_idx = 0; in vivid_cec_bus_thread() local 150 first_idx = i; in vivid_cec_bus_thread() 151 xfers_on_bus[first_idx].adap = dev->xfers[i].adap; in vivid_cec_bus_thread() 173 valid_dest = find_dest_adap(dev, xfers_on_bus[first_idx].adap, dest); in vivid_cec_bus_thread() 190 xfers_on_bus[first_idx].status = first_status; in vivid_cec_bus_thread() 207 cec_transmit_attempt_done(xfers_on_bus[first_idx].adap, first_status); in vivid_cec_bus_thread() 211 if (xfers_on_bus[first_idx].adap != dev->cec_rx_adap) in vivid_cec_bus_thread() 231 if (xfers_on_bus[first_idx].adap != dev_tx->cec_tx_adap[hdmi_output]) in vivid_cec_bus_thread()
|
| /drivers/net/wireless/intel/iwlegacy/ |
| A D | 3945-rs.c | 432 int scale_rate_idx, first_idx, last_idx; in il3945_rs_tx_status() local 445 first_idx = sband->bitrates[info->status.rates[0].idx].hw_value; in il3945_rs_tx_status() 446 if (first_idx < 0 || first_idx >= RATE_COUNT_3945) { in il3945_rs_tx_status() 447 D_RATE("leave: Rate out of bounds: %d\n", first_idx); in il3945_rs_tx_status() 464 scale_rate_idx = first_idx; in il3945_rs_tx_status() 465 last_idx = first_idx; in il3945_rs_tx_status()
|
| /drivers/net/wireless/zydas/zd1211rw/ |
| A D | zd_mac.c | 436 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/net/ethernet/intel/ice/ |
| A D | ice_txrx_lib.h | 113 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
|
| A D | ice_txrx_lib.c | 488 u32 first_idx) in ice_finalize_xdp_rx() argument 490 struct ice_tx_buf *tx_buf = &xdp_ring->tx_buf[first_idx]; in ice_finalize_xdp_rx()
|
| /drivers/tty/ |
| A D | moxa.c | 959 unsigned int i, first_idx; in moxa_init_board() local 1011 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_init_board() 1014 first_idx + i, dev); in moxa_init_board() 1027 unsigned int a, opened, first_idx; in moxa_board_deinit() local 1054 first_idx = (brd - moxa_boards) * MAX_PORTS_PER_BOARD; in moxa_board_deinit() 1056 tty_unregister_device(moxaDriver, first_idx + a); in moxa_board_deinit()
|
| /drivers/infiniband/hw/cxgb4/ |
| A D | restrack.c | 120 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/net/wireless/mediatek/mt76/mt7603/ |
| A D | mac.c | 1091 int first_idx = 0, last_idx; in mt7603_fill_txs() local 1134 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs() 1148 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7603_fill_txs() 1159 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7603_fill_txs() 1163 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_fence.c | 779 unsigned int first_idx = start_wptr & ring->buf_mask; in amdgpu_ring_backup_unprocessed_command() local 784 for (i = first_idx; i != last_idx; ++i, i &= ring->buf_mask) in amdgpu_ring_backup_unprocessed_command()
|
| /drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | mac.c | 1314 int first_idx = 0, last_idx; in mt7615_fill_txs() local 1350 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7615_RATE_RETRY); in mt7615_fill_txs() 1364 if (!first_idx && rs->probe_rate.idx >= 0) { in mt7615_fill_txs() 1378 info->status.rates[0] = rs->rates[first_idx / 2]; in mt7615_fill_txs() 1382 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7615_fill_txs()
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_ll2.c | 1383 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()
|
| /drivers/net/ethernet/atheros/alx/ |
| A D | main.c | 1464 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local 1522 f = first_idx; in alx_map_tx_skb()
|