| /drivers/net/wireless/ath/ath9k/ |
| A D | ar9003_aic.c | 312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process() local 320 if (start_idx < 0) { in ar9003_aic_cal_post_process() 322 start_idx = end_idx; in ar9003_aic_cal_post_process() 356 (i - start_idx) + ((start_idx - end_idx) >> 1)) / in ar9003_aic_cal_post_process() 357 (start_idx - end_idx) + in ar9003_aic_cal_post_process() 362 (i - start_idx) + ((start_idx - end_idx) >> 1)) / in ar9003_aic_cal_post_process() 363 (start_idx - end_idx) + in ar9003_aic_cal_post_process() 366 } else if (start_idx >= 0){ in ar9003_aic_cal_post_process() 372 (end_idx - start_idx); in ar9003_aic_cal_post_process() 376 ((end_idx - start_idx) >> 1))/ in ar9003_aic_cal_post_process() [all …]
|
| /drivers/net/wireless/silabs/wfx/ |
| A D | scan.c | 40 static int send_scan_req(struct wfx_vif *wvif, struct cfg80211_scan_request *req, int start_idx) in send_scan_req() argument 46 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req() 47 ch_start = req->channels[start_idx]; in send_scan_req() 58 ret = wfx_hif_scan(wvif, req, start_idx, i - start_idx); in send_scan_req() 76 } else if (wvif->scan_nb_chan_done > i - start_idx) { in send_scan_req() 81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower) in send_scan_req()
|
| /drivers/infiniband/hw/irdma/ |
| A D | hmc.c | 198 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_hmc_finish_add_sd_reg() 201 if ((info->start_idx + info->count) > in irdma_hmc_finish_add_sd_reg() 234 if ((info->start_idx + info->count) > in irdma_sc_create_hmc_obj() 238 info->rsrc_type, info->start_idx, info->count, in irdma_sc_create_hmc_obj() 244 info->start_idx, info->count, &sd_idx, in irdma_sc_create_hmc_obj() 252 info->start_idx, info->count, &pd_idx, in irdma_sc_create_hmc_obj() 382 info->start_idx, info->rsrc_type, in irdma_sc_del_hmc_obj() 387 if ((info->start_idx + info->count) > in irdma_sc_del_hmc_obj() 391 info->start_idx, info->count, info->rsrc_type, in irdma_sc_del_hmc_obj() 397 info->start_idx, info->count, &pd_idx, in irdma_sc_del_hmc_obj() [all …]
|
| A D | hmc.h | 127 u32 start_idx; member 138 u32 start_idx; member
|
| /drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| A 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/ |
| A 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()
|
| /drivers/net/dsa/microchip/ |
| A D | ksz9477_acl.c | 240 int start_idx, end_idx, contiguous_count; in ksz9477_acl_get_cont_entr() local 268 start_idx = find_first_bit((unsigned long *)&val, 16); in ksz9477_acl_get_cont_entr() 272 contiguous_count = end_idx - start_idx + 1; in ksz9477_acl_get_cont_entr() 284 for (i = start_idx; i <= end_idx; i++) { in ksz9477_acl_get_cont_entr() 296 if (i > start_idx) { in ksz9477_acl_get_cont_entr() 470 u16 start_idx, in ksz9477_move_entries_downwards() argument 477 for (i = start_idx; i < end_idx; i++) { in ksz9477_move_entries_downwards() 509 u16 start_idx, u16 num_entries_to_move, in ksz9477_move_entries_upwards() argument 515 for (i = start_idx; i > target_idx; i--) { in ksz9477_move_entries_upwards()
|
| /drivers/cpuidle/ |
| A D | dt_idle_states.c | 146 unsigned int start_idx) in dt_init_idle_driver() argument 153 unsigned int state_idx = start_idx; in dt_init_idle_driver() 218 return state_idx - start_idx; in dt_init_idle_driver()
|
| A D | dt_idle_states.h | 7 unsigned int start_idx);
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_lan_hmc.c | 304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object() 310 if ((info->start_idx + info->count) > in i40e_create_lan_hmc_object() 320 info->start_idx, info->count, in i40e_create_lan_hmc_object() 329 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object() 446 info.start_idx = 0; in i40e_configure_lan_hmc() 556 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object() 563 if ((info->start_idx + info->count) > in i40e_delete_lan_hmc_object() 572 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object() 595 info->start_idx, info->count, in i40e_delete_lan_hmc_object() 639 info.start_idx = 0; in i40e_shutdown_lan_hmc()
|
| A D | i40e_lan_hmc.h | 129 u32 start_idx; member 138 u32 start_idx; member
|
| /drivers/infiniband/core/ |
| A D | umem_odp.c | 330 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local 381 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift; in ib_umem_odp_map_dma_and_lock() 382 dma_index = start_idx; in ib_umem_odp_map_dma_and_lock() 419 ret = dma_index - start_idx; in ib_umem_odp_map_dma_and_lock()
|
| /drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| A D | lag.h | 138 int mlx5_get_pre_ldev_func(struct mlx5_lag *ldev, int start_idx, int end_idx); 139 int mlx5_get_next_ldev_func(struct mlx5_lag *ldev, int start_idx);
|
| /drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| A D | dm.c | 256 u64 start_idx; in mlx5_dm_sw_icm_dealloc() local 295 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc() 298 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
|
| /drivers/media/test-drivers/vicodec/ |
| A 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()
|
| A D | codec-v4l2-fwht.h | 59 unsigned int start_idx);
|
| /drivers/dma/ti/ |
| A D | k3-udma.c | 165 u32 start_idx[3]; member 452 if (chan_id >= tpl_map->start_idx[i]) in udma_get_chan_tpl_index() 1357 start = ud->res##_tpl.start_idx[tpl]; \ 4596 ud->tchan_tpl.start_idx[0] = 8; in udma_setup_resources() 4600 ud->tchan_tpl.start_idx[0] = 2; in udma_setup_resources() 4603 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3); in udma_setup_resources() 4604 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources() 4613 ud->rchan_tpl.start_idx[0] = ud->tchan_tpl.start_idx[0]; in udma_setup_resources() 4614 ud->rchan_tpl.start_idx[1] = ud->tchan_tpl.start_idx[1]; in udma_setup_resources() 4999 ud->rchan_tpl.start_idx[0] = ud->tchan_tpl.start_idx[0]; in pktdma_setup_resources() [all …]
|
| /drivers/perf/ |
| A D | arm_dmc620_pmu.c | 296 int idx, start_idx, end_idx; in dmc620_get_event_idx() local 299 start_idx = 0; in dmc620_get_event_idx() 302 start_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx() 306 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | pci.c | 1564 [RTW89_TXCH_ACH0] = {.start_idx = 0, .max_num = 5, .min_num = 2}, 1565 [RTW89_TXCH_ACH1] = {.start_idx = 5, .max_num = 5, .min_num = 2}, 1566 [RTW89_TXCH_ACH2] = {.start_idx = 10, .max_num = 5, .min_num = 2}, 1567 [RTW89_TXCH_ACH3] = {.start_idx = 15, .max_num = 5, .min_num = 2}, 1568 [RTW89_TXCH_ACH4] = {.start_idx = 20, .max_num = 5, .min_num = 2}, 1569 [RTW89_TXCH_ACH5] = {.start_idx = 25, .max_num = 5, .min_num = 2}, 1570 [RTW89_TXCH_ACH6] = {.start_idx = 30, .max_num = 5, .min_num = 2}, 1571 [RTW89_TXCH_ACH7] = {.start_idx = 35, .max_num = 5, .min_num = 2}, 1572 [RTW89_TXCH_CH8] = {.start_idx = 40, .max_num = 5, .min_num = 1}, 1573 [RTW89_TXCH_CH9] = {.start_idx = 45, .max_num = 5, .min_num = 1}, [all …]
|
| /drivers/net/wireless/ath/wil6210/ |
| A 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/input/rmi4/ |
| A D | rmi_bus.c | 386 static void __rmi_unregister_function_handlers(int start_idx) in __rmi_unregister_function_handlers() argument 390 for (i = start_idx; i >= 0; i--) in __rmi_unregister_function_handlers()
|
| /drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | main.c | 399 u32 start_idx, u32 num_events, in iwl_print_cont_event_trace() argument 407 ptr = base + (4 * sizeof(u32)) + (start_idx * 2 * sizeof(u32)); in iwl_print_cont_event_trace() 409 ptr = base + (4 * sizeof(u32)) + (start_idx * 3 * sizeof(u32)); in iwl_print_cont_event_trace() 424 if (WARN_ON(num_events > capacity - start_idx)) in iwl_print_cont_event_trace() 425 num_events = capacity - start_idx; in iwl_print_cont_event_trace() 1698 static int iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, in iwl_print_event_log() argument 1727 ptr = base + EVENT_START_OFFSET + (start_idx * event_size); in iwl_print_event_log()
|
| /drivers/block/drbd/ |
| A 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/ |
| A D | sunvdc.c | 340 pkt->start_idx != pkt->end_idx || in vdc_ack() 341 pkt->start_idx >= VDC_TX_RING_SIZE)) in vdc_ack() 344 vdc_end_one(port, dr, pkt->start_idx); in vdc_ack() 436 .start_idx = dr->prod, in __vdc_tx_trigger()
|
| /drivers/infiniband/hw/hns/ |
| A D | hns_roce_hem.c | 87 u64 start_idx = round_down(hem_idx, bt_chunk_num); in hns_roce_check_hem_null() local 88 u64 check_max_num = start_idx + bt_chunk_num; in hns_roce_check_hem_null() 91 for (i = start_idx; (i < check_max_num) && (i < hem_max_num); i++) in hns_roce_check_hem_null() 100 u64 start_idx = round_down(ba_idx, bt_chunk_num); in hns_roce_check_bt_null() local 104 if (i != ba_idx && bt[start_idx + i]) in hns_roce_check_bt_null()
|