Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/interconnect/
H A 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 …]
/openbmc/linux/include/linux/
H A 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 …]
H A Dnetdevice.h928 int num_paths; member
/openbmc/linux/samples/landlock/
H A 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()
/openbmc/linux/drivers/pmdomain/imx/
H A 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 …]
H A 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()
[all...]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A 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()
H A Ddpu_kms.h103 u32 num_paths; member
H A 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()
/openbmc/linux/include/uapi/rdma/
H A Drdma_user_cm.h164 __u32 num_paths; member
185 __u32 num_paths; member
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A 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 …]
H A Dbna_types.h666 int num_paths; member
797 int num_paths; member
H A Dbnad.c2030 rx_config->num_paths = bnad->num_rxp_per_rx; in bnad_init_rx_config()
2173 bnad_rx_msix_unregister(bnad, rx_info, rx_config->num_paths); in bnad_destroy_rx()
2221 rx_config->num_paths, in bnad_setup_rx()
2228 rx_config->num_paths, in bnad_setup_rx()
2264 rx_config->num_paths); in bnad_setup_rx()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A 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).
/openbmc/linux/drivers/opp/
H A 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()
/openbmc/linux/drivers/message/fusion/
H A 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()
H A 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()
/openbmc/linux/net/netfilter/
H A 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()
/openbmc/linux/drivers/infiniband/core/
H A 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()
H A Dsa_query.c129 unsigned int num_paths, void *context);
1523 unsigned int num_paths, void *context), in ib_sa_path_rec_get() argument
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c106 path = &stack.path[stack.num_paths - 1]; in mtk_flow_get_wdma_info()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp366 constexpr size_t num_paths = sizeof(paths) / sizeof(paths[0]); in getSensorMap() local
369 for (size_t i = 0; i < num_paths; i++) in getSensorMap()
/openbmc/linux/sound/pci/hda/
H A Dhda_generic.c4994 int i, p, num_paths; in snd_hda_gen_shutup_speakers() local
5003 num_paths = spec->autocfg.line_outs; in snd_hda_gen_shutup_speakers()
5006 num_paths = spec->autocfg.speaker_outs; in snd_hda_gen_shutup_speakers()
5009 for (i = 0; i < num_paths; i++) { in snd_hda_gen_shutup_speakers()
/openbmc/linux/drivers/platform/x86/
H A 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()
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c697 unsigned int num_paths, void *ch_ptr) in srp_path_rec_completion() argument

12