Home
last modified time | relevance | path

Searched refs:num_paths (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/interconnect/
Dbulk.c15 int __must_check of_icc_bulk_get(struct device *dev, int num_paths, in of_icc_bulk_get() argument
20 for (i = 0; i < num_paths; i++) { in of_icc_bulk_get()
46 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
48 while (--num_paths >= 0) { in icc_bulk_put()
49 icc_put(paths[num_paths].path); in icc_bulk_put()
50 paths[num_paths].path = NULL; in icc_bulk_put()
62 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
67 for (i = 0; i < num_paths; i++) { in icc_bulk_set_bw()
86 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_enable() argument
90 for (i = 0; i < num_paths; i++) { in icc_bulk_enable()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dinterconnect.h41 int __must_check of_icc_bulk_get(struct device *dev, int num_paths,
43 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths);
44 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths);
45 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths);
46 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h127 __u32 num_paths; member
146 __u32 num_paths; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_cm.h114 __u32 num_paths; member
129 __u32 num_paths; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h164 __u32 num_paths; member
185 __u32 num_paths; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c235 dpu_cstate->new_perf.bw_ctl, kms->num_paths); in _dpu_core_perf_crtc_update_bus()
239 if (!kms->num_paths) in _dpu_core_perf_crtc_update_bus()
243 do_div(avg_bw, (kms->num_paths * 1000)); /*Bps_to_icc*/ in _dpu_core_perf_crtc_update_bus()
245 for (i = 0; i < kms->num_paths; i++) in _dpu_core_perf_crtc_update_bus()
Ddpu_kms.h146 u32 num_paths; member
Ddpu_kms.c303 dpu_kms->num_paths = 1; in dpu_kms_parse_data_bus_icc_path()
307 dpu_kms->num_paths++; in dpu_kms_parse_data_bus_icc_path()
1181 for (i = 0; i < dpu_kms->num_paths; i++) in dpu_runtime_suspend()
1199 WARN_ON(!(dpu_kms->num_paths)); in dpu_runtime_resume()
1201 for (i = 0; i < dpu_kms->num_paths; i++) in dpu_runtime_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c629 bna_rit_init(rxf, q_config->num_paths); in bna_rxf_init()
1265 (qcfg)->num_paths : ((qcfg)->num_paths * 2))
1626 cfg_req->num_queue_sets = rx->num_paths; in bna_bfi_rx_enet_start()
1627 for (i = 0; i < rx->num_paths; i++) { in bna_bfi_rx_enet_start()
1749 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1750 (rx_mod->rxq_free_count < rx_cfg->num_paths)) in bna_rx_res_check()
1753 if ((rx_mod->rxp_free_count < rx_cfg->num_paths) || in bna_rx_res_check()
1754 (rx_mod->rxq_free_count < (2 * rx_cfg->num_paths))) in bna_rx_res_check()
2099 i < rx->num_paths; i++, rxp = list_next_entry(rxp, qe)) { in bna_bfi_rx_enet_start_rsp()
2170 mem_info->num = q_cfg->num_paths; in bna_rx_res_req()
[all …]
Dbna_types.h657 int num_paths; member
782 int num_paths; member
Dbnad.c2031 rx_config->num_paths = bnad->num_rxp_per_rx; in bnad_init_rx_config()
2174 bnad_rx_msix_unregister(bnad, rx_info, rx_config->num_paths); in bnad_destroy_rx()
2222 rx_config->num_paths, in bnad_setup_rx()
2229 rx_config->num_paths, in bnad_setup_rx()
2265 rx_config->num_paths); in bnad_setup_rx()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dswitch.rst71 <num_paths> <region_size> <num_optional_args> [<optional_args>...] [<dev_path> <offset>]+
72 <num_paths>
105 The path number in the range 0 ... (<num_paths> - 1).
/kernel/linux/linux-5.10/drivers/opp/
Dof.c368 int ret, i, count, num_paths; in dev_pm_opp_of_find_icc_paths() local
393 num_paths = count / 2; in dev_pm_opp_of_find_icc_paths()
394 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths()
398 for (i = 0; i < num_paths; i++) { in dev_pm_opp_of_find_icc_paths()
412 opp_table->path_count = num_paths; in dev_pm_opp_of_find_icc_paths()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ducma.c757 resp->num_paths = route->num_paths; in ucma_copy_ib_route()
758 switch (route->num_paths) { in ucma_copy_ib_route()
784 resp->num_paths = route->num_paths; in ucma_copy_iboe_route()
785 switch (route->num_paths) { in ucma_copy_iboe_route()
924 resp->num_paths = ctx->cm_id->route.num_paths; in ucma_query_path()
926 i < resp->num_paths && out_len > sizeof(struct ib_path_rec_data); in ucma_query_path()
Dcma.c2114 rt->num_paths = ib_event->param.req_rcvd.alternate_path ? 2 : 1; in cma_ib_new_conn_id()
2115 rt->path_rec = kmalloc_array(rt->num_paths, sizeof(*rt->path_rec), in cma_ib_new_conn_id()
2121 if (rt->num_paths == 2) in cma_ib_new_conn_id()
2659 route->num_paths = 1; in cma_query_handler()
2914 id->route.num_paths = 1; in rdma_set_ib_path()
3047 route->num_paths = 1; in cma_resolve_iboe_route()
3107 route->num_paths = 0; in cma_resolve_iboe_route()
4079 if (route->num_paths == 2) in cma_connect_ib()
/kernel/linux/linux-5.10/drivers/message/fusion/
Dmptscsih.c2130 int num_paths; in mptscsih_is_phys_disk() local
2149 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, in mptscsih_is_phys_disk()
2151 if (num_paths < 2) in mptscsih_is_phys_disk()
2154 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptscsih_is_phys_disk()
2163 for (j = 0; j < num_paths; j++) { in mptscsih_is_phys_disk()
2208 int num_paths; in mptscsih_raid_id_to_num() local
2227 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, in mptscsih_raid_id_to_num()
2229 if (num_paths < 2) in mptscsih_raid_id_to_num()
2232 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptscsih_raid_id_to_num()
2241 for (j = 0; j < num_paths; j++) { in mptscsih_raid_id_to_num()
Dmptsas.c4146 int num_paths; in mptsas_find_phyinfo_by_phys_disk_num() local
4154 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, phys_disk_num); in mptsas_find_phyinfo_by_phys_disk_num()
4155 if (!num_paths) in mptsas_find_phyinfo_by_phys_disk_num()
4158 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptsas_find_phyinfo_by_phys_disk_num()
4162 for (i = 0; i < num_paths; i++) { in mptsas_find_phyinfo_by_phys_disk_num()
/kernel/linux/linux-5.10/include/rdma/
Drdma_cm.h55 int num_paths; member
/kernel/linux/linux-5.10/drivers/platform/x86/
Dthinkpad_acpi.c697 char **paths, const int num_paths) in drv_acpi_handle_init() argument
705 for (i = 0; i < num_paths; i++) { in drv_acpi_handle_init()