/linux-6.3-rc2/tools/perf/bench/ |
A D | numa.c | 507 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 515 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 1202 if (g->nr_tasks_started == g->p.nr_tasks) in worker_thread() 1482 if (!g->p.mb_global_str && !g->p.mb_proc_str && !g->p.mb_thread_str) in init() 1486 g->p.mb_global = atof(g->p.mb_global_str); in init() 1491 g->p.mb_proc = atof(g->p.mb_proc_str); in init() 1502 g->p.mb_thread = atof(g->p.mb_thread_str); in init() 1509 g->p.nr_tasks = g->p.nr_proc*g->p.nr_threads; in init() 1539 free_data(g->data, g->p.bytes_global); in deinit() 1544 free_data(g, sizeof(*g)); in deinit() [all …]
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-ftgpio010.c | 237 struct ftgpio_gpio *g; in ftgpio_gpio_probe() local 242 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in ftgpio_gpio_probe() 243 if (!g) in ftgpio_gpio_probe() 246 g->dev = dev; in ftgpio_gpio_probe() 249 if (IS_ERR(g->base)) in ftgpio_gpio_probe() 257 if (!IS_ERR(g->clk)) { in ftgpio_gpio_probe() 281 g->gc.base = -1; in ftgpio_gpio_probe() 282 g->gc.parent = dev; in ftgpio_gpio_probe() 287 if (!IS_ERR(g->clk)) in ftgpio_gpio_probe() 290 girq = &g->gc.irq; in ftgpio_gpio_probe() [all …]
|
A D | gpio-ixp4xx.c | 203 struct ixp4xx_gpio *g; in ixp4xx_gpio_probe() local 208 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in ixp4xx_gpio_probe() 209 if (!g) in ixp4xx_gpio_probe() 211 g->dev = dev; in ixp4xx_gpio_probe() 215 if (IS_ERR(g->base)) in ixp4xx_gpio_probe() 216 return PTR_ERR(g->base); in ixp4xx_gpio_probe() 265 g->gc.ngpio = 16; in ixp4xx_gpio_probe() 272 g->gc.base = 0; in ixp4xx_gpio_probe() 276 girq = &g->gc.irq; in ixp4xx_gpio_probe() 278 girq->fwnode = g->fwnode; in ixp4xx_gpio_probe() [all …]
|
A D | gpio-davinci.c | 81 return g; in irq2regs() 99 g = d->regs[bank]; in __davinci_direction() 104 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction() 138 g = d->regs[bank]; in davinci_gpio_get() 153 g = d->regs[bank]; in davinci_gpio_set() 156 value ? &g->set_data : &g->clr_data); in davinci_gpio_set() 340 g = irqdata->regs; in gpio_irq_handler() 422 ? &g->set_falling : &g->clr_falling); in gpio_irq_type_unbanked() 424 ? &g->set_rising : &g->clr_rising); in gpio_irq_type_unbanked() 562 g = chips->regs[0]; in davinci_gpio_irq_setup() [all …]
|
A 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() 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() 168 g->dev = dev; in gpo_bd71815_probe() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/qcom/ |
A D | pinctrl-msm.c | 90 return readl(pctrl->regs[g->tile] + g->name##_reg); \ 95 writel(val, pctrl->regs[g->tile] + g->name##_reg); \ 107 u32 val = g->intr_ack_high ? BIT(g->intr_status_bit) : 0; in MSM_ACCESSOR() 198 mask = GENMASK(g->mux_bit + order_base_2(g->nfuncs) - 1, g->mux_bit); in msm_pinmux_set_mux() 238 msm_writel_io(io_val | BIT(g->out_bit), pctrl, g); in msm_pinmux_set_mux() 241 msm_writel_io(io_val & ~BIT(g->out_bit), pctrl, g); in msm_pinmux_set_mux() 800 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos() 806 val2 = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos() 940 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent() 953 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent() [all …]
|
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/ |
A D | pixfmt-rgb.rst | 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` 166 - g\ :sub:`1` [all …]
|
A D | user-func.rst | 34 vidioc-g-audio 36 vidioc-g-crop 37 vidioc-g-ctrl 39 vidioc-g-edid 42 vidioc-g-fbuf 43 vidioc-g-fmt 45 vidioc-g-input 48 vidioc-g-output 49 vidioc-g-parm 53 vidioc-g-std [all …]
|
A 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.3-rc2/drivers/pinctrl/tegra/ |
A D | pinctrl-tegra.c | 272 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux() 275 pmx_writel(pmx, val, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux() 376 *reg = g->tri_reg; in tegra_pinconf_reg() 377 *bit = g->tri_bit; in tegra_pinconf_reg() 382 *reg = g->mux_reg; in tegra_pinconf_reg() 388 *reg = g->mux_reg; in tegra_pinconf_reg() 394 *reg = g->mux_reg; in tegra_pinconf_reg() 400 *reg = g->mux_reg; in tegra_pinconf_reg() 406 *reg = g->mux_reg; in tegra_pinconf_reg() 418 *bit = g->hsm_bit; in tegra_pinconf_reg() [all …]
|
/linux-6.3-rc2/crypto/ |
A D | sm3.c | 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() 87 R1(c, d, a, b, g, h, e, f, K[2], I(2), I(6)); in sm3_transform() [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/udc/ |
A D | trace.h | 22 TP_ARGS(g, ret), 86 TP_ARGS(g, ret) 91 TP_ARGS(g, ret) 96 TP_ARGS(g, ret) 101 TP_ARGS(g, ret) 106 TP_ARGS(g, ret) 111 TP_ARGS(g, ret) 116 TP_ARGS(g, ret) 121 TP_ARGS(g, ret) 126 TP_ARGS(g, ret) [all …]
|
/linux-6.3-rc2/drivers/staging/most/dim2/ |
A D | hal.c | 121 g.dbr_map[i] |= mask; in alloc_dbr() 360 writel(readl(&g.dim2->ACMR0) | bit_mask(ch_addr), &g.dim2->ACMR0); in dim2_configure_channel() 366 writel(readl(&g.dim2->ACMR0) & ~bit_mask(ch_addr), &g.dim2->ACMR0); in dim2_clear_channel() 390 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init() 396 g.atx_dbr.sz_queue[norm_pc(g.atx_dbr.wpc)] = buf_sz; in dbrcnt_enq() 397 g.atx_dbr.wpc++; in dbrcnt_enq() 544 &g.dim2->MLBC0); in dim2_initialize() 730 g.fcnt = fcnt; in dim_startup() 731 g.dbr_map[0] = 0; in dim_startup() 732 g.dbr_map[1] = 0; in dim_startup() [all …]
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | sm3-avx-asm_64.S | 114 #define g %r14d macro 200 GG##i(e, f, g, t2, t1); \ 362 movl state_h6(RSTATE), g; 374 R1(d, a, b, c, h, e, f, g, 1, 1, IW); 375 R1(c, d, a, b, g, h, e, f, 2, 2, IW); 379 R1(a, b, c, d, e, f, g, h, 4, 0, IW); 380 R1(d, a, b, c, h, e, f, g, 5, 1, IW); 467 R2(c, d, a, b, g, h, e, f, 58, 1, XW); 471 R2(a, b, c, d, e, f, g, h, 60, 0, XW); 489 xorl state_h6(RSTATE), g; [all …]
|
/linux-6.3-rc2/drivers/clk/renesas/ |
A D | r9a06g032-clocks.c | 483 if (g->ready || g->midle) { in r9a06g032_clk_gate_set() 499 r9a06g032_clk_gate_set(g->clocks, &g->gate, 1); in r9a06g032_clk_gate_enable() 507 r9a06g032_clk_gate_set(g->clocks, &g->gate, 0); in r9a06g032_clk_gate_disable() 515 if (g->gate.reset && !clk_rdesc_get(g->clocks, g->gate.reset)) in r9a06g032_clk_gate_is_enabled() 518 return clk_rdesc_get(g->clocks, g->gate.gate); in r9a06g032_clk_gate_is_enabled() 536 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_gate() 537 if (!g) in r9a06g032_register_gate() 793 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_bitsel() 794 if (!g) in r9a06g032_register_bitsel() 883 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_dualgate() [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/uv/ |
A 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.3-rc2/arch/alpha/kernel/ |
A 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() 42 if (g->got_offset == 0) { in process_reloc_for_got() 49 g = kmalloc (sizeof (*g), GFP_KERNEL); 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() 121 struct got_entry *g, *n; in module_frob_arch_sections() local 122 for (g = chains[i].next; g ; g = n) { in module_frob_arch_sections() 123 n = g->next; in module_frob_arch_sections() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_main_regs.h | 88 0, 1, 849920, g, 102, 16, 0, 0, 1, 4) 92 0, 1, 849920, g, 102, 16, 4, 0, 1, 4) 96 0, 1, 849920, g, 102, 16, 8, 0, 1, 4) 692 0, 1, 0, g, 4096, 4, 0, 0, 1, 4) 1714 0, 1, 0, g, 65, 512, 0, 0, 1, 4) 1718 0, 1, 0, g, 65, 512, 4, 0, 1, 4) 1722 0, 1, 0, g, 65, 512, 8, 0, 1, 4) 5840 0, 1, 72, g, 6, 8, 0, 0, 1, 4) 5986 0, 1, 0, g, 5, 64, 0, 0, 1, 4) 6044 0, 1, 0, g, 5, 64, 4, 0, 1, 4) [all …]
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A 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.3-rc2/drivers/gpu/host1x/ |
A D | job.c | 223 g = &job->cmds[i].gather; in pin_job() 225 g->bo = host1x_bo_get(g->bo); in pin_job() 226 if (!g->bo) { in pin_job() 273 host1x_bo_put(g->bo); in pin_job() 463 fw->words = g->words; in validate() 464 fw->cmdbuf = g->bo; in validate() 544 g = &job->cmds[i].gather; in copy_gathers() 582 g->offset = offset; in copy_gathers() 585 if (validate(&fw, g)) in copy_gathers() 624 if (g->handled) in host1x_job_pin() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | ipsec_fs_roce.c | 14 struct mlx5_flow_group *g; member 24 struct mlx5_flow_group *g; member 146 struct mlx5_flow_group *g; in mlx5_ipsec_fs_roce_tx_create() local 174 if (IS_ERR(g)) { in mlx5_ipsec_fs_roce_tx_create() 175 err = PTR_ERR(g); in mlx5_ipsec_fs_roce_tx_create() 179 roce->g = g; in mlx5_ipsec_fs_roce_tx_create() 282 if (IS_ERR(g)) { in mlx5_ipsec_fs_roce_rx_create() 283 err = PTR_ERR(g); in mlx5_ipsec_fs_roce_rx_create() 287 roce->g = g; in mlx5_ipsec_fs_roce_rx_create() 294 if (IS_ERR(g)) { in mlx5_ipsec_fs_roce_rx_create() [all …]
|
A 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() 441 ttc->g = kcalloc(MLX5_INNER_TTC_NUM_GROUPS, sizeof(*ttc->g), in mlx5_create_inner_ttc_table_groups() 443 if (!ttc->g) in mlx5_create_inner_ttc_table_groups() 447 kfree(ttc->g); in mlx5_create_inner_ttc_table_groups() 448 ttc->g = NULL; in mlx5_create_inner_ttc_table_groups() 538 ttc->g[i] = NULL; in mlx5_destroy_ttc_table() [all …]
|
/linux-6.3-rc2/samples/bpf/ |
A D | sockex3_kern.c | 92 struct flow_key_record key = g->flow; in update_stats() 147 g->flow.ports = load_word(skb, nhoff); in parse_ip_proto() 149 g->flow.ip_proto = ip_proto; in parse_ip_proto() 150 update_stats(skb, g); in parse_ip_proto() 160 struct globals *g = this_cpu_globals(); in bpf_func_ip() local 163 if (!g) in bpf_func_ip() 182 parse_ip_proto(skb, g, ip_proto); in bpf_func_ip() 192 if (!g) in bpf_func_ipv6() 199 g->flow.src = ipv6_addr_hash(skb, in bpf_func_ipv6() 201 g->flow.dst = ipv6_addr_hash(skb, in bpf_func_ipv6() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/freescale/ |
A D | pinctrl-mxs.c | 213 for (i = 0; i < g->npins; i++) { in mxs_pinctrl_set_mux() 312 g->config = config; in mxs_pinconf_group_set() 369 g->name = group; in mxs_pinctrl_parse_group() 376 g->pins = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->pins), in mxs_pinctrl_parse_group() 378 if (!g->pins) in mxs_pinctrl_parse_group() 381 g->muxsel = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->muxsel), in mxs_pinctrl_parse_group() 383 if (!g->muxsel) in mxs_pinctrl_parse_group() 386 of_property_read_u32_array(np, propname, g->pins, g->npins); in mxs_pinctrl_parse_group() 388 g->muxsel[i] = MUXID_TO_MUXSEL(g->pins[i]); in mxs_pinctrl_parse_group() 389 g->pins[i] = MUXID_TO_PINID(g->pins[i]); in mxs_pinctrl_parse_group() [all …]
|
/linux-6.3-rc2/drivers/media/common/v4l2-tpg/ |
A D | v4l2-tpg-colors.c | 1161 *g = ig; in mult_matrix() 1237 *g = transfer_srgb_to_rgb(*g); in csc() 1272 *g = ((*g) < 0) ? 0 : (((*g) > 1) ? 1 : (*g)); in csc() 1279 *g = transfer_rgb_to_rec709(*g); in csc() 1284 *g = transfer_rgb_to_srgb(*g); in csc() 1289 *g = transfer_rgb_to_oprgb(*g); in csc() 1294 *g = transfer_rgb_to_dcip3(*g); in csc() 1299 *g = transfer_rgb_to_smpte2084(*g); in csc() 1304 *g = transfer_rgb_to_smpte240m(*g); in csc() 1387 double r, g, b; in main() local [all …]
|