Home
last modified time | relevance | path

Searched full:pl (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/Linux-v5.10/drivers/net/phy/
Dphylink.c82 #define phylink_printk(level, pl, fmt, ...) \ argument
84 if ((pl)->config->type == PHYLINK_NETDEV) \
85 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \
86 else if ((pl)->config->type == PHYLINK_DEV) \
87 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \
90 #define phylink_err(pl, fmt, ...) \ argument
91 phylink_printk(KERN_ERR, pl, fmt, ##__VA_ARGS__)
92 #define phylink_warn(pl, fmt, ...) \ argument
93 phylink_printk(KERN_WARNING, pl, fmt, ##__VA_ARGS__)
94 #define phylink_info(pl, fmt, ...) \ argument
[all …]
/Linux-v5.10/net/ceph/
Dpagelist.c11 struct ceph_pagelist *pl; in ceph_pagelist_alloc() local
13 pl = kmalloc(sizeof(*pl), gfp_flags); in ceph_pagelist_alloc()
14 if (!pl) in ceph_pagelist_alloc()
17 INIT_LIST_HEAD(&pl->head); in ceph_pagelist_alloc()
18 pl->mapped_tail = NULL; in ceph_pagelist_alloc()
19 pl->length = 0; in ceph_pagelist_alloc()
20 pl->room = 0; in ceph_pagelist_alloc()
21 INIT_LIST_HEAD(&pl->free_list); in ceph_pagelist_alloc()
22 pl->num_pages_free = 0; in ceph_pagelist_alloc()
23 refcount_set(&pl->refcnt, 1); in ceph_pagelist_alloc()
[all …]
/Linux-v5.10/lib/
Dflex_proportions.c94 int fprop_local_init_single(struct fprop_local_single *pl) in fprop_local_init_single() argument
96 pl->events = 0; in fprop_local_init_single()
97 pl->period = 0; in fprop_local_init_single()
98 raw_spin_lock_init(&pl->lock); in fprop_local_init_single()
102 void fprop_local_destroy_single(struct fprop_local_single *pl) in fprop_local_destroy_single() argument
107 struct fprop_local_single *pl) in fprop_reflect_period_single() argument
113 if (pl->period == period) in fprop_reflect_period_single()
115 raw_spin_lock_irqsave(&pl->lock, flags); in fprop_reflect_period_single()
116 /* Someone updated pl->period while we were spinning? */ in fprop_reflect_period_single()
117 if (pl->period >= period) { in fprop_reflect_period_single()
[all …]
/Linux-v5.10/include/linux/ceph/
Dpagelist.h21 struct ceph_pagelist *pl; /* pagelist, for error checking */ member
28 extern void ceph_pagelist_release(struct ceph_pagelist *pl);
30 extern int ceph_pagelist_append(struct ceph_pagelist *pl, const void *d, size_t l);
32 extern int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space);
34 extern int ceph_pagelist_free_reserve(struct ceph_pagelist *pl);
36 extern void ceph_pagelist_set_cursor(struct ceph_pagelist *pl,
39 extern int ceph_pagelist_truncate(struct ceph_pagelist *pl,
42 static inline int ceph_pagelist_encode_64(struct ceph_pagelist *pl, u64 v) in ceph_pagelist_encode_64() argument
45 return ceph_pagelist_append(pl, &ev, sizeof(ev)); in ceph_pagelist_encode_64()
47 static inline int ceph_pagelist_encode_32(struct ceph_pagelist *pl, u32 v) in ceph_pagelist_encode_32() argument
[all …]
/Linux-v5.10/include/linux/
Dflex_proportions.h56 int fprop_local_init_single(struct fprop_local_single *pl);
57 void fprop_local_destroy_single(struct fprop_local_single *pl);
58 void __fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl);
60 struct fprop_local_single *pl, unsigned long *numerator,
64 void fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl) in fprop_inc_single() argument
69 __fprop_inc_single(p, pl); in fprop_inc_single()
84 int fprop_local_init_percpu(struct fprop_local_percpu *pl, gfp_t gfp);
85 void fprop_local_destroy_percpu(struct fprop_local_percpu *pl);
86 void __fprop_inc_percpu(struct fprop_global *p, struct fprop_local_percpu *pl);
87 void __fprop_inc_percpu_max(struct fprop_global *p, struct fprop_local_percpu *pl,
[all …]
Dlightnvm.h57 u64 pl : NVM_12_PL_BITS; member
453 l.ppa |= ((u64)r.g.pl) << ppaf->pln_offset; in generic_to_dev_addr()
482 l.g.pl = (r.ppa & ppaf->pln_mask) >> ppaf->pln_offset; in dev_to_generic_addr()
506 caddr |= (u64)p.g.pl << ppaf->pln_offset; in dev_to_chunk_addr()
541 ppa64.g.pl = (ppa32 & ppaf->pln_mask) >> in nvm_ppa32_to_ppa64()
582 ppa32 |= ppa64.g.pl << ppaf->pln_offset; in nvm_ppa64_to_ppa32()
613 int pl = ppa->g.pl; in nvm_next_ppa_in_chk() local
616 pl++; in nvm_next_ppa_in_chk()
617 if (pl == geo->num_pln) in nvm_next_ppa_in_chk()
620 ppa->g.pl = pl; in nvm_next_ppa_in_chk()
/Linux-v5.10/drivers/net/usb/
Dplusb.c3 * PL-2301/2302 USB host-to-host link cables
21 * Prolific PL-2301/PL-2302 driver ... http://www.prolific.com.tw/
93 .description = "Prolific PL-2301/PL-2302/PL-25A1/PL-27A1",
95 /* some PL-2302 versions seem to fail usb_set_interface() */
111 USB_DEVICE(0x067b, 0x0000), // PL-2301
114 USB_DEVICE(0x067b, 0x0001), // PL-2302
120 USB_DEVICE(0x067b, 0x25a1), /* PL-25A1, no eeprom */
123 USB_DEVICE(0x050d, 0x258a), /* Belkin F5U258/F5U279 (PL-25A1) */
135 USB_DEVICE(0x067b, 0x27a1), /* PL-27A1, no eeprom
160 MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1/27A1 USB Host to Host Link Driver");
/Linux-v5.10/kernel/bpf/
Dcgroup.c122 struct bpf_prog_list *pl, *pltmp; in cgroup_bpf_release() local
124 list_for_each_entry_safe(pl, pltmp, progs, node) { in cgroup_bpf_release()
125 list_del(&pl->node); in cgroup_bpf_release()
126 if (pl->prog) in cgroup_bpf_release()
127 bpf_prog_put(pl->prog); in cgroup_bpf_release()
128 if (pl->link) in cgroup_bpf_release()
129 bpf_cgroup_link_auto_detach(pl->link); in cgroup_bpf_release()
130 kfree(pl); in cgroup_bpf_release()
169 static struct bpf_prog *prog_list_prog(struct bpf_prog_list *pl) in prog_list_prog() argument
171 if (pl->prog) in prog_list_prog()
[all …]
/Linux-v5.10/drivers/gpu/drm/radeon/
Drv770_dpm.c227 struct rv7xx_pl *pl) in rv770_get_seq_value() argument
229 return (pl->flags & ATOM_PPLIB_R600_FLAGS_LOWPOWER) ? in rv770_get_seq_value()
614 struct rv7xx_pl *pl, in rv770_convert_power_level_to_smc() argument
622 ((pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0) : 0; in rv770_convert_power_level_to_smc()
623 level->gen2XSP = (pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0; in rv770_convert_power_level_to_smc()
624 level->backbias = (pl->flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) ? 1 : 0; in rv770_convert_power_level_to_smc()
628 ret = rv740_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
631 ret = rv730_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
634 ret = rv770_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
641 if (pl->mclk <= pi->mclk_strobe_mode_threshold) in rv770_convert_power_level_to_smc()
[all …]
Drv6xx_dpm.c1823 struct rv6xx_pl *pl; in rv6xx_parse_pplib_clock_info() local
1827 pl = &ps->low; in rv6xx_parse_pplib_clock_info()
1830 pl = &ps->medium; in rv6xx_parse_pplib_clock_info()
1834 pl = &ps->high; in rv6xx_parse_pplib_clock_info()
1843 pl->mclk = mclk; in rv6xx_parse_pplib_clock_info()
1844 pl->sclk = sclk; in rv6xx_parse_pplib_clock_info()
1845 pl->vddc = le16_to_cpu(clock_info->r600.usVDDC); in rv6xx_parse_pplib_clock_info()
1846 pl->flags = le32_to_cpu(clock_info->r600.ulFlags); in rv6xx_parse_pplib_clock_info()
1849 if (pl->vddc == 0xff01) { in rv6xx_parse_pplib_clock_info()
1851 pl->vddc = vddc; in rv6xx_parse_pplib_clock_info()
[all …]
Dni_dpm.c1615 struct rv7xx_pl *pl, in ni_populate_memory_timing_parameters() argument
1622 (u8)rv770_calculate_memory_refresh_rate(rdev, pl->sclk); in ni_populate_memory_timing_parameters()
1625 radeon_atom_set_engine_dram_timings(rdev, pl->sclk, pl->mclk); in ni_populate_memory_timing_parameters()
2309 struct rv7xx_pl *pl, in ni_convert_power_level_to_smc() argument
2321 ((pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0) : 0; in ni_convert_power_level_to_smc()
2323 ret = ni_populate_sclk_value(rdev, pl->sclk, &level->sclk); in ni_convert_power_level_to_smc()
2329 (pl->mclk <= pi->mclk_stutter_mode_threshold) && in ni_convert_power_level_to_smc()
2336 if (pl->mclk > pi->mclk_edc_enable_threshold) in ni_convert_power_level_to_smc()
2338 if (pl->mclk > eg_pi->mclk_edc_wr_enable_threshold) in ni_convert_power_level_to_smc()
2341 level->strobeMode = cypress_get_strobe_mode_settings(rdev, pl->mclk); in ni_convert_power_level_to_smc()
[all …]
Dsumo_dpm.c547 struct sumo_pl *pl, u32 index) in sumo_program_power_level() argument
555 pl->sclk, false, &dividers); in sumo_program_power_level()
561 sumo_set_vid(rdev, index, pl->vddc_index); in sumo_program_power_level()
563 if (pl->ss_divider_index == 0 || pl->ds_divider_index == 0) { in sumo_program_power_level()
567 sumo_set_ss_dividers(rdev, index, pl->ss_divider_index); in sumo_program_power_level()
568 sumo_set_ds_dividers(rdev, index, pl->ds_divider_index); in sumo_program_power_level()
574 sumo_set_allos_gnb_slow(rdev, index, pl->allow_gnb_slow); in sumo_program_power_level()
577 sumo_set_tdp_limit(rdev, index, pl->sclk_dpm_tdp_limit); in sumo_program_power_level()
1435 struct sumo_pl *pl = &ps->levels[index]; in sumo_parse_pplib_clock_info() local
1440 pl->sclk = sclk; in sumo_parse_pplib_clock_info()
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk20a.c32 /* PL: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 */
36 static u32 pl_to_div(u32 pl) in pl_to_div() argument
38 if (pl >= ARRAY_SIZE(_pl_to_div)) in pl_to_div()
41 return _pl_to_div[pl]; in pl_to_div()
46 u32 pl; in div_to_pl() local
48 for (pl = 0; pl < ARRAY_SIZE(_pl_to_div) - 1; pl++) { in div_to_pl()
49 if (_pl_to_div[pl] >= div) in div_to_pl()
50 return pl; in div_to_pl()
73 pll->pl = (val >> GPCPLL_COEFF_P_SHIFT) & MASK(GPCPLL_COEFF_P_WIDTH); in gk20a_pllg_read_mnp()
84 val |= (pll->pl & MASK(GPCPLL_COEFF_P_WIDTH)) << GPCPLL_COEFF_P_SHIFT; in gk20a_pllg_write_mnp()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Drda8810pl.dtsi12 compatible = "rda,8810pl";
43 compatible = "rda,8810pl-gpio";
58 compatible = "rda,8810pl-intc";
72 compatible = "rda,8810pl-timer";
80 compatible = "rda,8810pl-gpio";
91 compatible = "rda,8810pl-gpio";
102 compatible = "rda,8810pl-gpio";
120 compatible = "rda,8810pl-uart";
127 compatible = "rda,8810pl-uart";
134 compatible = "rda,8810pl-uart";
/Linux-v5.10/drivers/md/
Ddm-kcopyd.c216 struct page_list *pl; in alloc_pl() local
218 pl = kmalloc(sizeof(*pl), gfp); in alloc_pl()
219 if (!pl) in alloc_pl()
222 pl->page = alloc_page(gfp); in alloc_pl()
223 if (!pl->page) { in alloc_pl()
224 kfree(pl); in alloc_pl()
228 return pl; in alloc_pl()
231 static void free_pl(struct page_list *pl) in free_pl() argument
233 __free_page(pl->page); in free_pl()
234 kfree(pl); in free_pl()
[all …]
/Linux-v5.10/tools/testing/ktest/examples/include/
Dbisect.conf44 # it in the directory we called ktest.pl from and named it
48 # build or boot fails, ktest.pl will do a 'git bisect skip'.
54 # Set BISECT_REPLAY to /tmp/replay and ktest.pl will run the
59 # By setting BISECT_START to a new commit. ktest.pl will checkout
64 # Now if you don't trust ktest.pl to make the decisions for you, then
65 # set BISECT_MANUAL to 1. This will cause ktest.pl not to decide
70 # ktest if you think it was good or not and ktest.pl will continue
Dmin-config.conf29 # that ktest.pl found would not boot the target without them set.
30 # The config-new-min holds configs that ktest.pl could not test
40 # modifying this config, ktest.pl will notice that the config-new-min(-net)
42 # The USE_OUTPUT_MIN_CONFIG is set to 1 to keep ktest.pl from asking
44 # By using the OUTPUT_MIN_CONFIG as the starting point will allow ktest.pl to
/Linux-v5.10/drivers/media/platform/qcom/venus/
Dhfi_parser.c87 const struct hfi_profile_level *pl = data; in fill_profile_level() local
89 memcpy(&cap->pl[cap->num_pl], pl, num * sizeof(*pl)); in fill_profile_level()
96 struct hfi_profile_level_supported *pl = data; in parse_profile_level() local
97 struct hfi_profile_level *proflevel = pl->profile_level; in parse_profile_level()
100 if (pl->profile_count > HFI_MAX_PROFILE_COUNT) in parse_profile_level()
103 memcpy(pl_arr, proflevel, pl->profile_count * sizeof(*proflevel)); in parse_profile_level()
106 fill_profile_level, pl_arr, pl->profile_count); in parse_profile_level()
/Linux-v5.10/mm/
Dpercpu-stats.c168 #define PL(X) \ in percpu_stats_show() macro
175 PL(unit_size); in percpu_stats_show()
176 PL(static_size); in percpu_stats_show()
177 PL(reserved_size); in percpu_stats_show()
178 PL(dyn_size); in percpu_stats_show()
179 PL(atom_size); in percpu_stats_show()
180 PL(alloc_size); in percpu_stats_show()
183 #undef PL in percpu_stats_show()
/Linux-v5.10/drivers/target/iscsi/
Discsi_target_parameters.c197 struct iscsi_param_list *pl; in iscsi_create_default_params() local
199 pl = kzalloc(sizeof(struct iscsi_param_list), GFP_KERNEL); in iscsi_create_default_params()
200 if (!pl) { in iscsi_create_default_params()
205 INIT_LIST_HEAD(&pl->param_list); in iscsi_create_default_params()
206 INIT_LIST_HEAD(&pl->extra_response_list); in iscsi_create_default_params()
219 param = iscsi_set_default_param(pl, AUTHMETHOD, INITIAL_AUTHMETHOD, in iscsi_create_default_params()
225 param = iscsi_set_default_param(pl, HEADERDIGEST, INITIAL_HEADERDIGEST, in iscsi_create_default_params()
231 param = iscsi_set_default_param(pl, DATADIGEST, INITIAL_DATADIGEST, in iscsi_create_default_params()
237 param = iscsi_set_default_param(pl, MAXCONNECTIONS, in iscsi_create_default_params()
244 param = iscsi_set_default_param(pl, SENDTARGETS, INITIAL_SENDTARGETS, in iscsi_create_default_params()
[all …]
/Linux-v5.10/net/dsa/
Dport.c98 if (dp->pl) in dsa_port_enable_rt()
99 phylink_start(dp->pl); in dsa_port_enable_rt()
120 if (dp->pl) in dsa_port_disable_rt()
121 phylink_stop(dp->pl); in dsa_port_disable_rt()
692 dp->pl = phylink_create(&dp->pl_config, of_fwnode_handle(port_dn), in dsa_port_phylink_register()
694 if (IS_ERR(dp->pl)) { in dsa_port_phylink_register()
695 pr_err("error creating PHYLINK: %ld\n", PTR_ERR(dp->pl)); in dsa_port_phylink_register()
696 return PTR_ERR(dp->pl); in dsa_port_phylink_register()
699 err = phylink_of_phy_connect(dp->pl, port_dn, 0); in dsa_port_phylink_register()
708 phylink_destroy(dp->pl); in dsa_port_phylink_register()
[all …]
/Linux-v5.10/drivers/hwtracing/stm/
Ddummy_stm.c23 u64 pl = 0; in dummy_stm_packet() local
26 pl = *(u64 *)payload; in dummy_stm_packet()
29 pl &= (1ull << (size * 8)) - 1; in dummy_stm_packet()
31 packet, size, pl); in dummy_stm_packet()
/Linux-v5.10/drivers/misc/cxl/
Dfile.c392 struct cxl_event_afu_driver_reserved *pl) in afu_driver_event_copy() argument
395 if (!pl) { in afu_driver_event_copy()
396 ctx->afu_driver_ops->event_delivered(ctx, pl, -EINVAL); in afu_driver_event_copy()
401 event->header.size += pl->data_size; in afu_driver_event_copy()
403 ctx->afu_driver_ops->event_delivered(ctx, pl, -EINVAL); in afu_driver_event_copy()
409 ctx->afu_driver_ops->event_delivered(ctx, pl, -EFAULT); in afu_driver_event_copy()
415 if (copy_to_user(buf, &pl->data, pl->data_size)) { in afu_driver_event_copy()
416 ctx->afu_driver_ops->event_delivered(ctx, pl, -EFAULT); in afu_driver_event_copy()
420 ctx->afu_driver_ops->event_delivered(ctx, pl, 0); /* Success */ in afu_driver_event_copy()
428 struct cxl_event_afu_driver_reserved *pl = NULL; in afu_read() local
[all …]
/Linux-v5.10/drivers/phy/
Dphy-core.c66 struct phy_lookup *pl; in phy_create_lookup() local
71 pl = kzalloc(sizeof(*pl), GFP_KERNEL); in phy_create_lookup()
72 if (!pl) in phy_create_lookup()
75 pl->dev_id = dev_id; in phy_create_lookup()
76 pl->con_id = con_id; in phy_create_lookup()
77 pl->phy = phy; in phy_create_lookup()
80 list_add_tail(&pl->node, &phys); in phy_create_lookup()
98 struct phy_lookup *pl; in phy_remove_lookup() local
104 list_for_each_entry(pl, &phys, node) in phy_remove_lookup()
105 if (pl->phy == phy && !strcmp(pl->dev_id, dev_id) && in phy_remove_lookup()
[all …]
/Linux-v5.10/drivers/atm/
Dnicstar.c2469 pool_levels pl; in ns_ioctl() local
2477 (pl.buftype, &((pool_levels __user *) arg)->buftype)) in ns_ioctl()
2479 switch (pl.buftype) { in ns_ioctl()
2481 pl.count = in ns_ioctl()
2483 pl.level.min = card->sbnr.min; in ns_ioctl()
2484 pl.level.init = card->sbnr.init; in ns_ioctl()
2485 pl.level.max = card->sbnr.max; in ns_ioctl()
2489 pl.count = in ns_ioctl()
2491 pl.level.min = card->lbnr.min; in ns_ioctl()
2492 pl.level.init = card->lbnr.init; in ns_ioctl()
[all …]

12345678910>>...22