/linux-6.1.9/tools/perf/bench/ |
D | numa.c | 48 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0) 54 #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0) 162 static struct global_info *g = NULL; variable 231 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 293 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu() 339 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_node() 387 ret = set_mempolicy(MPOL_DEFAULT, NULL, g->p.nr_nodes-1); in mempol_restore() 450 if (ret && !g->print_once) { in alloc_data() 451 g->print_once = 1; in alloc_data() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-ftgpio010.c | 57 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_ack_irq() local 59 writel(BIT(irqd_to_hwirq(d)), g->base + GPIO_INT_CLR); in ftgpio_gpio_ack_irq() 65 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_mask_irq() local 68 val = readl(g->base + GPIO_INT_EN); in ftgpio_gpio_mask_irq() 70 writel(val, g->base + GPIO_INT_EN); in ftgpio_gpio_mask_irq() 77 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_unmask_irq() local 81 val = readl(g->base + GPIO_INT_EN); in ftgpio_gpio_unmask_irq() 83 writel(val, g->base + GPIO_INT_EN); in ftgpio_gpio_unmask_irq() 89 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_set_irq_type() local 93 reg_type = readl(g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type() [all …]
|
D | gpio-ixp4xx.c | 61 struct ixp4xx_gpio *g = gpiochip_get_data(gc); in ixp4xx_gpio_irq_ack() local 63 __raw_writel(BIT(d->hwirq), g->base + IXP4XX_REG_GPIS); in ixp4xx_gpio_irq_ack() 77 struct ixp4xx_gpio *g = gpiochip_get_data(gc); in ixp4xx_gpio_irq_unmask() local 80 if (!(g->irq_edge & BIT(d->hwirq))) in ixp4xx_gpio_irq_unmask() 90 struct ixp4xx_gpio *g = gpiochip_get_data(gc); in ixp4xx_gpio_irq_set_type() local 101 g->irq_edge |= BIT(d->hwirq); in ixp4xx_gpio_irq_set_type() 106 g->irq_edge |= BIT(d->hwirq); in ixp4xx_gpio_irq_set_type() 111 g->irq_edge |= BIT(d->hwirq); in ixp4xx_gpio_irq_set_type() 116 g->irq_edge &= ~BIT(d->hwirq); in ixp4xx_gpio_irq_set_type() 121 g->irq_edge &= ~BIT(d->hwirq); in ixp4xx_gpio_irq_set_type() [all …]
|
D | gpio-davinci.c | 77 struct davinci_gpio_regs __iomem *g; in irq2regs() local 79 g = (__force struct davinci_gpio_regs __iomem *)irq_data_get_irq_chip_data(d); in irq2regs() 81 return g; in irq2regs() 93 struct davinci_gpio_regs __iomem *g; in __davinci_direction() local 99 g = d->regs[bank]; in __davinci_direction() 101 temp = readl_relaxed(&g->dir); in __davinci_direction() 104 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction() 108 writel_relaxed(temp, &g->dir); in __davinci_direction() 135 struct davinci_gpio_regs __iomem *g; in davinci_gpio_get() local 138 g = d->regs[bank]; in davinci_gpio_get() [all …]
|
D | gpio-bd71815.c | 132 struct bd71815_gpio *g; in gpo_bd71815_probe() local 143 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in gpo_bd71815_probe() 144 if (!g) in gpo_bd71815_probe() 147 g->chip = bd71815gpo_chip; in gpo_bd71815_probe() 160 g->chip.ngpio = 2; in gpo_bd71815_probe() 162 g->chip.ngpio = 1; in gpo_bd71815_probe() 164 g->chip.init_valid_mask = bd71815_init_valid_mask; in gpo_bd71815_probe() 165 g->chip.base = -1; in gpo_bd71815_probe() 166 g->chip.parent = parent; in gpo_bd71815_probe() 167 g->regmap = dev_get_regmap(parent, NULL); in gpo_bd71815_probe() [all …]
|
/linux-6.1.9/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 85 const struct msm_pingroup *g) \ 87 return readl(pctrl->regs[g->tile] + g->name##_reg); \ 90 const struct msm_pingroup *g) \ 92 writel(val, pctrl->regs[g->tile] + g->name##_reg); \ 102 const struct msm_pingroup *g) in MSM_ACCESSOR() 104 u32 val = g->intr_ack_high ? BIT(g->intr_status_bit) : 0; in MSM_ACCESSOR() 106 msm_writel_intr_status(val, pctrl, g); in MSM_ACCESSOR() 189 const struct msm_pingroup *g; in msm_pinmux_set_mux() local 194 g = &pctrl->soc->groups[group]; in msm_pinmux_set_mux() 195 mask = GENMASK(g->mux_bit + order_base_2(g->nfuncs) - 1, g->mux_bit); in msm_pinmux_set_mux() [all …]
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | user-func.rst | 17 vidioc-dbg-g-chip-info 18 vidioc-dbg-g-register 34 vidioc-g-audio 35 vidioc-g-audioout 36 vidioc-g-crop 37 vidioc-g-ctrl 38 vidioc-g-dv-timings 39 vidioc-g-edid 40 vidioc-g-enc-index 41 vidioc-g-ext-ctrls [all …]
|
D | pixfmt-rgb.rst | 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 130 - g\ :sub:`2` 131 - g\ :sub:`1` 132 - g\ :sub:`0` 141 - g\ :sub:`3` 142 - g\ :sub:`2` 143 - g\ :sub:`1` 144 - g\ :sub:`0` 164 - g\ :sub:`3` 165 - g\ :sub:`2` [all …]
|
D | subdev-formats.rst | 294 - g\ :sub:`3` 295 - g\ :sub:`2` 296 - g\ :sub:`1` 297 - g\ :sub:`0` 366 - g\ :sub:`3` 367 - g\ :sub:`2` 368 - g\ :sub:`1` 369 - g\ :sub:`0` 403 - g\ :sub:`3` 404 - g\ :sub:`2` [all …]
|
/linux-6.1.9/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 254 const struct tegra_pingroup *g; in tegra_pinctrl_set_mux() local 258 g = &pmx->soc->groups[group]; in tegra_pinctrl_set_mux() 260 if (WARN_ON(g->mux_reg < 0)) in tegra_pinctrl_set_mux() 263 for (i = 0; i < ARRAY_SIZE(g->funcs); i++) { in tegra_pinctrl_set_mux() 264 if (g->funcs[i] == function) in tegra_pinctrl_set_mux() 267 if (WARN_ON(i == ARRAY_SIZE(g->funcs))) in tegra_pinctrl_set_mux() 270 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux() 271 val &= ~(0x3 << g->mux_bit); in tegra_pinctrl_set_mux() 272 val |= i << g->mux_bit; in tegra_pinctrl_set_mux() 273 pmx_writel(pmx, val, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux() [all …]
|
/linux-6.1.9/crypto/ |
D | sm3.c | 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 43 h += GG ## i(e, f, g) + ss1 + (w1); \ 49 #define R1(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 50 R(1, a, b, c, d, e, f, g, h, t, w1, w2) 51 #define R2(a, b, c, d, e, f, g, h, t, w1, w2) \ argument 52 R(2, a, b, c, d, e, f, g, h, t, w1, w2) 74 u32 a, b, c, d, e, f, g, h, ss1, ss2; in sm3_transform() local 82 g = sctx->state[6]; in sm3_transform() 85 R1(a, b, c, d, e, f, g, h, K[0], I(0), I(4)); in sm3_transform() 86 R1(d, a, b, c, h, e, f, g, K[1], I(1), I(5)); in sm3_transform() [all …]
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | trace.h | 21 TP_PROTO(struct usb_gadget *g, int ret), 22 TP_ARGS(g, ret), 45 __entry->speed = g->speed; 46 __entry->max_speed = g->max_speed; 47 __entry->state = g->state; 48 __entry->mA = g->mA; 49 __entry->sg_supported = g->sg_supported; 50 __entry->is_otg = g->is_otg; 51 __entry->is_a_peripheral = g->is_a_peripheral; 52 __entry->b_hnp_enable = g->b_hnp_enable; [all …]
|
/linux-6.1.9/drivers/staging/most/dim2/ |
D | hal.c | 84 static struct lld_global_vars_t g = { false }; variable 120 if ((g.dbr_map[i] & mask) == 0) { in alloc_dbr() 121 g.dbr_map[i] |= mask; in alloc_dbr() 140 g.dbr_map[block_idx / 32] &= ~mask; in free_dbr() 147 writel(val, &g.dim2->MADR); in dim2_transfer_madr() 150 while ((readl(&g.dim2->MCTL) & 1) != 1) in dim2_transfer_madr() 153 writel(0, &g.dim2->MCTL); /* clear transfer complete */ in dim2_transfer_madr() 163 writel(0, &g.dim2->MCTL); /* clear transfer complete */ in dim2_clear_dbr() 164 writel(0, &g.dim2->MDAT0); in dim2_clear_dbr() 174 return readl((&g.dim2->MDAT0) + mdat_idx); in dim2_read_ctr() [all …]
|
/linux-6.1.9/arch/x86/crypto/ |
D | sm3-avx-asm_64.S | 114 #define g %r14d macro 181 #define R(i, a, b, c, d, e, f, g, h, round, widx, wtype) \ argument 200 GG##i(e, f, g, t2, t1); \ 215 #define R1(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument 216 R(1, a, b, c, d, e, f, g, h, round, widx, wtype) 218 #define R2(a, b, c, d, e, f, g, h, round, widx, wtype) \ argument 219 R(2, a, b, c, d, e, f, g, h, round, widx, wtype) 363 movl state_h6(RSTATE), g; 374 R1(a, b, c, d, e, f, g, h, 0, 0, IW); LOAD_W_XMM_2(); 375 R1(d, a, b, c, h, e, f, g, 1, 1, IW); [all …]
|
/linux-6.1.9/drivers/clk/renesas/ |
D | r9a06g032-clocks.c | 461 struct r9a06g032_gate *g, int on) in r9a06g032_clk_gate_set() argument 465 WARN_ON(!g->gate); in r9a06g032_clk_gate_set() 468 clk_rdesc_set(clocks, g->gate, on); in r9a06g032_clk_gate_set() 470 if (g->reset) in r9a06g032_clk_gate_set() 471 clk_rdesc_set(clocks, g->reset, 1); in r9a06g032_clk_gate_set() 481 if (g->ready || g->midle) { in r9a06g032_clk_gate_set() 483 if (g->ready) in r9a06g032_clk_gate_set() 484 clk_rdesc_set(clocks, g->ready, on); in r9a06g032_clk_gate_set() 486 if (g->midle) in r9a06g032_clk_gate_set() 487 clk_rdesc_set(clocks, g->midle, !on); in r9a06g032_clk_gate_set() [all …]
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_main_regs.h | 82 #define ANA_AC_SRC_CFG(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 0, 0, 1, 4) argument 85 #define ANA_AC_SRC_CFG1(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 4, 0, 1, 4) argument 88 #define ANA_AC_SRC_CFG2(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 8, 0, 1, 4) argument 97 #define ANA_AC_PGID_CFG(g) __REG(TARGET_ANA_AC, 0, 1, 786432, g, 3290, 16, 0, 0, 1, 4) argument 100 #define ANA_AC_PGID_CFG1(g) __REG(TARGET_ANA_AC, 0, 1, 786432, g, 3290, 16, 4, 0, 1, 4) argument 103 #define ANA_AC_PGID_CFG2(g) __REG(TARGET_ANA_AC, 0, 1, 786432, g, 3290, 16, 8, 0, 1, 4) argument 112 #define ANA_AC_PGID_MISC_CFG(g) __REG(TARGET_ANA_AC, 0, 1, 786432, g, 3290, 16, 12, 0, 1, 4) argument 151 #define ANA_AC_PORT_STAT_CFG(g, r) __REG(TARGET_ANA_AC, 0, 1, 843776, g, 70, 64, 4, r, 4, 4) argument 172 #define ANA_AC_PORT_STAT_LSB_CNT(g, r) __REG(TARGET_ANA_AC, 0, 1, 843776, g, 70, 64, 20, r, 4, 4) argument 247 #define ANA_CL_FILTER_CTRL(g) __REG(TARGET_ANA_CL, 0, 1, 131072, g, 70, 512, 4, 0, 1, 4) argument [all …]
|
/linux-6.1.9/arch/x86/include/asm/uv/ |
D | uv_geo.h | 85 static inline int geo_rack(union geoid_u g) in geo_rack() argument 87 return (g.common.type == GEO_TYPE_INVALID) ? in geo_rack() 88 -1 : g.common.rack; in geo_rack() 91 static inline int geo_slot(union geoid_u g) in geo_slot() argument 93 return (g.common.type == GEO_TYPE_INVALID) ? in geo_slot() 94 -1 : g.common.upos; in geo_slot() 97 static inline int geo_blade(union geoid_u g) in geo_blade() argument 99 return (g.common.type == GEO_TYPE_INVALID) ? in geo_blade() 100 -1 : g.common.blade * 2 + g.common.slot; in geo_blade()
|
/linux-6.1.9/arch/alpha/kernel/ |
D | module.c | 35 struct got_entry *g; in process_reloc_for_got() local 40 for (g = chains + r_sym; g ; g = g->next) in process_reloc_for_got() 41 if (g->r_addend == r_addend) { in process_reloc_for_got() 42 if (g->got_offset == 0) { in process_reloc_for_got() 43 g->got_offset = *poffset; in process_reloc_for_got() 49 g = kmalloc (sizeof (*g), GFP_KERNEL); in process_reloc_for_got() 50 g->next = chains[r_sym].next; in process_reloc_for_got() 51 g->r_addend = r_addend; in process_reloc_for_got() 52 g->got_offset = *poffset; in process_reloc_for_got() 54 chains[r_sym].next = g; in process_reloc_for_got() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | desc_defs.h | 20 u16 limit1: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member 37 .g = (flags >> 15) & 0x01, \ 59 u16 limit1 : 4, zero0 : 3, g : 1, base2 : 8; member 97 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset() argument 100 return g->offset_low | ((unsigned long)g->offset_middle << 16) | in gate_offset() 101 ((unsigned long) g->offset_high << 32); in gate_offset() 103 return g->offset_low | ((unsigned long)g->offset_middle << 16); in gate_offset() 107 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment() argument 109 return g->segment; in gate_segment()
|
/linux-6.1.9/drivers/gpu/host1x/ |
D | job.c | 140 struct host1x_job_gather *g; in pin_job() local 217 g = &job->cmds[i].gather; in pin_job() 219 g->bo = host1x_bo_get(g->bo); in pin_job() 220 if (!g->bo) { in pin_job() 225 map = host1x_bo_pin(host->dev, g->bo, DMA_TO_DEVICE, NULL); in pin_job() 267 host1x_bo_put(g->bo); in pin_job() 273 static int do_relocs(struct host1x_job *job, struct host1x_job_gather *g) in do_relocs() argument 276 struct host1x_bo *cmdbuf = g->bo; in do_relocs() 293 g->offset / sizeof(u32); in do_relocs() 450 static int validate(struct host1x_firewall *fw, struct host1x_job_gather *g) in validate() argument [all …]
|
/linux-6.1.9/arch/arm64/boot/dts/freescale/ |
D | fsl-ls1046-post.dtsi | 13 #include "qoriq-fman3-0-1g-0.dtsi" 14 #include "qoriq-fman3-0-1g-1.dtsi" 15 #include "qoriq-fman3-0-1g-2.dtsi" 16 #include "qoriq-fman3-0-1g-3.dtsi" 17 #include "qoriq-fman3-0-1g-4.dtsi" 18 #include "qoriq-fman3-0-1g-5.dtsi" 19 #include "qoriq-fman3-0-10g-0.dtsi" 20 #include "qoriq-fman3-0-10g-1.dtsi"
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_ttc.c | 32 struct mlx5_flow_group **g; member 300 ttc->g = kcalloc(MLX5_TTC_NUM_GROUPS, sizeof(*ttc->g), GFP_KERNEL); in mlx5_create_ttc_table_groups() 301 if (!ttc->g) in mlx5_create_ttc_table_groups() 305 kfree(ttc->g); in mlx5_create_ttc_table_groups() 306 ttc->g = NULL; in mlx5_create_ttc_table_groups() 321 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 322 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 331 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() 332 if (IS_ERR(ttc->g[ttc->num_groups])) in mlx5_create_ttc_table_groups() 341 ttc->g[ttc->num_groups] = mlx5_create_flow_group(ttc->t, in); in mlx5_create_ttc_table_groups() [all …]
|
/linux-6.1.9/samples/bpf/ |
D | sockex3_kern.c | 125 static void update_stats(struct __sk_buff *skb, struct globals *g) in update_stats() argument 127 struct flow_key_record key = g->flow; in update_stats() 142 struct globals *g, __u32 ip_proto) in parse_ip_proto() argument 182 g->flow.ports = load_word(skb, nhoff); in parse_ip_proto() 184 g->flow.ip_proto = ip_proto; in parse_ip_proto() 185 update_stats(skb, g); in parse_ip_proto() 194 struct globals *g = this_cpu_globals(); in PROG() local 197 if (!g) in PROG() 208 g->flow.src = load_word(skb, nhoff + offsetof(struct iphdr, saddr)); in PROG() 209 g->flow.dst = load_word(skb, nhoff + offsetof(struct iphdr, daddr)); in PROG() [all …]
|
/linux-6.1.9/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 204 struct mxs_group *g = &d->soc->groups[group]; in mxs_pinctrl_set_mux() local 210 for (i = 0; i < g->npins; i++) { in mxs_pinctrl_set_mux() 211 bank = PINID_TO_BANK(g->pins[i]); in mxs_pinctrl_set_mux() 212 pin = PINID_TO_PIN(g->pins[i]); in mxs_pinctrl_set_mux() 217 mxs_pinctrl_rmwl(g->muxsel[i], 0x3, shift, reg); in mxs_pinctrl_set_mux() 258 struct mxs_group *g = &d->soc->groups[group]; in mxs_pinconf_group_set() local 273 for (i = 0; i < g->npins; i++) { in mxs_pinconf_group_set() 274 bank = PINID_TO_BANK(g->pins[i]); in mxs_pinconf_group_set() 275 pin = PINID_TO_PIN(g->pins[i]); in mxs_pinconf_group_set() 309 g->config = config; in mxs_pinconf_group_set() [all …]
|
/linux-6.1.9/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-colors.c | 1153 static void mult_matrix(double *r, double *g, double *b, const double m[3][3]) in mult_matrix() argument 1157 ir = m[0][0] * (*r) + m[0][1] * (*g) + m[0][2] * (*b); in mult_matrix() 1158 ig = m[1][0] * (*r) + m[1][1] * (*g) + m[1][2] * (*b); in mult_matrix() 1159 ib = m[2][0] * (*r) + m[2][1] * (*g) + m[2][2] * (*b); in mult_matrix() 1161 *g = ig; in mult_matrix() 1232 double *r, double *g, double *b) in csc() argument 1237 *g = transfer_srgb_to_rgb(*g); in csc() 1243 mult_matrix(r, g, b, rec709_to_240m); in csc() 1246 mult_matrix(r, g, b, rec709_to_170m); in csc() 1249 mult_matrix(r, g, b, rec709_to_ebu); in csc() [all …]
|