/drivers/net/wireless/ath/ath9k/ |
D | ar9003_aic.c | 312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process() local 317 start_idx = ar9003_aic_find_valid(cal_sram_valid, 0, i); in ar9003_aic_cal_post_process() 320 if (start_idx < 0) { in ar9003_aic_cal_post_process() 322 start_idx = end_idx; in ar9003_aic_cal_post_process() 323 end_idx = ar9003_aic_find_valid(cal_sram_valid, 1, start_idx); in ar9003_aic_cal_post_process() 331 ((aic_sram[start_idx].dir_path_gain_lin - in ar9003_aic_cal_post_process() 333 (start_idx - i) + ((end_idx - i) >> 1)) / in ar9003_aic_cal_post_process() 335 aic_sram[start_idx].dir_path_gain_lin; in ar9003_aic_cal_post_process() 337 ((aic_sram[start_idx].quad_path_gain_lin - in ar9003_aic_cal_post_process() 339 (start_idx - i) + ((end_idx - i) >> 1)) / in ar9003_aic_cal_post_process() [all …]
|
/drivers/staging/wfx/ |
D | scan.c | 42 struct cfg80211_scan_request *req, int start_idx) in send_scan_req() argument 47 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req() 48 ch_start = req->channels[start_idx]; in send_scan_req() 59 ret = hif_scan(wvif, req, start_idx, i - start_idx, &timeout); in send_scan_req() 65 if (req->channels[start_idx]->max_power != wvif->vif->bss_conf.txpower) in send_scan_req() 77 return i - start_idx; in send_scan_req()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | rsc_dump.c | 59 int read_size, int start_idx) in mlx5_rsc_dump_read_menu_sgmt() argument 70 if (!start_idx) { in mlx5_rsc_dump_read_menu_sgmt() 79 for (i = 0; start_idx + i < num_of_items; i++) { in mlx5_rsc_dump_read_menu_sgmt() 82 return start_idx + i; in mlx5_rsc_dump_read_menu_sgmt() 189 int start_idx = 0; in mlx5_rsc_dump_menu() local 211 start_idx = mlx5_rsc_dump_read_menu_sgmt(dev->rsc_dump, page, size, start_idx); in mlx5_rsc_dump_menu()
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema_iface.c | 317 u16 start_idx, num_macs, idx = 0, count = 0; in opa_vnic_query_mcast_macs() local 320 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_mcast_macs() 325 if (start_idx > idx++) in opa_vnic_query_mcast_macs() 349 u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0; in opa_vnic_query_ucast_macs() local 352 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_ucast_macs() 365 if (start_idx > idx++) in opa_vnic_query_ucast_macs() 377 if (start_idx > idx++) in opa_vnic_query_ucast_macs()
|
D | opa_vnic_encap.h | 459 __be16 start_idx; member
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_hmc.c | 272 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in i40iw_hmc_finish_add_sd_reg() 275 if ((info->start_idx + info->count) > in i40iw_hmc_finish_add_sd_reg() 306 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in i40iw_sc_create_hmc_obj() 309 if ((info->start_idx + info->count) > in i40iw_sc_create_hmc_obj() 313 __func__, info->rsrc_type, info->start_idx, info->count, in i40iw_sc_create_hmc_obj() 322 info->start_idx, info->count, in i40iw_sc_create_hmc_obj() 329 info->start_idx, info->count, &pd_idx, &pd_lmt); in i40iw_sc_create_hmc_obj() 457 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40iw_sc_del_hmc_obj() 460 __func__, info->start_idx, info->rsrc_type, in i40iw_sc_del_hmc_obj() 465 if ((info->start_idx + info->count) > in i40iw_sc_del_hmc_obj() [all …]
|
D | i40iw_hmc.h | 195 u32 start_idx; member 206 u32 start_idx; member
|
/drivers/cpuidle/ |
D | dt_idle_states.c | 151 unsigned int start_idx) in dt_init_idle_driver() argument 158 unsigned int state_idx = start_idx; in dt_init_idle_driver() 226 return state_idx - start_idx; in dt_init_idle_driver()
|
D | dt_idle_states.h | 7 unsigned int start_idx);
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.c | 307 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 313 if ((info->start_idx + info->count) > in i40e_create_lan_hmc_object() 323 info->start_idx, info->count, in i40e_create_lan_hmc_object() 332 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object() 449 info.start_idx = 0; in i40e_configure_lan_hmc() 559 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object() 566 if ((info->start_idx + info->count) > in i40e_delete_lan_hmc_object() 575 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object() 598 info->start_idx, info->count, in i40e_delete_lan_hmc_object() 642 info.start_idx = 0; in i40e_shutdown_lan_hmc()
|
D | i40e_lan_hmc.h | 127 u32 start_idx; member 136 u32 start_idx; member
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | dm.c | 191 u64 start_idx; in mlx5_dm_sw_icm_dealloc() local 220 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc() 223 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
|
/drivers/infiniband/core/ |
D | umem_odp.c | 358 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local 412 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift; in ib_umem_odp_map_dma_and_lock() 413 dma_index = start_idx; in ib_umem_odp_map_dma_and_lock() 464 ret = dma_index - start_idx; in ib_umem_odp_map_dma_and_lock()
|
/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 110 idx = txp->start_idx; in clear_sdma_activelist() 345 idx = txp->start_idx; in qib_sdma_make_progress() 377 idx = txp->start_idx; in qib_sdma_make_progress() 496 tx->txreq.start_idx = 0; in complete_sdma_err_req() 563 tx->txreq.start_idx = tail; in qib_sdma_verbs_send() 730 txp->start_idx, txp->next_descq_idx); in dump_sdma_state()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_interrupts.c | 779 int start_idx; in dpu_hw_intr_dispatch_irq() local 800 start_idx = reg_idx * 32; in dpu_hw_intr_dispatch_irq() 801 end_idx = start_idx + 32; in dpu_hw_intr_dispatch_irq() 804 start_idx >= ARRAY_SIZE(dpu_irq_map)) in dpu_hw_intr_dispatch_irq() 812 for (irq_idx = start_idx; in dpu_hw_intr_dispatch_irq()
|
/drivers/media/test-drivers/vicodec/ |
D | codec-v4l2-fwht.c | 60 unsigned int start_idx) in v4l2_fwht_find_nth_fmt() argument 69 if (start_idx == 0) in v4l2_fwht_find_nth_fmt() 71 start_idx--; in v4l2_fwht_find_nth_fmt()
|
D | codec-v4l2-fwht.h | 59 unsigned int start_idx);
|
/drivers/input/rmi4/ |
D | rmi_bus.c | 379 static void __rmi_unregister_function_handlers(int start_idx) in __rmi_unregister_function_handlers() argument 383 for (i = start_idx; i >= 0; i--) in __rmi_unregister_function_handlers()
|
/drivers/net/wireless/ath/wil6210/ |
D | pcie_bus.c | 306 int i, start_idx; in wil_pcie_probe() local 384 start_idx = wil->use_enhanced_dma_hw ? 0 : 1; in wil_pcie_probe() 386 for (i = start_idx; i < ARRAY_SIZE(dma_addr_size); i++) { in wil_pcie_probe()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | main.c | 403 u32 start_idx, u32 num_events, in iwl_print_cont_event_trace() argument 412 ptr = base + (4 * sizeof(u32)) + (start_idx * 2 * sizeof(u32)); in iwl_print_cont_event_trace() 414 ptr = base + (4 * sizeof(u32)) + (start_idx * 3 * sizeof(u32)); in iwl_print_cont_event_trace() 429 if (WARN_ON(num_events > capacity - start_idx)) in iwl_print_cont_event_trace() 430 num_events = capacity - start_idx; in iwl_print_cont_event_trace() 1688 static int iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, in iwl_print_event_log() argument 1718 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()
|
/drivers/block/drbd/ |
D | drbd_debugfs.c | 522 unsigned int start_idx; in seq_print_timing_details() local 530 start_idx = cb_nr % DRBD_THREAD_DETAILS_HIST; in seq_print_timing_details() 531 for (i = start_idx; i < DRBD_THREAD_DETAILS_HIST; i++) in seq_print_timing_details() 533 for (i = 0; i < start_idx; i++) in seq_print_timing_details()
|
/drivers/block/ |
D | sunvdc.c | 338 pkt->start_idx != pkt->end_idx || in vdc_ack() 339 pkt->start_idx >= VDC_TX_RING_SIZE)) in vdc_ack() 342 vdc_end_one(port, dr, pkt->start_idx); in vdc_ack() 434 .start_idx = dr->prod, in __vdc_tx_trigger()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 85 u64 start_idx = round_down(hem_idx, bt_chunk_num); in hns_roce_check_hem_null() local 86 u64 check_max_num = start_idx + bt_chunk_num; in hns_roce_check_hem_null() 89 for (i = start_idx; (i < check_max_num) && (i < hem_max_num); i++) in hns_roce_check_hem_null() 98 u64 start_idx = round_down(ba_idx, bt_chunk_num); in hns_roce_check_bt_null() local 102 if (i != ba_idx && bt[start_idx + i]) in hns_roce_check_bt_null()
|
/drivers/media/pci/tw686x/ |
D | tw686x-video.c | 714 u32 start_idx, end_idx; in tw686x_set_format() local 716 start_idx = is_second_gen(dev) ? in tw686x_set_format() 718 end_idx = start_idx + TW686X_MAX_SG_DESC_COUNT - 1; in tw686x_set_format() 720 val |= (end_idx << 10) | start_idx; in tw686x_set_format()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 2513 D_TX_REPLY("BA %d %d\n", agg->start_idx, ba_resp->seq_ctl); in il4965_tx_status_reply_compressed_ba() 2516 sh = agg->start_idx - SEQ_TO_IDX(seq_ctl >> 4); in il4965_tx_status_reply_compressed_ba() 2539 i, (agg->start_idx + i) & 0xff, agg->start_idx + i); in il4965_tx_status_reply_compressed_ba() 2546 info = IEEE80211_SKB_CB(il->txq[scd_flow].skbs[agg->start_idx]); in il4965_tx_status_reply_compressed_ba() 2647 u16 start_idx) in il4965_tx_status_reply_tx() argument 2660 agg->start_idx = start_idx; in il4965_tx_status_reply_tx() 2668 idx = start_idx; in il4965_tx_status_reply_tx() 2671 agg->frame_count, agg->start_idx, idx); in il4965_tx_status_reply_tx() 2687 int start = agg->start_idx; in il4965_tx_status_reply_tx() 2742 agg->start_idx = start; in il4965_tx_status_reply_tx() [all …]
|