Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-4.19/drivers/net/phy/
Dphylink.c145 static int phylink_validate(struct phylink *pl, unsigned long *supported, in phylink_validate() argument
148 pl->ops->validate(pl->netdev, supported, state); in phylink_validate()
153 static int phylink_parse_fixedlink(struct phylink *pl, in phylink_parse_fixedlink() argument
166 pl->link_config.speed = speed; in phylink_parse_fixedlink()
167 pl->link_config.duplex = DUPLEX_HALF; in phylink_parse_fixedlink()
170 pl->link_config.duplex = DUPLEX_FULL; in phylink_parse_fixedlink()
175 pl->link_config.pause |= MLO_PAUSE_SYM; in phylink_parse_fixedlink()
177 pl->link_config.pause |= MLO_PAUSE_ASYM; in phylink_parse_fixedlink()
184 pl->link_gpio = desc; in phylink_parse_fixedlink()
198 netdev_err(pl->netdev, "broken fixed-link?\n"); in phylink_parse_fixedlink()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/net/ceph/
Dpagelist.c9 static void ceph_pagelist_unmap_tail(struct ceph_pagelist *pl) in ceph_pagelist_unmap_tail() argument
11 if (pl->mapped_tail) { in ceph_pagelist_unmap_tail()
12 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail()
14 pl->mapped_tail = NULL; in ceph_pagelist_unmap_tail()
18 void ceph_pagelist_release(struct ceph_pagelist *pl) in ceph_pagelist_release() argument
20 if (!refcount_dec_and_test(&pl->refcnt)) in ceph_pagelist_release()
22 ceph_pagelist_unmap_tail(pl); in ceph_pagelist_release()
23 while (!list_empty(&pl->head)) { in ceph_pagelist_release()
24 struct page *page = list_first_entry(&pl->head, struct page, in ceph_pagelist_release()
29 ceph_pagelist_free_reserve(pl); in ceph_pagelist_release()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/include/linux/ceph/
Dpagelist.h21 struct ceph_pagelist *pl; /* pagelist, for error checking */ member
26 static inline void ceph_pagelist_init(struct ceph_pagelist *pl) in ceph_pagelist_init() argument
28 INIT_LIST_HEAD(&pl->head); in ceph_pagelist_init()
29 pl->mapped_tail = NULL; in ceph_pagelist_init()
30 pl->length = 0; in ceph_pagelist_init()
31 pl->room = 0; in ceph_pagelist_init()
32 INIT_LIST_HEAD(&pl->free_list); in ceph_pagelist_init()
33 pl->num_pages_free = 0; in ceph_pagelist_init()
34 refcount_set(&pl->refcnt, 1); in ceph_pagelist_init()
37 extern void ceph_pagelist_release(struct ceph_pagelist *pl);
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/kernel/bpf/
Dcgroup.c32 struct bpf_prog_list *pl, *tmp; in cgroup_bpf_put() local
34 list_for_each_entry_safe(pl, tmp, progs, node) { in cgroup_bpf_put()
35 list_del(&pl->node); in cgroup_bpf_put()
36 bpf_prog_put(pl->prog); in cgroup_bpf_put()
37 bpf_cgroup_storage_unlink(pl->storage); in cgroup_bpf_put()
38 bpf_cgroup_storage_free(pl->storage); in cgroup_bpf_put()
39 kfree(pl); in cgroup_bpf_put()
51 struct bpf_prog_list *pl; in prog_list_length() local
54 list_for_each_entry(pl, head, node) { in prog_list_length()
55 if (!pl->prog) in prog_list_length()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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");
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/net/usb/
Dplusb.c2 * PL-2301/2302 USB host-to-host link cables
33 * Prolific PL-2301/PL-2302 driver ... http://www.prolific.com.tw/
105 .description = "Prolific PL-2301/PL-2302/PL-25A1/PL-27A1",
107 /* some PL-2302 versions seem to fail usb_set_interface() */
123 USB_DEVICE(0x067b, 0x0000), // PL-2301
126 USB_DEVICE(0x067b, 0x0001), // PL-2302
132 USB_DEVICE(0x067b, 0x25a1), /* PL-25A1, no eeprom */
135 USB_DEVICE(0x050d, 0x258a), /* Belkin F5U258/F5U279 (PL-25A1) */
147 USB_DEVICE(0x067b, 0x27a1), /* PL-27A1, no eeprom
172 MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1/27A1 USB Host to Host Link Driver");
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/radeon/
Drv770_dpm.c228 struct rv7xx_pl *pl) in rv770_get_seq_value() argument
230 return (pl->flags & ATOM_PPLIB_R600_FLAGS_LOWPOWER) ? in rv770_get_seq_value()
615 struct rv7xx_pl *pl, in rv770_convert_power_level_to_smc() argument
623 ((pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0) : 0; in rv770_convert_power_level_to_smc()
624 level->gen2XSP = (pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0; in rv770_convert_power_level_to_smc()
625 level->backbias = (pl->flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) ? 1 : 0; in rv770_convert_power_level_to_smc()
629 ret = rv740_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
632 ret = rv730_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
635 ret = rv770_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
642 if (pl->mclk <= pi->mclk_strobe_mode_threshold) in rv770_convert_power_level_to_smc()
[all …]
Drv6xx_dpm.c1824 struct rv6xx_pl *pl; in rv6xx_parse_pplib_clock_info() local
1828 pl = &ps->low; in rv6xx_parse_pplib_clock_info()
1831 pl = &ps->medium; in rv6xx_parse_pplib_clock_info()
1835 pl = &ps->high; in rv6xx_parse_pplib_clock_info()
1844 pl->mclk = mclk; in rv6xx_parse_pplib_clock_info()
1845 pl->sclk = sclk; in rv6xx_parse_pplib_clock_info()
1846 pl->vddc = le16_to_cpu(clock_info->r600.usVDDC); in rv6xx_parse_pplib_clock_info()
1847 pl->flags = le32_to_cpu(clock_info->r600.ulFlags); in rv6xx_parse_pplib_clock_info()
1850 if (pl->vddc == 0xff01) { in rv6xx_parse_pplib_clock_info()
1852 pl->vddc = vddc; in rv6xx_parse_pplib_clock_info()
[all …]
/kernel/linux/linux-4.19/drivers/md/
Ddm-kcopyd.c198 struct page_list *pl; in alloc_pl() local
200 pl = kmalloc(sizeof(*pl), gfp); in alloc_pl()
201 if (!pl) in alloc_pl()
204 pl->page = alloc_page(gfp); in alloc_pl()
205 if (!pl->page) { in alloc_pl()
206 kfree(pl); in alloc_pl()
210 return pl; in alloc_pl()
213 static void free_pl(struct page_list *pl) in free_pl() argument
215 __free_page(pl->page); in free_pl()
216 kfree(pl); in free_pl()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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";
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/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

12345678910>>...41