Home
last modified time | relevance | path

Searched refs:pg (Results 1 – 25 of 237) sorted by relevance

12345678910

/linux-6.6.21/drivers/soc/qcom/
Dpmic_glink.c52 struct pmic_glink *pg; member
63 struct pmic_glink *pg = client->pg; in _devm_pmic_glink_release_client() local
65 mutex_lock(&pg->client_lock); in _devm_pmic_glink_release_client()
67 mutex_unlock(&pg->client_lock); in _devm_pmic_glink_release_client()
77 struct pmic_glink *pg = dev_get_drvdata(dev->parent); in devm_pmic_glink_register_client() local
83 client->pg = pg; in devm_pmic_glink_register_client()
89 mutex_lock(&pg->client_lock); in devm_pmic_glink_register_client()
90 list_add(&client->node, &pg->clients); in devm_pmic_glink_register_client()
91 mutex_unlock(&pg->client_lock); in devm_pmic_glink_register_client()
101 struct pmic_glink *pg = client->pg; in pmic_glink_send() local
[all …]
/linux-6.6.21/drivers/scsi/device_handler/
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 …]
/linux-6.6.21/drivers/media/i2c/
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 …]
/linux-6.6.21/net/bridge/
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 …]
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 …]
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 …]
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 …]
/linux-6.6.21/fs/jffs2/
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 …]
/linux-6.6.21/net/netfilter/
Dnft_set_pipapo_avx2.c219 u8 pg[2] = { pkt[0] >> 4, pkt[0] & 0xf }; in nft_pipapo_avx2_lookup_4b_2() local
227 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
228 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
231 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_2()
233 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_2()
281 u8 pg[4] = { pkt[0] >> 4, pkt[0] & 0xf, pkt[1] >> 4, pkt[1] & 0xf }; in nft_pipapo_avx2_lookup_4b_4() local
289 NFT_PIPAPO_AVX2_BUCKET_LOAD4(0, lt, 0, pg[0], bsize); in nft_pipapo_avx2_lookup_4b_4()
290 NFT_PIPAPO_AVX2_BUCKET_LOAD4(1, lt, 1, pg[1], bsize); in nft_pipapo_avx2_lookup_4b_4()
291 NFT_PIPAPO_AVX2_BUCKET_LOAD4(2, lt, 2, pg[2], bsize); in nft_pipapo_avx2_lookup_4b_4()
292 NFT_PIPAPO_AVX2_BUCKET_LOAD4(3, lt, 3, pg[3], bsize); in nft_pipapo_avx2_lookup_4b_4()
[all …]
/linux-6.6.21/drivers/md/
Ddm-mpath.c44 struct priority_group *pg; /* Owning PG */ member
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
199 struct path_selector *ps = &pg->ps; in free_priority_group()
206 free_pgpaths(&pg->pgpaths, ti); in free_priority_group()
207 kfree(pg); in free_priority_group()
[all …]
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dpapr_platform_attributes.c62 struct attribute_group pg; member
214 static int add_attr_group(u64 id, struct papr_group *pg, bool show_val_desc) in add_attr_group() argument
223 add_attr(id, i, &pg->pgattrs[i]); in add_attr_group()
224 pg->pg.attrs[i] = &pg->pgattrs[i].kobj_attr.attr; in add_attr_group()
227 return sysfs_create_group(esi_kobj, &pg->pg); in add_attr_group()
314 papr_groups[idx].pg.attrs = kcalloc(KOBJ_MAX_ATTRS + 1, in papr_init()
315 sizeof(*papr_groups[idx].pg.attrs), in papr_init()
317 if (!papr_groups[idx].pg.attrs) in papr_init()
320 papr_groups[idx].pg.name = kasprintf(GFP_KERNEL, "%lld", in papr_init()
322 if (papr_groups[idx].pg.name == NULL) in papr_init()
[all …]
/linux-6.6.21/drivers/soc/tegra/
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 …]
/linux-6.6.21/arch/powerpc/platforms/powernv/
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 …]
/linux-6.6.21/kernel/trace/
Dftrace.c457 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()
603 memset(pg->records, 0, PROFILE_RECORDS_SIZE); in ftrace_profile_reset()
[all …]
/linux-6.6.21/drivers/gpu/drm/gma500/
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 …]
Dpsb_drv.c129 struct psb_gtt *pg = &dev_priv->gtt; in psb_do_init() local
133 if (pg->mmu_gatt_start & 0x0FFFFFFF) { in psb_do_init()
138 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()
140 stolen_gtt = (stolen_gtt < pg->gtt_pages) ? stolen_gtt : pg->gtt_pages; in psb_do_init()
142 dev_priv->gatt_free_offset = pg->mmu_gatt_start + in psb_do_init()
159 PSB_WSGX32(pg->gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_do_init()
186 struct psb_gtt *pg = &dev_priv->gtt; in psb_driver_unload() local
191 pg->mmu_gatt_start, in psb_driver_unload()
240 struct psb_gtt *pg; in psb_driver_load() local
247 pg = &dev_priv->gtt; in psb_driver_load()
[all …]
/linux-6.6.21/drivers/gpio/
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()
/linux-6.6.21/arch/arm/include/asm/
Dproc-fns.h166 u64 pg = cpu_get_ttbr(0); \
167 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \
168 (pgd_t *)phys_to_virt(pg); \
173 unsigned long pg; \
175 : "=r" (pg) : : "cc"); \
176 pg &= ~0x3fff; \
177 (pgd_t *)phys_to_virt(pg); \
/linux-6.6.21/net/ceph/
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 …]
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()
1152 struct ceph_pg_mapping *pg = in ceph_osdmap_destroy() local
1155 erase_pg_mapping(&map->pg_temp, pg); in ceph_osdmap_destroy()
[all …]
/linux-6.6.21/arch/microblaze/kernel/
DMakefile8 CFLAGS_REMOVE_timer.o = -pg
9 CFLAGS_REMOVE_intc.o = -pg
10 CFLAGS_REMOVE_early_printk.o = -pg
11 CFLAGS_REMOVE_ftrace.o = -pg
12 CFLAGS_REMOVE_process.o = -pg
/linux-6.6.21/arch/powerpc/mm/
Dpgtable_32.c76 pte_t *pg; in map_kernel_page() local
83 pg = pte_alloc_kernel(pd, va); in map_kernel_page()
85 pg = early_pte_alloc_kernel(pd, va); in map_kernel_page()
86 if (pg) { in map_kernel_page()
91 BUG_ON((pte_present(*pg) | pte_hashpte(*pg)) && pgprot_val(prot)); in map_kernel_page()
92 set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
/linux-6.6.21/drivers/xen/
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()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c666 struct mwifiex_power_group *pg; in mwifiex_set_tx_power() local
698 pg = (struct mwifiex_power_group *) in mwifiex_set_tx_power()
702 pg->first_rate_code = 0x00; in mwifiex_set_tx_power()
703 pg->last_rate_code = 0x03; in mwifiex_set_tx_power()
704 pg->modulation_class = MOD_CLASS_HR_DSSS; in mwifiex_set_tx_power()
705 pg->power_step = 0; in mwifiex_set_tx_power()
706 pg->power_min = (s8) dbm_min; in mwifiex_set_tx_power()
707 pg->power_max = (s8) dbm; in mwifiex_set_tx_power()
708 pg++; in mwifiex_set_tx_power()
710 pg->first_rate_code = 0x00; in mwifiex_set_tx_power()
[all …]
/linux-6.6.21/arch/xtensa/boot/lib/
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