/linux-6.1.9/drivers/interconnect/ |
D | bulk.c | 15 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-6.1.9/include/linux/ |
D | interconnect.h | 47 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths); 55 int __must_check of_icc_bulk_get(struct device *dev, int num_paths, 57 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 58 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 59 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 60 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths); 115 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument 120 static inline int devm_of_icc_bulk_get(struct device *dev, int num_paths, in devm_of_icc_bulk_get() argument 126 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument 130 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument [all …]
|
D | netdevice.h | 934 int num_paths; member
|
/linux-6.1.9/samples/landlock/ |
D | sandboxer.c | 58 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() 86 int num_paths, i, ret = 1; in populate_ruleset() local 101 num_paths = parse_path(env_path_name, &path_list); in populate_ruleset() 102 if (num_paths == 1 && path_list[0][0] == '\0') { in populate_ruleset() 111 for (i = 0; i < num_paths; i++) { in populate_ruleset()
|
/linux-6.1.9/drivers/soc/imx/ |
D | imx8m-blk-ctrl.c | 42 int num_paths; member 67 int num_paths; member 126 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8m_blk_ctrl_power_on() 223 domain->num_paths = data->num_paths; in imx8m_blk_ctrl_probe() 228 for (j = 0; j < data->num_paths; j++) { in imx8m_blk_ctrl_probe() 235 ret = devm_of_icc_bulk_get(dev, data->num_paths, domain->paths); in imx8m_blk_ctrl_probe() 239 domain->num_paths = 0; in imx8m_blk_ctrl_probe() 481 .num_paths = 1, 491 .num_paths = 1, 501 .num_paths = 1, [all …]
|
D | imx8mp-blk-ctrl.c | 43 int num_paths; member 57 int num_paths; member 164 .num_paths = 2, 180 .num_paths = 2, 362 .num_paths = 1, 400 .num_paths = 1, 408 .num_paths = 1, 452 ret = icc_bulk_set_bw(domain->num_paths, domain->paths); in imx8mp_blk_ctrl_power_on() 557 domain->num_paths = data->num_paths; in imx8mp_blk_ctrl_probe() 562 for (j = 0; j < data->num_paths; j++) { in imx8mp_blk_ctrl_probe() [all …]
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_mdss.c | 43 u32 num_paths; member 57 msm_mdss->num_paths = 1; in msm_mdss_parse_data_bus_icc_path() 62 msm_mdss->num_paths++; in msm_mdss_parse_data_bus_icc_path() 73 for (i = 0; i < msm_mdss->num_paths; i++) in msm_mdss_put_icc_path() 81 for (i = 0; i < msm_mdss->num_paths; i++) in msm_mdss_icc_request_bw()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_core_perf.c | 233 dpu_cstate->new_perf.bw_ctl, kms->num_paths); in _dpu_core_perf_crtc_update_bus() 237 if (!kms->num_paths) in _dpu_core_perf_crtc_update_bus() 241 do_div(avg_bw, (kms->num_paths * 1000)); /*Bps_to_icc*/ in _dpu_core_perf_crtc_update_bus() 243 for (i = 0; i < kms->num_paths; i++) in _dpu_core_perf_crtc_update_bus()
|
D | dpu_kms.h | 114 u32 num_paths; member
|
D | dpu_kms.c | 395 dpu_kms->num_paths = 1; in dpu_kms_parse_data_bus_icc_path() 399 dpu_kms->num_paths++; in dpu_kms_parse_data_bus_icc_path() 1261 for (i = 0; i < dpu_kms->num_paths; i++) in dpu_runtime_suspend()
|
/linux-6.1.9/include/uapi/rdma/ |
D | rdma_user_cm.h | 164 __u32 num_paths; member 185 __u32 num_paths; member
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 629 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 …]
|
D | bna_types.h | 657 int num_paths; member 782 int num_paths; member
|
D | bnad.c | 2030 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()
|
/linux-6.1.9/Documentation/admin-guide/device-mapper/ |
D | switch.rst | 71 <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-6.1.9/drivers/opp/ |
D | of.c | 465 int ret, i, count, num_paths; in dev_pm_opp_of_find_icc_paths() local 492 num_paths = count / 2; in dev_pm_opp_of_find_icc_paths() 493 paths = kcalloc(num_paths, sizeof(*paths), GFP_KERNEL); in dev_pm_opp_of_find_icc_paths() 497 for (i = 0; i < num_paths; i++) { in dev_pm_opp_of_find_icc_paths() 511 opp_table->path_count = num_paths; in dev_pm_opp_of_find_icc_paths()
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptscsih.c | 2130 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()
|
D | mptsas.c | 4175 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-6.1.9/net/netfilter/ |
D | nft_flow_offload.c | 103 for (i = 0; i < stack->num_paths; i++) { in nft_dev_path_info() 117 i = stack->num_paths; in nft_dev_path_info()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | ucma.c | 757 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()
|
D | sa_query.c | 135 int num_paths, void *context); 1581 int num_paths, void *context), in ib_sa_path_rec_get() argument 1772 int status, int num_paths, in ib_sa_guidinfo_rec_callback() argument
|
/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 106 path = &stack.path[stack.num_paths - 1]; in mtk_flow_get_wdma_info()
|
/linux-6.1.9/drivers/platform/x86/ |
D | thinkpad_acpi.c | 726 char **paths, const int num_paths) in drv_acpi_handle_init() argument 734 for (i = 0; i < num_paths; i++) { in drv_acpi_handle_init()
|
/linux-6.1.9/net/core/ |
D | dev.c | 673 int k = stack->num_paths++; in dev_fwd_path() 692 stack->num_paths = 0; in dev_fill_forward_path()
|
/linux-6.1.9/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 702 int num_paths, void *ch_ptr) in srp_path_rec_completion() argument
|