Home
last modified time | relevance | path

Searched refs:pd (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/Linux-v5.15/drivers/net/ethernet/smsc/
Dsmsc9420.c86 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) in smsc9420_reg_read() argument
88 return ioread32(pd->ioaddr + offset); in smsc9420_reg_read()
92 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) in smsc9420_reg_write() argument
94 iowrite32(value, pd->ioaddr + offset); in smsc9420_reg_write()
97 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) in smsc9420_pci_flush_write() argument
100 smsc9420_reg_read(pd, ID_REV); in smsc9420_pci_flush_write()
105 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; in smsc9420_mii_read() local
110 spin_lock_irqsave(&pd->phy_lock, flags); in smsc9420_mii_read()
113 if ((smsc9420_reg_read(pd, MII_ACCESS) & MII_ACCESS_MII_BUSY_)) { in smsc9420_mii_read()
114 netif_warn(pd, drv, pd->dev, "MII is busy???\n"); in smsc9420_mii_read()
[all …]
/Linux-v5.15/drivers/i2c/busses/
Di2c-sh_mobile.c144 int (*setup)(struct sh_mobile_i2c_data *pd);
185 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr() argument
188 data |= pd->icic; in iic_wr()
190 iowrite8(data, pd->reg + offs); in iic_wr()
193 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) in iic_rd() argument
195 return ioread8(pd->reg + offs); in iic_rd()
198 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, in iic_set_clr() argument
201 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr); in iic_set_clr()
238 static int sh_mobile_i2c_check_timing(struct sh_mobile_i2c_data *pd) in sh_mobile_i2c_check_timing() argument
240 u16 max_val = pd->flags & IIC_FLAG_HAS_ICIC67 ? 0x1ff : 0xff; in sh_mobile_i2c_check_timing()
[all …]
Di2c-simtec.c36 struct simtec_i2c_data *pd = pw; in simtec_i2c_setsda() local
37 writeb(CMD_SET_SDA | (state ? STATE_SDA : 0), pd->reg); in simtec_i2c_setsda()
42 struct simtec_i2c_data *pd = pw; in simtec_i2c_setscl() local
43 writeb(CMD_SET_SCL | (state ? STATE_SCL : 0), pd->reg); in simtec_i2c_setscl()
48 struct simtec_i2c_data *pd = pw; in simtec_i2c_getsda() local
49 return readb(pd->reg) & STATE_SDA ? 1 : 0; in simtec_i2c_getsda()
54 struct simtec_i2c_data *pd = pw; in simtec_i2c_getscl() local
55 return readb(pd->reg) & STATE_SCL ? 1 : 0; in simtec_i2c_getscl()
62 struct simtec_i2c_data *pd; in simtec_i2c_probe() local
67 pd = kzalloc(sizeof(struct simtec_i2c_data), GFP_KERNEL); in simtec_i2c_probe()
[all …]
/Linux-v5.15/drivers/block/
Dpktcdvd.c75 #define pkt_err(pd, fmt, ...) \ argument
76 pr_err("%s: " fmt, pd->name, ##__VA_ARGS__)
77 #define pkt_notice(pd, fmt, ...) \ argument
78 pr_notice("%s: " fmt, pd->name, ##__VA_ARGS__)
79 #define pkt_info(pd, fmt, ...) \ argument
80 pr_info("%s: " fmt, pd->name, ##__VA_ARGS__)
82 #define pkt_dbg(level, pd, fmt, ...) \ argument
86 pd->name, __func__, ##__VA_ARGS__); \
88 pr_notice("%s: " fmt, pd->name, ##__VA_ARGS__); \
111 static sector_t get_zone(sector_t sector, struct pktcdvd_device *pd) in get_zone() argument
[all …]
/Linux-v5.15/drivers/media/pci/dt3155/
Ddt3155.c128 struct dt3155_priv *pd = vb2_get_drv_priv(vq); in dt3155_queue_setup() local
129 unsigned size = pd->width * pd->height; in dt3155_queue_setup()
142 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); in dt3155_buf_prepare() local
144 vb2_set_plane_payload(vb, 0, pd->width * pd->height); in dt3155_buf_prepare()
150 struct dt3155_priv *pd = vb2_get_drv_priv(q); in dt3155_start_streaming() local
151 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf; in dt3155_start_streaming()
154 pd->sequence = 0; in dt3155_start_streaming()
156 iowrite32(dma_addr, pd->regs + EVEN_DMA_START); in dt3155_start_streaming()
157 iowrite32(dma_addr + pd->width, pd->regs + ODD_DMA_START); in dt3155_start_streaming()
158 iowrite32(pd->width, pd->regs + EVEN_DMA_STRIDE); in dt3155_start_streaming()
[all …]
/Linux-v5.15/drivers/soc/mediatek/
Dmtk-pm-domains.c58 static bool scpsys_domain_is_on(struct scpsys_domain *pd) in scpsys_domain_is_on() argument
60 struct scpsys *scpsys = pd->scpsys; in scpsys_domain_is_on()
64 status &= pd->data->sta_mask; in scpsys_domain_is_on()
67 status2 &= pd->data->sta_mask; in scpsys_domain_is_on()
73 static int scpsys_sram_enable(struct scpsys_domain *pd) in scpsys_sram_enable() argument
75 u32 pdn_ack = pd->data->sram_pdn_ack_bits; in scpsys_sram_enable()
76 struct scpsys *scpsys = pd->scpsys; in scpsys_sram_enable()
80 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable()
83 ret = regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_enable()
88 if (MTK_SCPD_CAPS(pd, MTK_SCPD_SRAM_ISO)) { in scpsys_sram_enable()
[all …]
/Linux-v5.15/drivers/clk/sifive/
Dsifive-prci.c37 static u32 __prci_readl(struct __prci_data *pd, u32 offs) in __prci_readl() argument
39 return readl_relaxed(pd->va + offs); in __prci_readl()
42 static void __prci_writel(u32 v, u32 offs, struct __prci_data *pd) in __prci_writel() argument
44 writel_relaxed(v, pd->va + offs); in __prci_writel()
132 static void __prci_wrpll_read_cfg0(struct __prci_data *pd, in __prci_wrpll_read_cfg0() argument
135 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg0()
152 static void __prci_wrpll_write_cfg0(struct __prci_data *pd, in __prci_wrpll_write_cfg0() argument
156 __prci_writel(__prci_wrpll_pack(c), pwd->cfg0_offs, pd); in __prci_wrpll_write_cfg0()
168 static void __prci_wrpll_write_cfg1(struct __prci_data *pd, in __prci_wrpll_write_cfg1() argument
172 __prci_writel(enable, pwd->cfg1_offs, pd); in __prci_wrpll_write_cfg1()
[all …]
/Linux-v5.15/drivers/gpu/drm/gma500/
Dmmu.c120 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) in psb_mmu_set_pd_context() argument
122 struct drm_device *dev = pd->driver->dev; in psb_mmu_set_pd_context()
127 down_write(&pd->driver->sem); in psb_mmu_set_pd_context()
128 PSB_WSGX32(page_to_pfn(pd->p) << PAGE_SHIFT, offset); in psb_mmu_set_pd_context()
130 psb_mmu_flush_pd_locked(pd->driver, 1); in psb_mmu_set_pd_context()
131 pd->hw_context = hw_context; in psb_mmu_set_pd_context()
132 up_write(&pd->driver->sem); in psb_mmu_set_pd_context()
160 struct psb_mmu_pd *pd = kmalloc(sizeof(*pd), GFP_KERNEL); in psb_mmu_alloc_pd() local
164 if (!pd) in psb_mmu_alloc_pd()
167 pd->p = alloc_page(GFP_DMA32); in psb_mmu_alloc_pd()
[all …]
/Linux-v5.15/net/l2tp/
Dl2tp_debugfs.c42 static void l2tp_dfs_next_tunnel(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_tunnel() argument
45 if (pd->tunnel) in l2tp_dfs_next_tunnel()
46 l2tp_tunnel_dec_refcount(pd->tunnel); in l2tp_dfs_next_tunnel()
48 pd->tunnel = l2tp_tunnel_get_nth(pd->net, pd->tunnel_idx); in l2tp_dfs_next_tunnel()
49 pd->tunnel_idx++; in l2tp_dfs_next_tunnel()
52 static void l2tp_dfs_next_session(struct l2tp_dfs_seq_data *pd) in l2tp_dfs_next_session() argument
55 if (pd->session) in l2tp_dfs_next_session()
56 l2tp_session_dec_refcount(pd->session); in l2tp_dfs_next_session()
58 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session()
59 pd->session_idx++; in l2tp_dfs_next_session()
[all …]
/Linux-v5.15/drivers/soc/samsung/
Dpm_domains.c32 struct generic_pm_domain pd; member
38 struct exynos_pm_domain *pd; in exynos_pd_power() local
43 pd = container_of(domain, struct exynos_pm_domain, pd); in exynos_pd_power()
44 base = pd->base; in exynos_pd_power()
46 pwr = power_on ? pd->local_pwr_cfg : 0; in exynos_pd_power()
52 while ((readl_relaxed(base + 0x4) & pd->local_pwr_cfg) != pwr) { in exynos_pd_power()
110 struct exynos_pm_domain *pd; in exynos_pd_probe() local
114 pd = devm_kzalloc(dev, sizeof(*pd), GFP_KERNEL); in exynos_pd_probe()
115 if (!pd) in exynos_pd_probe()
118 pd->pd.name = exynos_get_domain_name(np); in exynos_pd_probe()
[all …]
/Linux-v5.15/drivers/soc/xilinx/
Dzynqmp_pm_domains.c75 struct zynqmp_pm_domain *pd; in zynqmp_gpd_power_on() local
77 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_on()
78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on()
84 __func__, domain->name, pd->node_id, ret); in zynqmp_gpd_power_on()
105 struct zynqmp_pm_domain *pd; in zynqmp_gpd_power_off() local
109 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_off()
112 if (!(pd->flags & ZYNQMP_PM_DOMAIN_REQUESTED)) { in zynqmp_gpd_power_off()
129 ret = zynqmp_pm_set_requirement(pd->node_id, capabilities, 0, in zynqmp_gpd_power_off()
137 __func__, domain->name, pd->node_id, ret); in zynqmp_gpd_power_off()
156 struct zynqmp_pm_domain *pd; in zynqmp_gpd_attach_dev() local
[all …]
/Linux-v5.15/drivers/soc/ti/
Dti_sci_pm_domains.c47 struct generic_pm_domain pd; member
52 #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd)
60 struct ti_sci_pm_domain *pd = genpd_to_ti_sci_pd(domain); in ti_sci_pd_power_off() local
61 const struct ti_sci_handle *ti_sci = pd->parent->ti_sci; in ti_sci_pd_power_off()
63 return ti_sci->ops.dev_ops.put_device(ti_sci, pd->idx); in ti_sci_pd_power_off()
72 struct ti_sci_pm_domain *pd = genpd_to_ti_sci_pd(domain); in ti_sci_pd_power_on() local
73 const struct ti_sci_handle *ti_sci = pd->parent->ti_sci; in ti_sci_pd_power_on()
75 if (pd->exclusive) in ti_sci_pd_power_on()
77 pd->idx); in ti_sci_pd_power_on()
79 return ti_sci->ops.dev_ops.get_device(ti_sci, pd->idx); in ti_sci_pd_power_on()
[all …]
/Linux-v5.15/arch/arm/mach-s3c/
Dplatformdata.c15 void __init *s3c_set_platdata(void *pd, size_t pdsize, in s3c_set_platdata() argument
20 if (!pd) { in s3c_set_platdata()
26 npd = kmemdup(pd, pdsize, GFP_KERNEL); in s3c_set_platdata()
34 void s3c_sdhci_set_platdata(struct s3c_sdhci_platdata *pd, in s3c_sdhci_set_platdata() argument
37 set->cd_type = pd->cd_type; in s3c_sdhci_set_platdata()
38 set->ext_cd_init = pd->ext_cd_init; in s3c_sdhci_set_platdata()
39 set->ext_cd_cleanup = pd->ext_cd_cleanup; in s3c_sdhci_set_platdata()
40 set->ext_cd_gpio = pd->ext_cd_gpio; in s3c_sdhci_set_platdata()
41 set->ext_cd_gpio_invert = pd->ext_cd_gpio_invert; in s3c_sdhci_set_platdata()
43 if (pd->max_width) in s3c_sdhci_set_platdata()
[all …]
Ddevs.c165 void __init s3c_fb_set_platdata(struct s3c_fb_platdata *pd) in s3c_fb_set_platdata() argument
167 s3c_set_platdata(pd, sizeof(struct s3c_fb_platdata), in s3c_fb_set_platdata()
181 void __init s3c_hwmon_set_platdata(struct s3c_hwmon_pdata *pd) in s3c_hwmon_set_platdata() argument
183 s3c_set_platdata(pd, sizeof(struct s3c_hwmon_pdata), in s3c_hwmon_set_platdata()
214 void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci0_set_platdata() argument
216 s3c_sdhci_set_platdata(pd, &s3c_hsmmc0_def_platdata); in s3c_sdhci0_set_platdata()
244 void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci1_set_platdata() argument
246 s3c_sdhci_set_platdata(pd, &s3c_hsmmc1_def_platdata); in s3c_sdhci1_set_platdata()
276 void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd) in s3c_sdhci2_set_platdata() argument
278 s3c_sdhci_set_platdata(pd, &s3c_hsmmc2_def_platdata); in s3c_sdhci2_set_platdata()
[all …]
/Linux-v5.15/arch/powerpc/platforms/ps3/
Dinterrupt.c97 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_mask() local
101 pd->thread_id, d->irq); in ps3_chip_mask()
104 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask()
105 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask()
118 struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_unmask() local
122 pd->thread_id, d->irq); in ps3_chip_unmask()
125 set_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_unmask()
126 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_unmask()
139 const struct ps3_private *pd = irq_data_get_irq_chip_data(d); in ps3_chip_eoi() local
143 if (!test_bit(63 - d->irq, &pd->ipi_mask)) in ps3_chip_eoi()
[all …]
/Linux-v5.15/drivers/soc/rockchip/
Dpm_domains.c142 static bool rockchip_pmu_domain_is_idle(struct rockchip_pm_domain *pd) in rockchip_pmu_domain_is_idle() argument
144 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_domain_is_idle()
145 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_domain_is_idle()
160 static int rockchip_pmu_set_idle_request(struct rockchip_pm_domain *pd, in rockchip_pmu_set_idle_request() argument
163 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_set_idle_request()
164 struct generic_pm_domain *genpd = &pd->genpd; in rockchip_pmu_set_idle_request()
165 struct rockchip_pmu *pmu = pd->pmu; in rockchip_pmu_set_idle_request()
195 ret = readx_poll_timeout_atomic(rockchip_pmu_domain_is_idle, pd, in rockchip_pmu_set_idle_request()
207 static int rockchip_pmu_save_qos(struct rockchip_pm_domain *pd) in rockchip_pmu_save_qos() argument
211 for (i = 0; i < pd->num_qos; i++) { in rockchip_pmu_save_qos()
[all …]
/Linux-v5.15/drivers/soc/amlogic/
Dmeson-gx-pwrc-vpu.c50 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(genpd); in meson_gx_pwrc_vpu_power_off() local
53 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off()
59 regmap_update_bits(pd->regmap_hhi, HHI_VPU_MEM_PD_REG0, in meson_gx_pwrc_vpu_power_off()
64 regmap_update_bits(pd->regmap_hhi, HHI_VPU_MEM_PD_REG1, in meson_gx_pwrc_vpu_power_off()
69 regmap_update_bits(pd->regmap_hhi, HHI_MEM_PD_REG0, in meson_gx_pwrc_vpu_power_off()
75 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_gx_pwrc_vpu_power_off()
80 clk_disable_unprepare(pd->vpu_clk); in meson_gx_pwrc_vpu_power_off()
81 clk_disable_unprepare(pd->vapb_clk); in meson_gx_pwrc_vpu_power_off()
88 struct meson_gx_pwrc_vpu *pd = genpd_to_pd(genpd); in meson_g12a_pwrc_vpu_power_off() local
91 regmap_update_bits(pd->regmap_ao, AO_RTI_GEN_PWR_SLEEP0, in meson_g12a_pwrc_vpu_power_off()
[all …]
/Linux-v5.15/drivers/soc/qcom/
Drpmhpd.c19 #define domain_to_rpmhpd(domain) container_of(domain, struct rpmhpd, pd)
44 struct generic_pm_domain pd; member
67 .pd = { .name = "ebi", },
72 .pd = { .name = "lmx", },
77 .pd = { .name = "lcx", },
82 .pd = { .name = "gfx", },
87 .pd = { .name = "mss", },
93 .pd = { .name = "mx", },
99 .pd = { .name = "mx_ao", },
107 .pd = { .name = "cx", },
[all …]
/Linux-v5.15/drivers/media/tuners/
Dtda18271-maps.c13 u8 pd; /* post div */ member
25 { .lomax = 32000, .pd = 0x5f, .d = 0xf0 },
26 { .lomax = 35000, .pd = 0x5e, .d = 0xe0 },
27 { .lomax = 37000, .pd = 0x5d, .d = 0xd0 },
28 { .lomax = 41000, .pd = 0x5c, .d = 0xc0 },
29 { .lomax = 44000, .pd = 0x5b, .d = 0xb0 },
30 { .lomax = 49000, .pd = 0x5a, .d = 0xa0 },
31 { .lomax = 54000, .pd = 0x59, .d = 0x90 },
32 { .lomax = 61000, .pd = 0x58, .d = 0x80 },
33 { .lomax = 65000, .pd = 0x4f, .d = 0x78 },
[all …]
/Linux-v5.15/drivers/soc/renesas/
Drmobile-sysc.c147 struct device_node *pd; member
164 struct device_node *pd; in add_special_pd() local
166 pd = of_parse_phandle(np, "power-domains", 0); in add_special_pd()
167 if (!pd) in add_special_pd()
171 if (pd == special_pds[i].pd && type == special_pds[i].type) { in add_special_pd()
172 of_node_put(pd); in add_special_pd()
178 of_node_put(pd); in add_special_pd()
182 pr_debug("Special PM domain %pOFn type %d for %pOF\n", pd, type, np); in add_special_pd()
184 special_pds[num_special_pds].pd = pd; in add_special_pd()
212 of_node_put(special_pds[i].pd); in put_special_pds()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c35 struct i915_page_directory *pd; in __alloc_pd() local
37 pd = kzalloc(sizeof(*pd), I915_GFP_ALLOW_FAIL); in __alloc_pd()
38 if (unlikely(!pd)) in __alloc_pd()
41 pd->entry = kcalloc(count, sizeof(*pd->entry), I915_GFP_ALLOW_FAIL); in __alloc_pd()
42 if (unlikely(!pd->entry)) { in __alloc_pd()
43 kfree(pd); in __alloc_pd()
47 spin_lock_init(&pd->lock); in __alloc_pd()
48 return pd; in __alloc_pd()
53 struct i915_page_directory *pd; in alloc_pd() local
55 pd = __alloc_pd(I915_PDES); in alloc_pd()
[all …]
/Linux-v5.15/drivers/dma/
Dpch_dma.c132 #define dma_readl(pd, name) \ argument
133 readl((pd)->membase + PCH_DMA_##name)
134 #define dma_writel(pd, name, val) \ argument
135 writel((val), (pd)->membase + PCH_DMA_##name)
179 struct pch_dma *pd = to_pd(chan->device); in pdc_enable_irq() local
188 val = dma_readl(pd, CTL2); in pdc_enable_irq()
195 dma_writel(pd, CTL2, val); in pdc_enable_irq()
204 struct pch_dma *pd = to_pd(chan->device); in pdc_set_dir() local
210 val = dma_readl(pd, CTL0); in pdc_set_dir()
225 dma_writel(pd, CTL0, val); in pdc_set_dir()
[all …]
/Linux-v5.15/kernel/
Dpadata.c47 static void padata_free_pd(struct parallel_data *pd);
50 static int padata_index_to_cpu(struct parallel_data *pd, int cpu_index) in padata_index_to_cpu() argument
54 target_cpu = cpumask_first(pd->cpumask.pcpu); in padata_index_to_cpu()
56 target_cpu = cpumask_next(target_cpu, pd->cpumask.pcpu); in padata_index_to_cpu()
61 static int padata_cpu_hash(struct parallel_data *pd, unsigned int seq_nr) in padata_cpu_hash() argument
67 int cpu_index = seq_nr % cpumask_weight(pd->cpumask.pcpu); in padata_cpu_hash()
69 return padata_index_to_cpu(pd, cpu_index); in padata_cpu_hash()
172 struct parallel_data *pd; in padata_do_parallel() local
177 pd = rcu_dereference_bh(ps->pd); in padata_do_parallel()
183 if (!cpumask_test_cpu(*cb_cpu, pd->cpumask.cbcpu)) { in padata_do_parallel()
[all …]
/Linux-v5.15/drivers/infiniband/hw/usnic/
Dusnic_uiom.c196 struct usnic_uiom_pd *pd) in usnic_uiom_unmap_sorted_intervals() argument
207 iommu_unmap(pd->domain, va, PAGE_SIZE); in usnic_uiom_unmap_sorted_intervals()
214 static void __usnic_uiom_reg_release(struct usnic_uiom_pd *pd, in __usnic_uiom_reg_release() argument
228 spin_lock(&pd->lock); in __usnic_uiom_reg_release()
229 usnic_uiom_remove_interval(&pd->root, vpn_start, in __usnic_uiom_reg_release()
231 usnic_uiom_unmap_sorted_intervals(&rm_intervals, pd); in __usnic_uiom_reg_release()
241 spin_unlock(&pd->lock); in __usnic_uiom_reg_release()
255 struct usnic_uiom_pd *pd = uiomr->pd; in usnic_uiom_map_sorted_intervals() local
284 err = iommu_map(pd->domain, va_start, pa_start, in usnic_uiom_map_sorted_intervals()
301 err = iommu_map(pd->domain, va_start, pa_start, in usnic_uiom_map_sorted_intervals()
[all …]
/Linux-v5.15/net/netfilter/ipvs/
Dip_vs_proto.c69 struct ip_vs_proto_data *pd = in register_ip_vs_proto_netns() local
72 if (!pd) in register_ip_vs_proto_netns()
75 pd->pp = pp; /* For speed issues */ in register_ip_vs_proto_netns()
76 pd->next = ipvs->proto_data_table[hash]; in register_ip_vs_proto_netns()
77 ipvs->proto_data_table[hash] = pd; in register_ip_vs_proto_netns()
78 atomic_set(&pd->appcnt, 0); /* Init app counter */ in register_ip_vs_proto_netns()
81 int ret = pp->init_netns(ipvs, pd); in register_ip_vs_proto_netns()
84 ipvs->proto_data_table[hash] = pd->next; in register_ip_vs_proto_netns()
85 kfree(pd); in register_ip_vs_proto_netns()
118 unregister_ip_vs_proto_netns(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd) in unregister_ip_vs_proto_netns() argument
[all …]

12345678910>>...26