Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/include/linux/
Dinterconnect.h45 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths);
53 int __must_check of_icc_bulk_get(struct device *dev, int num_paths,
55 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths);
56 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths);
57 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths);
58 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
107 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument
112 static inline int devm_of_icc_bulk_get(struct device *dev, int num_paths, in devm_of_icc_bulk_get() argument
118 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument
122 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument
[all …]
Dnetdevice.h928 int num_paths; member
/Linux-v6.6/samples/landlock/
Dsandboxer.c58 int i, num_paths = 0; in parse_path() local
61 num_paths++; in parse_path()
64 num_paths++; in parse_path()
67 *path_list = malloc(num_paths * sizeof(**path_list)); in parse_path()
68 for (i = 0; i < num_paths; i++) in parse_path()
71 return num_paths; in parse_path()
87 int num_paths, i, ret = 1; in populate_ruleset() local
102 num_paths = parse_path(env_path_name, &path_list); in populate_ruleset()
103 if (num_paths == 1 && path_list[0][0] == '\0') { in populate_ruleset()
112 for (i = 0; i < num_paths; i++) { in populate_ruleset()
/Linux-v6.6/drivers/pmdomain/imx/
Dimx8m-blk-ctrl.c45 int num_paths; member
69 int num_paths; member
128 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8m_blk_ctrl_power_on()
230 domain->num_paths = data->num_paths; in imx8m_blk_ctrl_probe()
235 for (j = 0; j < data->num_paths; j++) { in imx8m_blk_ctrl_probe()
242 ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); in imx8m_blk_ctrl_probe()
246 domain->num_paths = 0; in imx8m_blk_ctrl_probe()
492 .num_paths = 1,
502 .num_paths = 1,
512 .num_paths = 1,
[all …]
Dimx8mp-blk-ctrl.c54 int num_paths; member
68 int num_paths; member
262 .num_paths = 2,
278 .num_paths = 2,
464 .num_paths = 1,
502 .num_paths = 1,
510 .num_paths = 1,
554 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8mp_blk_ctrl_power_on()
659 domain->num_paths = data->num_paths; in imx8mp_blk_ctrl_probe()
664 for (j = 0; j < data->num_paths; j++) { in imx8mp_blk_ctrl_probe()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_mdss.c44 u32 num_paths; member
58 msm_mdss->num_paths = 1; in msm_mdss_parse_data_bus_icc_path()
63 msm_mdss->num_paths++; in msm_mdss_parse_data_bus_icc_path()
74 for (i = 0; i < msm_mdss->num_paths; i++) in msm_mdss_put_icc_path()
82 for (i = 0; i < msm_mdss->num_paths; i++) in msm_mdss_icc_request_bw()
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.c218 if (!kms->num_paths) in _dpu_core_perf_crtc_update_bus()
234 dpu_cstate->new_perf.bw_ctl, kms->num_paths); in _dpu_core_perf_crtc_update_bus()
239 do_div(avg_bw, (kms->num_paths * 1000)); /*Bps_to_icc*/ in _dpu_core_perf_crtc_update_bus()
241 for (i = 0; i < kms->num_paths; i++) in _dpu_core_perf_crtc_update_bus()
Ddpu_kms.h112 u32 num_paths; member
Ddpu_kms.c402 dpu_kms->num_paths = 1; in dpu_kms_parse_data_bus_icc_path()
406 dpu_kms->num_paths++; in dpu_kms_parse_data_bus_icc_path()
1323 for (i = 0; i < dpu_kms->num_paths; i++) in dpu_runtime_suspend()
/Linux-v6.6/include/uapi/rdma/
Drdma_user_cm.h164 __u32 num_paths; member
185 __u32 num_paths; member
/Linux-v6.6/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.h666 int num_paths; member
797 int num_paths; member
Dbnad.c2029 rx_config->num_paths = bnad->num_rxp_per_rx; in bnad_init_rx_config()
2172 bnad_rx_msix_unregister(bnad, rx_info, rx_config->num_paths); in bnad_destroy_rx()
2220 rx_config->num_paths, in bnad_setup_rx()
2227 rx_config->num_paths, in bnad_setup_rx()
2263 rx_config->num_paths); in bnad_setup_rx()
/Linux-v6.6/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).
/Linux-v6.6/drivers/opp/
Dof.c481 int ret, i, count, num_paths; in dev_pm_opp_of_find_icc_paths() local
508 num_paths = count / 2; in dev_pm_opp_of_find_icc_paths()
509 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths()
513 for (i = 0; i < num_paths; i++) { in dev_pm_opp_of_find_icc_paths()
523 opp_table->path_count = num_paths; in dev_pm_opp_of_find_icc_paths()
/Linux-v6.6/drivers/message/fusion/
Dmptscsih.c2129 int num_paths; in mptscsih_is_phys_disk() local
2148 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, in mptscsih_is_phys_disk()
2150 if (num_paths < 2) in mptscsih_is_phys_disk()
2153 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptscsih_is_phys_disk()
2162 for (j = 0; j < num_paths; j++) { in mptscsih_is_phys_disk()
2207 int num_paths; in mptscsih_raid_id_to_num() local
2226 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, in mptscsih_raid_id_to_num()
2228 if (num_paths < 2) in mptscsih_raid_id_to_num()
2231 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptscsih_raid_id_to_num()
2240 for (j = 0; j < num_paths; j++) { in mptscsih_raid_id_to_num()
Dmptsas.c4175 int num_paths; in mptsas_find_phyinfo_by_phys_disk_num() local
4183 num_paths = mpt_raid_phys_disk_get_num_paths(ioc, phys_disk_num); in mptsas_find_phyinfo_by_phys_disk_num()
4184 if (!num_paths) in mptsas_find_phyinfo_by_phys_disk_num()
4187 (num_paths * sizeof(RAID_PHYS_DISK1_PATH)), GFP_KERNEL); in mptsas_find_phyinfo_by_phys_disk_num()
4191 for (i = 0; i < num_paths; i++) { in mptsas_find_phyinfo_by_phys_disk_num()
/Linux-v6.6/net/netfilter/
Dnft_flow_offload.c103 for (i = 0; i < stack->num_paths; i++) { in nft_dev_path_info()
117 i = stack->num_paths; in nft_dev_path_info()
/Linux-v6.6/drivers/infiniband/core/
Ducma.c757 resp->num_paths = route->num_pri_alt_paths; in ucma_copy_ib_route()
784 resp->num_paths = route->num_pri_alt_paths; in ucma_copy_iboe_route()
924 resp->num_paths = ctx->cm_id->route.num_pri_alt_paths; in ucma_query_path()
926 i < resp->num_paths && out_len > sizeof(struct ib_path_rec_data); in ucma_query_path()
Dsa_query.c129 unsigned int num_paths, void *context);
1523 unsigned int num_paths, void *context), in ib_sa_path_rec_get() argument
/Linux-v6.6/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c106 path = &stack.path[stack.num_paths - 1]; in mtk_flow_get_wdma_info()
/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c719 char **paths, const int num_paths) in drv_acpi_handle_init() argument
727 for (i = 0; i < num_paths; i++) { in drv_acpi_handle_init()
/Linux-v6.6/net/core/
Ddev.c689 int k = stack->num_paths++; in dev_fwd_path()
708 stack->num_paths = 0; in dev_fill_forward_path()
/Linux-v6.6/drivers/infiniband/ulp/srp/
Dib_srp.c697 unsigned int num_paths, void *ch_ptr) in srp_path_rec_completion() argument