Home
last modified time | relevance | path

Searched full:pg (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/openbmc/linux/drivers/soc/qcom/
H A Dpmic_glink.c53 struct pmic_glink *pg; member
64 struct pmic_glink *pg = client->pg; in _devm_pmic_glink_release_client() local
67 spin_lock_irqsave(&pg->client_lock, flags); in _devm_pmic_glink_release_client()
69 spin_unlock_irqrestore(&pg->client_lock, flags); in _devm_pmic_glink_release_client()
79 struct pmic_glink *pg = dev_get_drvdata(dev->parent); in devm_pmic_glink_client_alloc() local
85 client->pg = pg; in devm_pmic_glink_client_alloc()
100 struct pmic_glink *pg = client->pg; in pmic_glink_client_register() local
103 mutex_lock(&pg->state_lock); in pmic_glink_client_register()
104 spin_lock_irqsave(&pg->client_lock, flags); in pmic_glink_client_register()
106 list_add(&client->node, &pg->clients); in pmic_glink_client_register()
[all …]
/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_alua.c85 struct alua_port_group __rcu *pg; member
104 static bool alua_rtpg_queue(struct alua_port_group *pg,
111 struct alua_port_group *pg; in release_port_group() local
113 pg = container_of(kref, struct alua_port_group, kref); in release_port_group()
114 if (pg->rtpg_sdev) in release_port_group()
115 flush_delayed_work(&pg->rtpg_work); in release_port_group()
117 list_del(&pg->node); in release_port_group()
119 kfree_rcu(pg, rcu); in release_port_group()
188 struct alua_port_group *pg; in alua_find_get_pg() local
193 list_for_each_entry(pg, &port_group_list, node) { in alua_find_get_pg()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Disl7998x.c89 #define ISL7998X_REG_PX_DEC_INPUT_FMT(pg) ISL7998X_REG((pg), 0x02) argument
90 #define ISL7998X_REG_PX_DEC_STATUS_1(pg) ISL7998X_REG((pg), 0x03) argument
94 #define ISL7998X_REG_PX_DEC_HS_DELAY_CTL(pg) ISL7998X_REG((pg), 0x04) argument
95 #define ISL7998X_REG_PX_DEC_ANCTL(pg) ISL7998X_REG((pg), 0x06) argument
96 #define ISL7998X_REG_PX_DEC_CROP_HI(pg) ISL7998X_REG((pg), 0x07) argument
97 #define ISL7998X_REG_PX_DEC_VDELAY_LO(pg) ISL7998X_REG((pg), 0x08) argument
98 #define ISL7998X_REG_PX_DEC_VACTIVE_LO(pg) ISL7998X_REG((pg), 0x09) argument
99 #define ISL7998X_REG_PX_DEC_HDELAY_LO(pg) ISL7998X_REG((pg), 0x0a) argument
100 #define ISL7998X_REG_PX_DEC_HACTIVE_LO(pg) ISL7998X_REG((pg), 0x0b) argument
101 #define ISL7998X_REG_PX_DEC_CNTRL1(pg) ISL7998X_REG((pg), 0x0c) argument
[all …]
/openbmc/linux/net/bridge/
H A Dbr_multicast_eht.c33 static bool br_multicast_del_eht_set_entry(struct net_bridge_port_group *pg,
37 struct net_bridge_port_group *pg,
44 br_multicast_eht_host_lookup(struct net_bridge_port_group *pg, in br_multicast_eht_host_lookup() argument
47 struct rb_node *node = pg->eht_host_tree.rb_node; in br_multicast_eht_host_lookup()
67 static int br_multicast_eht_host_filter_mode(struct net_bridge_port_group *pg, in br_multicast_eht_host_filter_mode() argument
72 eht_host = br_multicast_eht_host_lookup(pg, h_addr); in br_multicast_eht_host_filter_mode()
104 br_multicast_eht_set_lookup(struct net_bridge_port_group *pg, in br_multicast_eht_set_lookup() argument
107 struct rb_node *node = pg->eht_set_tree.rb_node; in br_multicast_eht_set_lookup()
131 br_multicast_eht_hosts_dec(eht_host->pg); in __eht_destroy_host()
133 rb_erase(&eht_host->rb_node, &eht_host->pg->eht_host_tree); in __eht_destroy_host()
[all …]
H A Dbr_multicast.c83 struct net_bridge_port_group *pg);
209 br_multicast_pg_to_port_ctx(const struct net_bridge_port_group *pg) in br_multicast_pg_to_port_ctx() argument
211 struct net_bridge_mcast_port *pmctx = &pg->key.port->multicast_ctx; in br_multicast_pg_to_port_ctx()
214 lockdep_assert_held_once(&pg->key.port->br->multicast_lock); in br_multicast_pg_to_port_ctx()
217 if (!pg->key.addr.vid || in br_multicast_pg_to_port_ctx()
218 !br_opt_get(pg->key.port->br, BROPT_MCAST_VLAN_SNOOPING_ENABLED)) in br_multicast_pg_to_port_ctx()
228 vlan = br_vlan_find(nbp_vlan_group_rcu(pg->key.port), pg->key.addr.vid); in br_multicast_pg_to_port_ctx()
293 struct net_bridge_port_group *pg, in __fwd_add_star_excl() argument
302 sg_key.port = pg->key.port; in __fwd_add_star_excl()
308 sg_ip, pg->eth_addr, in __fwd_add_star_excl()
[all …]
H A Dbr_private_mcast_eht.h24 struct net_bridge_port_group *pg; member
47 struct net_bridge_port_group *pg; member
53 void br_multicast_eht_clean_sets(struct net_bridge_port_group *pg);
55 struct net_bridge_port_group *pg,
65 br_multicast_eht_should_del_pg(const struct net_bridge_port_group *pg) in br_multicast_eht_should_del_pg() argument
67 return !!((pg->key.port->flags & BR_MULTICAST_FAST_LEAVE) && in br_multicast_eht_should_del_pg()
68 RB_EMPTY_ROOT(&pg->eht_host_tree)); in br_multicast_eht_should_del_pg()
72 br_multicast_eht_hosts_over_limit(const struct net_bridge_port_group *pg) in br_multicast_eht_hosts_over_limit() argument
74 const struct net_bridge_port *p = pg->key.port; in br_multicast_eht_hosts_over_limit()
79 static inline void br_multicast_eht_hosts_inc(struct net_bridge_port_group *pg) in br_multicast_eht_hosts_inc() argument
[all …]
H A Dbr_mdb.c419 struct net_bridge_port_group *pg, in nlmsg_populate_mdb_fill() argument
441 if (__mdb_fill_info(skb, mp, pg)) in nlmsg_populate_mdb_fill()
456 static size_t rtnl_mdb_nlmsg_size(struct net_bridge_port_group *pg) in rtnl_mdb_nlmsg_size() argument
464 if (!pg) in rtnl_mdb_nlmsg_size()
470 switch (pg->key.addr.proto) { in rtnl_mdb_nlmsg_size()
473 if (pg->key.addr.src.ip4) in rtnl_mdb_nlmsg_size()
475 if (pg->key.port->br->multicast_ctx.multicast_igmp_version == 2) in rtnl_mdb_nlmsg_size()
482 if (!ipv6_addr_any(&pg->key.addr.src.ip6)) in rtnl_mdb_nlmsg_size()
484 if (pg->key.port->br->multicast_ctx.multicast_mld_version == 1) in rtnl_mdb_nlmsg_size()
495 if (!hlist_empty(&pg->src_list)) in rtnl_mdb_nlmsg_size()
[all …]
/openbmc/linux/fs/jffs2/
H A Dfile.c26 struct page *pg, void *fsdata);
80 static int jffs2_do_readpage_nolock (struct inode *inode, struct page *pg) in jffs2_do_readpage_nolock() argument
88 __func__, inode->i_ino, pg->index << PAGE_SHIFT); in jffs2_do_readpage_nolock()
90 BUG_ON(!PageLocked(pg)); in jffs2_do_readpage_nolock()
92 pg_buf = kmap(pg); in jffs2_do_readpage_nolock()
95 ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_SHIFT, in jffs2_do_readpage_nolock()
99 ClearPageUptodate(pg); in jffs2_do_readpage_nolock()
100 SetPageError(pg); in jffs2_do_readpage_nolock()
102 SetPageUptodate(pg); in jffs2_do_readpage_nolock()
103 ClearPageError(pg); in jffs2_do_readpage_nolock()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtscs454.c840 /* R_PLLCTL PG 0 ADDR 0x15 */
848 /* R_ISRC PG 0 ADDR 0x16 */
863 /* R_SCLKCTL PG 0 ADDR 0x18 */
875 /* R_I2SIDCTL PG 0 ADDR 0x38 */
888 /* R_I2SODCTL PG 0 ADDR 0x39 */
898 /* R_AUDIOMUX1 PG 0 ADDR 0x3A */
924 /* R_AUDIOMUX2 PG 0 ADDR 0x3B */
943 /* R_AUDIOMUX3 PG 0 ADDR 0x3C */
967 /* R_HSDCTL1 PG 1 ADDR 0x01 */
982 /* R_HSDCTL1 PG 1 ADDR 0x02 */
[all …]
/openbmc/linux/drivers/md/
H A Ddm-mpath.c44 struct priority_group *pg; /* Owning PG */ member
66 unsigned int nr_pgpaths; /* Number of paths in PG */
69 bool bypassed:1; /* Temporarily bypass this PG? */
81 struct priority_group *next_pg; /* Switch to this PG if set */
175 struct priority_group *pg; in alloc_priority_group() local
177 pg = kzalloc(sizeof(*pg), GFP_KERNEL); in alloc_priority_group()
179 if (pg) in alloc_priority_group()
180 INIT_LIST_HEAD(&pg->pgpaths); in alloc_priority_group()
182 return pg; in alloc_priority_group()
196 static void free_priority_group(struct priority_group *pg, in free_priority_group() argument
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_set_pipapo_avx2.c220 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2() local
228 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
229 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
232 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
234 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
283 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4() local
291 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_4()
292 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_4()
293 NFT_PIPAPO_AVX2_BUCKET_LOAD4(2, lt, 2, pg[2], bsize); in nft_pipapo_avx2_lookup_4b_4()
294 NFT_PIPAPO_AVX2_BUCKET_LOAD4(3, lt, 3, pg[3], bsize); in nft_pipapo_avx2_lookup_4b_4()
[all …]
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c26 struct attribute_group pg; member
190 pcaps[i].pg.attrs = kcalloc(j + 1, sizeof(struct attribute *), in opal_powercap_init()
192 if (!pcaps[i].pg.attrs) { in opal_powercap_init()
198 pcaps[i].pg.name = kasprintf(GFP_KERNEL, "%pOFn", node); in opal_powercap_init()
199 if (!pcaps[i].pg.name) { in opal_powercap_init()
201 kfree(pcaps[i].pg.attrs); in opal_powercap_init()
208 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
215 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
224 pcaps[i].pg.attrs[j] = &pcaps[i].pattrs[j].attr.attr; in opal_powercap_init()
228 if (sysfs_create_group(powercap_kobj, &pcaps[i].pg)) { in opal_powercap_init()
[all …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dpapr_platform_attributes.c62 struct attribute_group pg; member
216 static int add_attr_group(u64 id, struct papr_group *pg, bool show_val_desc) in add_attr_group() argument
225 add_attr(id, i, &pg->pgattrs[i]); in add_attr_group()
226 pg->pg.attrs[i] = &pg->pgattrs[i].kobj_attr.attr; in add_attr_group()
229 return sysfs_create_group(esi_kobj, &pg->pg); in add_attr_group()
316 papr_groups[idx].pg.attrs = kcalloc(KOBJ_MAX_ATTRS + 1, in papr_init()
317 sizeof(*papr_groups[idx].pg.attrs), in papr_init()
319 if (!papr_groups[idx].pg.attrs) in papr_init()
322 papr_groups[idx].pg.name = kasprintf(GFP_KERNEL, "%lld", in papr_init()
324 if (papr_groups[idx].pg.name == NULL) in papr_init()
[all …]
/openbmc/linux/drivers/soc/tegra/
H A Dpmc.c706 static int tegra_powergate_prepare_clocks(struct tegra_powergate *pg) in tegra_powergate_prepare_clocks() argument
712 for (i = 0; i < pg->num_clks; i++) { in tegra_powergate_prepare_clocks()
713 pg->clk_rates[i] = clk_get_rate(pg->clks[i]); in tegra_powergate_prepare_clocks()
715 if (!pg->clk_rates[i]) { in tegra_powergate_prepare_clocks()
720 if (pg->clk_rates[i] <= safe_rate) in tegra_powergate_prepare_clocks()
729 err = clk_set_rate(pg->clks[i], safe_rate); in tegra_powergate_prepare_clocks()
738 clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_prepare_clocks()
743 static int tegra_powergate_unprepare_clocks(struct tegra_powergate *pg) in tegra_powergate_unprepare_clocks() argument
748 for (i = 0; i < pg->num_clks; i++) { in tegra_powergate_unprepare_clocks()
749 err = clk_set_rate(pg->clks[i], pg->clk_rates[i]); in tegra_powergate_unprepare_clocks()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-palmas.c28 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_get() local
29 struct palmas *palmas = pg->palmas; in palmas_gpio_get()
60 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_set() local
61 struct palmas *palmas = pg->palmas; in palmas_gpio_set()
82 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_output() local
83 struct palmas *palmas = pg->palmas; in palmas_gpio_output()
104 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_input() local
105 struct palmas *palmas = pg->palmas; in palmas_gpio_input()
122 struct palmas_gpio *pg = gpiochip_get_data(gc); in palmas_gpio_to_irq() local
123 struct palmas *palmas = pg->palmas; in palmas_gpio_to_irq()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dgtt.c189 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_init_ranges() local
246 pg->gtt_phys_start = gtt_phys_start; in psb_gtt_init_ranges()
247 pg->mmu_gatt_start = mmu_gatt_start; in psb_gtt_init_ranges()
248 pg->gtt_start = gtt_start; in psb_gtt_init_ranges()
249 pg->gtt_pages = gtt_pages; in psb_gtt_init_ranges()
250 pg->gatt_start = gatt_start; in psb_gtt_init_ranges()
251 pg->gatt_pages = gatt_pages; in psb_gtt_init_ranges()
258 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_init() local
269 dev_priv->gtt_map = ioremap(pg->gtt_phys_start, pg->gtt_pages << PAGE_SHIFT); in psb_gtt_init()
290 struct psb_gtt *pg = &dev_priv->gtt; in psb_gtt_resume() local
[all …]
/openbmc/linux/kernel/trace/
H A Dftrace.c3 * Infrastructure for profiling code inserted by 'gcc -pg'.
457 struct ftrace_profile_page *pg; in function_stat_next() local
459 pg = (struct ftrace_profile_page *)((unsigned long)rec & PAGE_MASK); in function_stat_next()
465 if ((void *)rec >= (void *)&pg->records[pg->index]) { in function_stat_next()
466 pg = pg->next; in function_stat_next()
467 if (!pg) in function_stat_next()
469 rec = &pg->records[0]; in function_stat_next()
598 struct ftrace_profile_page *pg; in ftrace_profile_reset() local
600 pg = stat->pages = stat->start; in ftrace_profile_reset()
602 while (pg) { in ftrace_profile_reset()
[all …]
/openbmc/linux/net/ceph/
H A Ddebugfs.c93 struct ceph_pg_mapping *pg = in osdmap_show() local
96 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool, in osdmap_show()
97 pg->pgid.seed); in osdmap_show()
98 for (i = 0; i < pg->pg_temp.len; i++) in osdmap_show()
100 pg->pg_temp.osds[i]); in osdmap_show()
104 struct ceph_pg_mapping *pg = in osdmap_show() local
107 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool, in osdmap_show()
108 pg->pgid.seed, pg->primary_temp.osd); in osdmap_show()
111 struct ceph_pg_mapping *pg = in osdmap_show() local
114 seq_printf(s, "pg_upmap %llu.%x [", pg->pgid.pool, in osdmap_show()
[all …]
H A Dosdmap.c709 struct ceph_pg_mapping *pg; in alloc_pg_mapping() local
711 pg = kmalloc(sizeof(*pg) + payload_len, GFP_NOIO); in alloc_pg_mapping()
712 if (!pg) in alloc_pg_mapping()
715 RB_CLEAR_NODE(&pg->node); in alloc_pg_mapping()
716 return pg; in alloc_pg_mapping()
719 static void free_pg_mapping(struct ceph_pg_mapping *pg) in free_pg_mapping() argument
721 WARN_ON(!RB_EMPTY_NODE(&pg->node)); in free_pg_mapping()
723 kfree(pg); in free_pg_mapping()
734 * rbtree of pg pool info in DEFINE_RB_FUNCS2()
1152 struct ceph_pg_mapping *pg = in ceph_osdmap_destroy() local
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dsme.decode29 &mova esz rs pg zr za_imm v:bool to_vec:bool
31 MOVA 11000000 esz:2 00000 0 v:1 .. pg:3 zr:5 0 za_imm:4 \
33 MOVA 11000000 11 00000 1 v:1 .. pg:3 zr:5 0 za_imm:4 \
36 MOVA 11000000 esz:2 00001 0 v:1 .. pg:3 0 za_imm:4 zr:5 \
38 MOVA 11000000 11 00001 1 v:1 .. pg:3 0 za_imm:4 zr:5 \
43 &ldst esz rs pg rn rm za_imm v:bool st:bool
45 LDST1 1110000 0 esz:2 st:1 rm:5 v:1 .. pg:3 rn:5 0 za_imm:4 \
47 LDST1 1110000 111 st:1 rm:5 v:1 .. pg:3 rn:5 0 za_imm:4 \
/openbmc/linux/arch/x86/kernel/
H A DMakefile12 CFLAGS_REMOVE_tsc.o = -pg
13 CFLAGS_REMOVE_paravirt-spinlocks.o = -pg
14 CFLAGS_REMOVE_pvclock.o = -pg
15 CFLAGS_REMOVE_kvmclock.o = -pg
16 CFLAGS_REMOVE_ftrace.o = -pg
17 CFLAGS_REMOVE_early_printk.o = -pg
18 CFLAGS_REMOVE_head64.o = -pg
19 CFLAGS_REMOVE_sev.o = -pg
20 CFLAGS_REMOVE_rethook.o = -pg
/openbmc/linux/drivers/xen/
H A Dunpopulated-alloc.c129 struct page *pg = virt_to_page(vaddr + PAGE_SIZE * i); in fill_list() local
131 pg->zone_device_data = page_list; in fill_list()
132 page_list = pg; in fill_list()
179 struct page *pg = page_list; in xen_alloc_unpopulated_pages() local
181 BUG_ON(!pg); in xen_alloc_unpopulated_pages()
182 page_list = pg->zone_device_data; in xen_alloc_unpopulated_pages()
184 pages[i] = pg; in xen_alloc_unpopulated_pages()
188 ret = xen_alloc_p2m_entry(page_to_pfn(pg)); in xen_alloc_unpopulated_pages()
/openbmc/linux/arch/microblaze/kernel/
H A DMakefile8 CFLAGS_REMOVE_timer.o = -pg
9 CFLAGS_REMOVE_intc.o = -pg
10 CFLAGS_REMOVE_ftrace.o = -pg
11 CFLAGS_REMOVE_process.o = -pg
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn303/
H A Ddcn303_hwseq.c29 /*DCN303 removes PG registers*/ in dcn303_dpp_pg_control()
34 /*DCN303 removes PG registers*/ in dcn303_hubp_pg_control()
39 /*DCN303 removes PG registers*/ in dcn303_dsc_pg_control()
44 /*DCN303 removes PG registers*/ in dcn303_enable_power_gating_plane()
/openbmc/linux/arch/xtensa/boot/lib/
H A DMakefile12 CFLAGS_REMOVE_inflate.o = -pg
13 CFLAGS_REMOVE_zmem.o = -pg
14 CFLAGS_REMOVE_inftrees.o = -pg
15 CFLAGS_REMOVE_inffast.o = -pg

12345678910>>...25