Home
last modified time | relevance | path

Searched refs:pl (Results 1 - 25 of 240) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/net/phy/
H A Dphylink.c82 #define phylink_printk(level, pl, fmt, ...) \
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, ...) \
91 phylink_printk(KERN_ERR, pl, fmt, ##__VA_ARGS__)
92 #define phylink_warn(pl, fmt, ...) \
93 phylink_printk(KERN_WARNING, pl, fmt, ##__VA_ARGS__)
94 #define phylink_info(pl, fm
156 phylink_validate(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state) phylink_validate() argument
164 phylink_parse_fixedlink(struct phylink *pl, struct fwnode_handle *fwnode) phylink_parse_fixedlink() argument
264 phylink_parse_mode(struct phylink *pl, struct fwnode_handle *fwnode) phylink_parse_mode() argument
382 phylink_apply_manual_flow(struct phylink *pl, struct phylink_link_state *state) phylink_apply_manual_flow() argument
410 phylink_mac_config(struct phylink *pl, const struct phylink_link_state *state) phylink_mac_config() argument
425 phylink_mac_pcs_an_restart(struct phylink *pl) phylink_mac_pcs_an_restart() argument
437 phylink_major_config(struct phylink *pl, bool restart, const struct phylink_link_state *state) phylink_major_config() argument
486 phylink_change_inband_advert(struct phylink *pl) phylink_change_inband_advert() argument
523 phylink_mac_pcs_get_state(struct phylink *pl, struct phylink_link_state *state) phylink_mac_pcs_get_state() argument
547 phylink_get_fixed_state(struct phylink *pl, struct phylink_link_state *state) phylink_get_fixed_state() argument
559 phylink_mac_initial_config(struct phylink *pl, bool force_restart) phylink_mac_initial_config() argument
602 phylink_link_up(struct phylink *pl, struct phylink_link_state link_state) phylink_link_up() argument
630 phylink_link_down(struct phylink *pl) phylink_link_down() argument
643 struct phylink *pl = container_of(w, struct phylink, resolve); phylink_resolve() local
755 phylink_run_resolve(struct phylink *pl) phylink_run_resolve() argument
761 phylink_run_resolve_and_disable(struct phylink *pl, int bit) phylink_run_resolve_and_disable() argument
774 struct phylink *pl = container_of(t, struct phylink, link_poll); phylink_fixed_poll() local
783 phylink_register_sfp(struct phylink *pl, struct fwnode_handle *fwnode) phylink_register_sfp() argument
828 struct phylink *pl; phylink_create() local
908 phylink_set_pcs(struct phylink *pl, struct phylink_pcs *pcs) phylink_set_pcs() argument
924 phylink_destroy(struct phylink *pl) phylink_destroy() argument
937 struct phylink *pl = phydev->phylink; phylink_phy_change() local
962 phylink_bringup_phy(struct phylink *pl, struct phy_device *phy, phy_interface_t interface) phylink_bringup_phy() argument
1041 phylink_attach_phy(struct phylink *pl, struct phy_device *phy, phy_interface_t interface) phylink_attach_phy() argument
1070 phylink_connect_phy(struct phylink *pl, struct phy_device *phy) phylink_connect_phy() argument
1104 phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, u32 flags) phylink_of_phy_connect() argument
1155 phylink_disconnect_phy(struct phylink *pl) phylink_disconnect_phy() argument
1183 phylink_mac_change(struct phylink *pl, bool up) phylink_mac_change() argument
1194 struct phylink *pl = data; phylink_link_handler() local
1209 phylink_start(struct phylink *pl) phylink_start() argument
1280 phylink_stop(struct phylink *pl) phylink_stop() argument
1307 phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol) phylink_ethtool_get_wol() argument
1330 phylink_ethtool_set_wol(struct phylink *pl, struct ethtool_wolinfo *wol) phylink_ethtool_set_wol() argument
1374 phylink_ethtool_ksettings_get(struct phylink *pl, struct ethtool_link_ksettings *kset) phylink_ethtool_ksettings_get() argument
1425 phylink_ethtool_ksettings_set(struct phylink *pl, const struct ethtool_link_ksettings *kset) phylink_ethtool_ksettings_set() argument
1586 phylink_ethtool_nway_reset(struct phylink *pl) phylink_ethtool_nway_reset() argument
1605 phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_get_pauseparam() argument
1621 phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_set_pauseparam() argument
1712 phylink_get_eee_err(struct phylink *pl) phylink_get_eee_err() argument
1732 phylink_init_eee(struct phylink *pl, bool clk_stop_enable) phylink_init_eee() argument
1748 phylink_ethtool_get_eee(struct phylink *pl, struct ethtool_eee *eee) phylink_ethtool_get_eee() argument
1766 phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_eee *eee) phylink_ethtool_set_eee() argument
1805 phylink_phy_read(struct phylink *pl, unsigned int phy_id, unsigned int reg) phylink_phy_read() argument
1845 phylink_phy_write(struct phylink *pl, unsigned int phy_id, unsigned int reg, unsigned int val) phylink_phy_write() argument
1886 phylink_mii_read(struct phylink *pl, unsigned int phy_id, unsigned int reg) phylink_mii_read() argument
1914 phylink_mii_write(struct phylink *pl, unsigned int phy_id, unsigned int reg, unsigned int val) phylink_mii_write() argument
1949 phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd) phylink_mii_ioctl() argument
2021 phylink_speed_down(struct phylink *pl, bool sync) phylink_speed_down() argument
2044 phylink_speed_up(struct phylink *pl) phylink_speed_up() argument
2059 struct phylink *pl = upstream; phylink_sfp_attach() local
2066 struct phylink *pl = upstream; phylink_sfp_detach() local
2071 phylink_sfp_config(struct phylink *pl, u8 mode, const unsigned long *supported, const unsigned long *advertising) phylink_sfp_config() argument
2158 struct phylink *pl = upstream; phylink_sfp_module_insert() local
2177 struct phylink *pl = upstream; phylink_sfp_module_start() local
2197 struct phylink *pl = upstream; phylink_sfp_module_stop() local
2206 struct phylink *pl = upstream; phylink_sfp_link_down() local
2215 struct phylink *pl = upstream; phylink_sfp_link_up() local
2234 struct phylink *pl = upstream; phylink_sfp_connect_phy() local
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dphylink.c91 #define phylink_printk(level, pl, fmt, ...) \
93 if ((pl)->config->type == PHYLINK_NETDEV) \
94 netdev_printk(level, (pl)->netdev, fmt, ##__VA_ARGS__); \
95 else if ((pl)->config->type == PHYLINK_DEV) \
96 dev_printk(level, (pl)->dev, fmt, ##__VA_ARGS__); \
99 #define phylink_err(pl, fmt, ...) \
100 phylink_printk(KERN_ERR, pl, fmt, ##__VA_ARGS__)
101 #define phylink_warn(pl, fmt, ...) \
102 phylink_printk(KERN_WARNING, pl, fmt, ##__VA_ARGS__)
103 #define phylink_info(pl, fm
656 phylink_validate_mac_and_pcs(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state) phylink_validate_mac_and_pcs() argument
707 phylink_validate_mask(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state, const unsigned long *interfaces) phylink_validate_mask() argument
736 phylink_validate(struct phylink *pl, unsigned long *supported, struct phylink_link_state *state) phylink_validate() argument
750 phylink_parse_fixedlink(struct phylink *pl, const struct fwnode_handle *fwnode) phylink_parse_fixedlink() argument
862 phylink_parse_mode(struct phylink *pl, const struct fwnode_handle *fwnode) phylink_parse_mode() argument
994 phylink_apply_manual_flow(struct phylink *pl, struct phylink_link_state *state) phylink_apply_manual_flow() argument
1075 phylink_pcs_poll_stop(struct phylink *pl) phylink_pcs_poll_stop() argument
1081 phylink_pcs_poll_start(struct phylink *pl) phylink_pcs_poll_start() argument
1087 phylink_mac_config(struct phylink *pl, const struct phylink_link_state *state) phylink_mac_config() argument
1110 phylink_pcs_an_restart(struct phylink *pl) phylink_pcs_an_restart() argument
1119 phylink_major_config(struct phylink *pl, bool restart, const struct phylink_link_state *state) phylink_major_config() argument
1221 phylink_change_inband_advert(struct phylink *pl) phylink_change_inband_advert() argument
1259 phylink_mac_pcs_get_state(struct phylink *pl, struct phylink_link_state *state) phylink_mac_pcs_get_state() argument
1288 phylink_get_fixed_state(struct phylink *pl, struct phylink_link_state *state) phylink_get_fixed_state() argument
1301 phylink_mac_initial_config(struct phylink *pl, bool force_restart) phylink_mac_initial_config() argument
1344 phylink_link_up(struct phylink *pl, struct phylink_link_state link_state) phylink_link_up() argument
1400 phylink_link_down(struct phylink *pl) phylink_link_down() argument
1413 struct phylink *pl = container_of(w, struct phylink, resolve); phylink_resolve() local
1530 phylink_run_resolve(struct phylink *pl) phylink_run_resolve() argument
1536 phylink_run_resolve_and_disable(struct phylink *pl, int bit) phylink_run_resolve_and_disable() argument
1547 phylink_enable_and_run_resolve(struct phylink *pl, int bit) phylink_enable_and_run_resolve() argument
1555 struct phylink *pl = container_of(t, struct phylink, link_poll); phylink_fixed_poll() local
1564 phylink_register_sfp(struct phylink *pl, const struct fwnode_handle *fwnode) phylink_register_sfp() argument
1609 struct phylink *pl; phylink_create() local
1697 phylink_destroy(struct phylink *pl) phylink_destroy() argument
1717 phylink_expects_phy(struct phylink *pl) phylink_expects_phy() argument
1729 struct phylink *pl = phydev->phylink; phylink_phy_change() local
1757 phylink_bringup_phy(struct phylink *pl, struct phy_device *phy, phy_interface_t interface) phylink_bringup_phy() argument
1852 phylink_attach_phy(struct phylink *pl, struct phy_device *phy, phy_interface_t interface) phylink_attach_phy() argument
1881 phylink_connect_phy(struct phylink *pl, struct phy_device *phy) phylink_connect_phy() argument
1915 phylink_of_phy_connect(struct phylink *pl, struct device_node *dn, u32 flags) phylink_of_phy_connect() argument
1933 phylink_fwnode_phy_connect(struct phylink *pl, const struct fwnode_handle *fwnode, u32 flags) phylink_fwnode_phy_connect() argument
1987 phylink_disconnect_phy(struct phylink *pl) phylink_disconnect_phy() argument
2007 phylink_link_changed(struct phylink *pl, bool up, const char *what) phylink_link_changed() argument
2023 phylink_mac_change(struct phylink *pl, bool up) phylink_mac_change() argument
2042 struct phylink *pl = pcs->phylink; phylink_pcs_change() local
2051 struct phylink *pl = data; phylink_link_handler() local
2066 phylink_start(struct phylink *pl) phylink_start() argument
2136 phylink_stop(struct phylink *pl) phylink_stop() argument
2172 phylink_suspend(struct phylink *pl, bool mac_wol) phylink_suspend() argument
2209 phylink_resume(struct phylink *pl) phylink_resume() argument
2248 phylink_ethtool_get_wol(struct phylink *pl, struct ethtool_wolinfo *wol) phylink_ethtool_get_wol() argument
2271 phylink_ethtool_set_wol(struct phylink *pl, struct ethtool_wolinfo *wol) phylink_ethtool_set_wol() argument
2318 phylink_ethtool_ksettings_get(struct phylink *pl, struct ethtool_link_ksettings *kset) phylink_ethtool_ksettings_get() argument
2368 phylink_ethtool_ksettings_set(struct phylink *pl, const struct ethtool_link_ksettings *kset) phylink_ethtool_ksettings_set() argument
2536 phylink_ethtool_nway_reset(struct phylink *pl) phylink_ethtool_nway_reset() argument
2555 phylink_ethtool_get_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_get_pauseparam() argument
2571 phylink_ethtool_set_pauseparam(struct phylink *pl, struct ethtool_pauseparam *pause) phylink_ethtool_set_pauseparam() argument
2662 phylink_get_eee_err(struct phylink *pl) phylink_get_eee_err() argument
2682 phylink_init_eee(struct phylink *pl, bool clk_stop_enable) phylink_init_eee() argument
2698 phylink_ethtool_get_eee(struct phylink *pl, struct ethtool_eee *eee) phylink_ethtool_get_eee() argument
2716 phylink_ethtool_set_eee(struct phylink *pl, struct ethtool_eee *eee) phylink_ethtool_set_eee() argument
2755 phylink_phy_read(struct phylink *pl, unsigned int phy_id, unsigned int reg) phylink_phy_read() argument
2797 phylink_phy_write(struct phylink *pl, unsigned int phy_id, unsigned int reg, unsigned int val) phylink_phy_write() argument
2838 phylink_mii_read(struct phylink *pl, unsigned int phy_id, unsigned int reg) phylink_mii_read() argument
2866 phylink_mii_write(struct phylink *pl, unsigned int phy_id, unsigned int reg, unsigned int val) phylink_mii_write() argument
2901 phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd) phylink_mii_ioctl() argument
2973 phylink_speed_down(struct phylink *pl, bool sync) phylink_speed_down() argument
2996 phylink_speed_up(struct phylink *pl) phylink_speed_up() argument
3011 struct phylink *pl = upstream; phylink_sfp_attach() local
3018 struct phylink *pl = upstream; phylink_sfp_detach() local
3036 phylink_choose_sfp_interface(struct phylink *pl, const unsigned long *intf) phylink_choose_sfp_interface() argument
3052 phylink_sfp_set_config(struct phylink *pl, u8 mode, unsigned long *supported, struct phylink_link_state *state) phylink_sfp_set_config() argument
3089 phylink_sfp_config_phy(struct phylink *pl, u8 mode, struct phy_device *phy) phylink_sfp_config_phy() argument
3144 phylink_sfp_config_optical(struct phylink *pl) phylink_sfp_config_optical() argument
3215 struct phylink *pl = upstream; phylink_sfp_module_insert() local
3234 struct phylink *pl = upstream; phylink_sfp_module_start() local
3253 struct phylink *pl = upstream; phylink_sfp_module_stop() local
3262 struct phylink *pl = upstream; phylink_sfp_link_down() local
3271 struct phylink *pl = upstream; phylink_sfp_link_up() local
3289 struct phylink *pl = upstream; phylink_sfp_connect_phy() local
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A 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 in ceph_pagelist_alloc()
29 ceph_pagelist_unmap_tail(struct ceph_pagelist *pl) ceph_pagelist_unmap_tail() argument
38 ceph_pagelist_release(struct ceph_pagelist *pl) ceph_pagelist_release() argument
54 ceph_pagelist_addpage(struct ceph_pagelist *pl) ceph_pagelist_addpage() argument
74 ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len) ceph_pagelist_append() argument
102 ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) ceph_pagelist_reserve() argument
121 ceph_pagelist_free_reserve(struct ceph_pagelist *pl) ceph_pagelist_free_reserve() argument
136 ceph_pagelist_set_cursor(struct ceph_pagelist *pl, struct ceph_pagelist_cursor *c) ceph_pagelist_set_cursor() argument
150 ceph_pagelist_truncate(struct ceph_pagelist *pl, struct ceph_pagelist_cursor *c) ceph_pagelist_truncate() argument
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A 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 in ceph_pagelist_alloc()
29 ceph_pagelist_unmap_tail(struct ceph_pagelist *pl) ceph_pagelist_unmap_tail() argument
38 ceph_pagelist_release(struct ceph_pagelist *pl) ceph_pagelist_release() argument
54 ceph_pagelist_addpage(struct ceph_pagelist *pl) ceph_pagelist_addpage() argument
74 ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len) ceph_pagelist_append() argument
102 ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) ceph_pagelist_reserve() argument
121 ceph_pagelist_free_reserve(struct ceph_pagelist *pl) ceph_pagelist_free_reserve() argument
136 ceph_pagelist_set_cursor(struct ceph_pagelist *pl, struct ceph_pagelist_cursor *c) ceph_pagelist_set_cursor() argument
150 ceph_pagelist_truncate(struct ceph_pagelist *pl, struct ceph_pagelist_cursor *c) ceph_pagelist_truncate() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-link.c39 static void imx8qxp_pixel_link_enable_mst_en(struct imx8qxp_pixel_link *pl) in imx8qxp_pixel_link_enable_mst_en() argument
43 ret = imx_sc_misc_set_control(pl->ipc_handle, pl->sink_rsc, in imx8qxp_pixel_link_enable_mst_en()
44 pl->mst_en_ctrl, true); in imx8qxp_pixel_link_enable_mst_en()
46 DRM_DEV_ERROR(pl->dev, in imx8qxp_pixel_link_enable_mst_en()
48 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_enable_mst_en()
51 static void imx8qxp_pixel_link_enable_mst_vld(struct imx8qxp_pixel_link *pl) in imx8qxp_pixel_link_enable_mst_vld() argument
55 ret = imx_sc_misc_set_control(pl->ipc_handle, pl in imx8qxp_pixel_link_enable_mst_vld()
63 imx8qxp_pixel_link_enable_sync(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_enable_sync() argument
75 imx8qxp_pixel_link_disable_mst_en(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_disable_mst_en() argument
89 imx8qxp_pixel_link_disable_mst_vld(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_disable_mst_vld() argument
103 imx8qxp_pixel_link_disable_sync(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_disable_sync() argument
117 imx8qxp_pixel_link_set_mst_addr(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_set_mst_addr() argument
133 struct imx8qxp_pixel_link *pl = bridge->driver_private; imx8qxp_pixel_link_bridge_attach() local
156 struct imx8qxp_pixel_link *pl = bridge->driver_private; imx8qxp_pixel_link_bridge_mode_set() local
165 struct imx8qxp_pixel_link *pl = bridge->driver_private; imx8qxp_pixel_link_bridge_atomic_enable() local
176 struct imx8qxp_pixel_link *pl = bridge->driver_private; imx8qxp_pixel_link_bridge_atomic_disable() local
250 imx8qxp_pixel_link_disable_all_controls(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_disable_all_controls() argument
266 imx8qxp_pixel_link_find_next_bridge(struct imx8qxp_pixel_link *pl) imx8qxp_pixel_link_find_next_bridge() argument
331 struct imx8qxp_pixel_link *pl; imx8qxp_pixel_link_bridge_probe() local
403 struct imx8qxp_pixel_link *pl = platform_get_drvdata(pdev); imx8qxp_pixel_link_bridge_remove() local
[all...]
/kernel/linux/linux-5.10/lib/
H A 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()
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 in fprop_reflect_period_single()
106 fprop_reflect_period_single(struct fprop_global *p, struct fprop_local_single *pl) fprop_reflect_period_single() argument
131 __fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl) __fprop_inc_single() argument
139 fprop_fraction_single(struct fprop_global *p, struct fprop_local_single *pl, unsigned long *numerator, unsigned long *denominator) fprop_fraction_single() argument
172 fprop_local_init_percpu(struct fprop_local_percpu *pl, gfp_t gfp) fprop_local_init_percpu() argument
184 fprop_local_destroy_percpu(struct fprop_local_percpu *pl) fprop_local_destroy_percpu() argument
189 fprop_reflect_period_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) fprop_reflect_period_percpu() argument
220 __fprop_inc_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) __fprop_inc_percpu() argument
227 fprop_fraction_percpu(struct fprop_global *p, struct fprop_local_percpu *pl, unsigned long *numerator, unsigned long *denominator) fprop_fraction_percpu() argument
259 __fprop_inc_percpu_max(struct fprop_global *p, struct fprop_local_percpu *pl, int max_frac) __fprop_inc_percpu_max() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dflex_proportions.c90 int fprop_local_init_single(struct fprop_local_single *pl) in fprop_local_init_single() argument
92 pl->events = 0; in fprop_local_init_single()
93 pl->period = 0; in fprop_local_init_single()
94 raw_spin_lock_init(&pl->lock); in fprop_local_init_single()
98 void fprop_local_destroy_single(struct fprop_local_single *pl) in fprop_local_destroy_single() argument
103 struct fprop_local_single *pl) in fprop_reflect_period_single()
109 if (pl->period == period) in fprop_reflect_period_single()
111 raw_spin_lock_irqsave(&pl->lock, flags); in fprop_reflect_period_single()
112 /* Someone updated pl->period while we were spinning? */ in fprop_reflect_period_single()
113 if (pl in fprop_reflect_period_single()
102 fprop_reflect_period_single(struct fprop_global *p, struct fprop_local_single *pl) fprop_reflect_period_single() argument
127 __fprop_inc_single(struct fprop_global *p, struct fprop_local_single *pl) __fprop_inc_single() argument
135 fprop_fraction_single(struct fprop_global *p, struct fprop_local_single *pl, unsigned long *numerator, unsigned long *denominator) fprop_fraction_single() argument
168 fprop_local_init_percpu(struct fprop_local_percpu *pl, gfp_t gfp) fprop_local_init_percpu() argument
180 fprop_local_destroy_percpu(struct fprop_local_percpu *pl) fprop_local_destroy_percpu() argument
185 fprop_reflect_period_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) fprop_reflect_period_percpu() argument
216 __fprop_add_percpu(struct fprop_global *p, struct fprop_local_percpu *pl, long nr) __fprop_add_percpu() argument
224 fprop_fraction_percpu(struct fprop_global *p, struct fprop_local_percpu *pl, unsigned long *numerator, unsigned long *denominator) fprop_fraction_percpu() argument
256 __fprop_add_percpu_max(struct fprop_global *p, struct fprop_local_percpu *pl, int max_frac, long nr) __fprop_add_percpu_max() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dtransport.c266 if (t->pl.probe_count < SCTP_MAX_PROBES) in sctp_transport_pl_send()
269 t->pl.probe_count = 0; in sctp_transport_pl_send()
270 if (t->pl.state == SCTP_PL_BASE) { in sctp_transport_pl_send()
271 if (t->pl.probe_size == SCTP_BASE_PLPMTU) { /* BASE_PLPMTU Confirmation Failed */ in sctp_transport_pl_send()
272 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */ in sctp_transport_pl_send()
274 t->pl.pmtu = SCTP_BASE_PLPMTU; in sctp_transport_pl_send()
275 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send()
278 } else if (t->pl.state == SCTP_PL_SEARCH) { in sctp_transport_pl_send()
279 if (t->pl.pmtu == t->pl in sctp_transport_pl_send()
[all...]
/kernel/linux/linux-5.10/include/linux/ceph/
H A 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, u3 in ceph_pagelist_encode_64() argument
52 ceph_pagelist_encode_16(struct ceph_pagelist *pl, u16 v) ceph_pagelist_encode_16() argument
57 ceph_pagelist_encode_8(struct ceph_pagelist *pl, u8 v) ceph_pagelist_encode_8() argument
61 ceph_pagelist_encode_string(struct ceph_pagelist *pl, char *s, u32 len) ceph_pagelist_encode_string() argument
[all...]
/kernel/linux/linux-6.6/include/linux/ceph/
H A 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, u3 in ceph_pagelist_encode_64() argument
52 ceph_pagelist_encode_16(struct ceph_pagelist *pl, u16 v) ceph_pagelist_encode_16() argument
57 ceph_pagelist_encode_8(struct ceph_pagelist *pl, u8 v) ceph_pagelist_encode_8() argument
61 ceph_pagelist_encode_string(struct ceph_pagelist *pl, char *s, u32 len) ceph_pagelist_encode_string() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A 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,
94 fprop_inc_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) fprop_inc_percpu() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A 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_add_percpu(struct fprop_global *p, struct fprop_local_percpu *pl,
89 struct fprop_local_percpu *pl, in
95 fprop_inc_percpu(struct fprop_global *p, struct fprop_local_percpu *pl) fprop_inc_percpu() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c281 struct ttm_place pl; in vmw_bo_pin_reserved() local
292 pl.fpfn = 0; in vmw_bo_pin_reserved()
293 pl.lpfn = 0; in vmw_bo_pin_reserved()
294 pl.mem_type = bo->resource->mem_type; in vmw_bo_pin_reserved()
295 pl.flags = bo->resource->placement; in vmw_bo_pin_reserved()
299 placement.placement = &pl; in vmw_bo_pin_reserved()
746 set_placement_list(struct ttm_place *pl, u32 domain) in set_placement_list() argument
754 pl[n].mem_type = VMW_PL_MOB; in set_placement_list()
755 pl[n].flags = 0; in set_placement_list()
756 pl[ in set_placement_list()
804 struct ttm_placement *pl = &bo->placement; vmw_bo_placement_set() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_platform_v6.c23 .pl[0] = {HFI_H264_PROFILE_BASELINE, HFI_H264_LEVEL_52},
24 .pl[1] = {HFI_H264_PROFILE_MAIN, HFI_H264_LEVEL_52},
25 .pl[2] = {HFI_H264_PROFILE_HIGH, HFI_H264_LEVEL_52},
26 .pl[3] = {HFI_H264_PROFILE_CONSTRAINED_BASE, HFI_H264_LEVEL_52},
27 .pl[4] = {HFI_H264_PROFILE_CONSTRAINED_HIGH, HFI_H264_LEVEL_52},
49 .pl[0] = {HFI_HEVC_PROFILE_MAIN, HFI_HEVC_LEVEL_6 | HFI_HEVC_TIER_HIGH0},
50 .pl[1] = {HFI_HEVC_PROFILE_MAIN10, HFI_HEVC_LEVEL_6 | HFI_HEVC_TIER_HIGH0},
75 .pl[0] = {HFI_VPX_PROFILE_MAIN, HFI_VPX_LEVEL_VERSION_0},
76 .pl[1] = {HFI_VPX_PROFILE_MAIN, HFI_VPX_LEVEL_VERSION_1},
77 .pl[
[all...]
H A Dhfi_platform_v4.c23 .pl[0] = {HFI_H264_PROFILE_BASELINE, HFI_H264_LEVEL_52},
24 .pl[1] = {HFI_H264_PROFILE_MAIN, HFI_H264_LEVEL_52},
25 .pl[2] = {HFI_H264_PROFILE_HIGH, HFI_H264_LEVEL_52},
26 .pl[3] = {HFI_H264_PROFILE_CONSTRAINED_BASE, HFI_H264_LEVEL_52},
27 .pl[4] = {HFI_H264_PROFILE_CONSTRAINED_HIGH, HFI_H264_LEVEL_52},
49 .pl[0] = {HFI_HEVC_PROFILE_MAIN, HFI_HEVC_LEVEL_6 | HFI_HEVC_TIER_HIGH0 << 28},
50 .pl[1] = {HFI_HEVC_PROFILE_MAIN10, HFI_HEVC_LEVEL_6 | HFI_HEVC_TIER_HIGH0 << 28},
75 .pl[0] = {HFI_VPX_PROFILE_MAIN, HFI_VPX_LEVEL_VERSION_0},
76 .pl[1] = {HFI_VPX_PROFILE_MAIN, HFI_VPX_LEVEL_VERSION_1},
77 .pl[
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk20a.c36 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 in gk20a_pllg_read_mnp()
111 u32 pl; gk20a_pllg_calc_mnp() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk20a.c36 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 in gk20a_pllg_read_mnp()
111 u32 pl; gk20a_pllg_calc_mnp() local
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dcgroup.c289 struct bpf_prog_list *pl; in cgroup_bpf_release() local
292 hlist_for_each_entry_safe(pl, pltmp, progs, node) { in cgroup_bpf_release()
293 hlist_del(&pl->node); in cgroup_bpf_release()
294 if (pl->prog) { in cgroup_bpf_release()
295 if (pl->prog->expected_attach_type == BPF_LSM_CGROUP) in cgroup_bpf_release()
296 bpf_trampoline_unlink_cgroup_shim(pl->prog); in cgroup_bpf_release()
297 bpf_prog_put(pl->prog); in cgroup_bpf_release()
299 if (pl->link) { in cgroup_bpf_release()
300 if (pl->link->link.prog->expected_attach_type == BPF_LSM_CGROUP) in cgroup_bpf_release()
301 bpf_trampoline_unlink_cgroup_shim(pl in cgroup_bpf_release()
343 prog_list_prog(struct bpf_prog_list *pl) prog_list_prog() argument
357 struct bpf_prog_list *pl; prog_list_length() local
407 struct bpf_prog_list *pl; compute_effective_progs() local
562 struct bpf_prog_list *pl; find_attach_entry() local
618 struct bpf_prog_list *pl; __cgroup_bpf_attach() local
748 struct bpf_prog_list *pl; replace_effective_prog() local
799 struct bpf_prog_list *pl; __cgroup_bpf_replace() local
856 struct bpf_prog_list *pl; find_detach_entry() local
899 struct bpf_prog_list *pl; purge_effective_progs() local
955 struct bpf_prog_list *pl; __cgroup_bpf_detach() local
1086 struct bpf_prog_list *pl; __cgroup_bpf_query() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A 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 in free_pl()
241 kcopyd_put_pages(struct dm_kcopyd_client *kc, struct page_list *pl) kcopyd_put_pages() argument
263 struct page_list *pl; kcopyd_get_pages() local
292 drop_pages(struct page_list *pl) drop_pages() argument
309 struct page_list *pl = NULL, *next; client_reserve_pages() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-kcopyd.c220 struct page_list *pl; in alloc_pl() local
222 pl = kmalloc(sizeof(*pl), gfp); in alloc_pl()
223 if (!pl) in alloc_pl()
226 pl->page = alloc_page(gfp | __GFP_HIGHMEM); in alloc_pl()
227 if (!pl->page) { in alloc_pl()
228 kfree(pl); in alloc_pl()
232 return pl; in alloc_pl()
235 static void free_pl(struct page_list *pl) in free_pl() argument
237 __free_page(pl in free_pl()
245 kcopyd_put_pages(struct dm_kcopyd_client *kc, struct page_list *pl) kcopyd_put_pages() argument
267 struct page_list *pl; kcopyd_get_pages() local
296 drop_pages(struct page_list *pl) drop_pages() argument
313 struct page_list *pl = NULL, *next; client_reserve_pages() local
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A 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 in prog_list_prog()
183 struct bpf_prog_list *pl; prog_list_length() local
233 struct bpf_prog_list *pl; compute_effective_progs() local
388 struct bpf_prog_list *pl; find_attach_entry() local
443 struct bpf_prog_list *pl; __cgroup_bpf_attach() local
529 struct bpf_prog_list *pl; replace_effective_prog() local
579 struct bpf_prog_list *pl; __cgroup_bpf_replace() local
629 struct bpf_prog_list *pl; find_detach_entry() local
672 struct bpf_prog_list *pl; purge_effective_progs() local
728 struct bpf_prog_list *pl; __cgroup_bpf_detach() local
798 struct bpf_prog_list *pl; __cgroup_bpf_query() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drv770_dpm.c227 struct rv7xx_pl *pl) in rv770_get_seq_value()
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()
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 in rv770_convert_power_level_to_smc()
226 rv770_get_seq_value(struct radeon_device *rdev, struct rv7xx_pl *pl) rv770_get_seq_value() argument
613 rv770_convert_power_level_to_smc(struct radeon_device *rdev, struct rv7xx_pl *pl, RV770_SMC_HW_PERFORMANCE_LEVEL *level, u8 watermark_level) rv770_convert_power_level_to_smc() argument
2181 struct rv7xx_pl *pl; rv7xx_parse_pplib_clock_info() local
2436 struct rv7xx_pl *pl; rv770_dpm_print_power_state() local
2470 struct rv7xx_pl *pl; rv770_dpm_debugfs_print_current_performance_level() local
2499 struct rv7xx_pl *pl; rv770_dpm_get_current_sclk() local
2521 struct rv7xx_pl *pl; rv770_dpm_get_current_mclk() local
[all...]
H A 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 in rv6xx_parse_pplib_clock_info()
2011 struct rv6xx_pl *pl; rv6xx_dpm_print_power_state() local
2033 struct rv6xx_pl *pl; rv6xx_dpm_debugfs_print_current_performance_level() local
2058 struct rv6xx_pl *pl; rv6xx_dpm_get_current_sclk() local
2081 struct rv6xx_pl *pl; rv6xx_dpm_get_current_mclk() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Drv770_dpm.c229 struct rv7xx_pl *pl) in rv770_get_seq_value()
231 return (pl->flags & ATOM_PPLIB_R600_FLAGS_LOWPOWER) ? in rv770_get_seq_value()
616 struct rv7xx_pl *pl, in rv770_convert_power_level_to_smc()
624 ((pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0) : 0; in rv770_convert_power_level_to_smc()
625 level->gen2XSP = (pl->flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) ? 1 : 0; in rv770_convert_power_level_to_smc()
626 level->backbias = (pl->flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) ? 1 : 0; in rv770_convert_power_level_to_smc()
630 ret = rv740_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
633 ret = rv730_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
636 ret = rv770_populate_sclk_value(rdev, pl->sclk, in rv770_convert_power_level_to_smc()
643 if (pl in rv770_convert_power_level_to_smc()
228 rv770_get_seq_value(struct radeon_device *rdev, struct rv7xx_pl *pl) rv770_get_seq_value() argument
615 rv770_convert_power_level_to_smc(struct radeon_device *rdev, struct rv7xx_pl *pl, RV770_SMC_HW_PERFORMANCE_LEVEL *level, u8 watermark_level) rv770_convert_power_level_to_smc() argument
2183 struct rv7xx_pl *pl; rv7xx_parse_pplib_clock_info() local
2438 struct rv7xx_pl *pl; rv770_dpm_print_power_state() local
2472 struct rv7xx_pl *pl; rv770_dpm_debugfs_print_current_performance_level() local
2501 struct rv7xx_pl *pl; rv770_dpm_get_current_sclk() local
2523 struct rv7xx_pl *pl; rv770_dpm_get_current_mclk() local
[all...]
H A 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 in rv6xx_parse_pplib_clock_info()
2011 struct rv6xx_pl *pl; rv6xx_dpm_print_power_state() local
2033 struct rv6xx_pl *pl; rv6xx_dpm_debugfs_print_current_performance_level() local
2058 struct rv6xx_pl *pl; rv6xx_dpm_get_current_sclk() local
2081 struct rv6xx_pl *pl; rv6xx_dpm_get_current_mclk() local
[all...]

Completed in 36 milliseconds

12345678910