Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 1600) sorted by relevance

12345678910>>...64

/linux/tools/perf/bench/
A Dnuma.c507 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/drivers/gpio/
A Dgpio-ftgpio010.c237 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 Dgpio-ixp4xx.c213 struct ixp4xx_gpio *g; in ixp4xx_gpio_probe() local
220 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in ixp4xx_gpio_probe()
221 if (!g) in ixp4xx_gpio_probe()
223 g->dev = dev; in ixp4xx_gpio_probe()
226 if (IS_ERR(g->base)) in ixp4xx_gpio_probe()
227 return PTR_ERR(g->base); in ixp4xx_gpio_probe()
310 g->gc.ngpio = 16; in ixp4xx_gpio_probe()
317 g->gc.base = 0; in ixp4xx_gpio_probe()
318 g->gc.parent = &pdev->dev; in ixp4xx_gpio_probe()
321 girq = &g->gc.irq; in ixp4xx_gpio_probe()
[all …]
A Dgpio-davinci.c78 return g; in irq2regs()
96 g = d->regs[bank]; in __davinci_direction()
101 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction()
135 g = d->regs[bank]; in davinci_gpio_get()
150 g = d->regs[bank]; in davinci_gpio_set()
153 value ? &g->set_data : &g->clr_data); in davinci_gpio_set()
307 g = irqdata->regs; in gpio_irq_handler()
389 ? &g->set_falling : &g->clr_falling); in gpio_irq_type_unbanked()
391 ? &g->set_rising : &g->clr_rising); in gpio_irq_type_unbanked()
518 g = chips->regs[0]; in davinci_gpio_irq_setup()
[all …]
A Dgpio-bd71815.c132 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/drivers/pinctrl/qcom/
A Dpinctrl-msm.c89 return readl(pctrl->regs[g->tile] + g->name##_reg); \
94 writel(val, pctrl->regs[g->tile] + g->name##_reg); \
106 u32 val = g->intr_ack_high ? BIT(g->intr_status_bit) : 0; in MSM_ACCESSOR()
197 mask = GENMASK(g->mux_bit + order_base_2(g->nfuncs) - 1, g->mux_bit); in msm_pinmux_set_mux()
237 msm_writel_io(io_val | BIT(g->out_bit), pctrl, g); in msm_pinmux_set_mux()
240 msm_writel_io(io_val & ~BIT(g->out_bit), pctrl, g); in msm_pinmux_set_mux()
829 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
835 val2 = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
969 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent()
982 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent()
[all …]
/linux/fs/bcachefs/
A Ddisk_groups.c61 len = strnlen(g->label, sizeof(g->label)); in bch2_sb_disk_groups_validate()
75 for (g = sorted; g + 1 < sorted + nr_groups; g++) in bch2_sb_disk_groups_validate()
77 !group_cmp(&g[0], &g[1])) { in bch2_sb_disk_groups_validate()
80 (int) sizeof(g->label), g->label); in bch2_sb_disk_groups_validate()
95 if (!g) in bch2_disk_groups_to_text()
129 g++) { in bch2_sb_disk_groups_to_text()
137 BCH_GROUP_PARENT(g), g->label); in bch2_sb_disk_groups_to_text()
183 while (g) { in bch2_sb_disk_groups_to_cpu()
220 devs = g && t.group < g->nr && !g->entries[t.group].deleted in bch2_target_to_mask()
250 m = g && t.group < g->nr && !g->entries[t.group].deleted in bch2_dev_in_target()
[all …]
A Dbtree_locking.c78 for (i = g->g; i < g->g + g->nr; i++) { in print_cycle()
92 for (i = g->g; i != g->g + g->nr; i++) { in print_chain()
94 if (i != g->g) in print_chain()
103 closure_put(&g->g[--g->nr].trans->ref); in lock_graph_up()
131 for (i = g->g + 1; i < g->g + g->nr; i++) in lock_graph_remove_non_waiters()
134 while (g->g + g->nr > i) in lock_graph_remove_non_waiters()
198 for (i = g->g; i < g->g + g->nr; i++) { in break_cycle()
212 for (i = g->g; i < g->g + g->nr; i++) { in break_cycle()
243 for (i = g->g; i < g->g + g->nr; i++) in lock_graph_descend()
249 if (g->nr == ARRAY_SIZE(g->g)) { in lock_graph_descend()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Duser-func.rst34 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 Dpixfmt-rgb.rst130 - 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 Dsubdev-formats.rst295 - g\ :sub:`3`
296 - g\ :sub:`2`
297 - g\ :sub:`1`
298 - g\ :sub:`0`
367 - g\ :sub:`3`
368 - g\ :sub:`2`
369 - g\ :sub:`1`
370 - g\ :sub:`0`
404 - g\ :sub:`3`
405 - g\ :sub:`2`
[all …]
/linux/drivers/pinctrl/tegra/
A Dpinctrl-tegra.c270 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux()
273 pmx_writel(pmx, val, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux()
374 *reg = g->tri_reg; in tegra_pinconf_reg()
375 *bit = g->tri_bit; in tegra_pinconf_reg()
380 *reg = g->mux_reg; in tegra_pinconf_reg()
386 *reg = g->mux_reg; in tegra_pinconf_reg()
392 *reg = g->mux_reg; in tegra_pinconf_reg()
398 *reg = g->mux_reg; in tegra_pinconf_reg()
404 *reg = g->mux_reg; in tegra_pinconf_reg()
640 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); in tegra_pinconf_group_dbg_show()
[all …]
/linux/drivers/usb/gadget/udc/
A Dtrace.h22 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/crypto/
A Dsm3.c43 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/drivers/staging/most/dim2/
A Dhal.c121 g.dbr_map[i] |= mask; in alloc_dbr()
359 writel(readl(&g.dim2->ACMR0) | bit_mask(ch_addr), &g.dim2->ACMR0); in dim2_configure_channel()
365 writel(readl(&g.dim2->ACMR0) & ~bit_mask(ch_addr), &g.dim2->ACMR0); in dim2_clear_channel()
389 g.atx_dbr.wpc = g.atx_dbr.rpc; in dbrcnt_init()
395 g.atx_dbr.sz_queue[norm_pc(g.atx_dbr.wpc)] = buf_sz; in dbrcnt_enq()
396 g.atx_dbr.wpc++; in dbrcnt_enq()
543 &g.dim2->MLBC0); in dim2_initialize()
729 g.fcnt = fcnt; in dim_startup()
730 g.dbr_map[0] = 0; in dim_startup()
731 g.dbr_map[1] = 0; in dim_startup()
[all …]
/linux/arch/x86/crypto/
A Dsm3-avx-asm_64.S114 #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/arch/x86/include/asm/uv/
A Duv_geo.h85 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/arch/alpha/kernel/
A Dmodule.c35 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/drivers/gpu/drm/msm/dp/
A Ddp_utils.c15 u8 g[4]; in dp_utils_get_g0_value() local
22 g[0] = c[3]; in dp_utils_get_g0_value()
23 g[1] = c[0] ^ c[3]; in dp_utils_get_g0_value()
24 g[2] = c[1]; in dp_utils_get_g0_value()
25 g[3] = c[2]; in dp_utils_get_g0_value()
28 ret_data = ((g[i] & 0x01) << i) | ret_data; in dp_utils_get_g0_value()
36 u8 g[4]; in dp_utils_get_g1_value() local
43 g[0] = c[0] ^ c[3]; in dp_utils_get_g1_value()
44 g[1] = c[0] ^ c[1] ^ c[3]; in dp_utils_get_g1_value()
45 g[2] = c[1] ^ c[2]; in dp_utils_get_g1_value()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_main_regs.h87 #define ANA_AC_PROBE_CFG(g) \ argument
127 #define ANA_AC_PROBE_PORT_CFG(g) \ argument
131 #define ANA_AC_PROBE_PORT_CFG1(g) \ argument
135 #define ANA_AC_PROBE_PORT_CFG2(g) \ argument
750 0, 1, 0, g, 4096, 4, 0, 0, 1, 4)
1772 0, 1, 0, g, 65, 512, 0, 0, 1, 4)
1776 0, 1, 0, g, 65, 512, 4, 0, 1, 4)
5898 0, 1, 72, g, 6, 8, 0, 0, 1, 4)
6044 0, 1, 0, g, 5, 64, 0, 0, 1, 4)
6102 0, 1, 0, g, 5, 64, 4, 0, 1, 4)
[all …]
/linux/drivers/gpu/host1x/
A Djob.c223 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/drivers/pinctrl/freescale/
A Dpinctrl-mxs.c213 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/arch/x86/include/asm/
A Ddesc_defs.h70 u16 limit1: 4, avl: 1, l: 1, d: 1, g: 1, base2: 8; member
87 .g = ((flags) >> 15) & 0x0001, \
109 u16 limit1 : 4, zero0 : 3, g : 1, base2 : 8; member
148 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset() argument
151 return g->offset_low | ((unsigned long)g->offset_middle << 16) | in gate_offset()
152 ((unsigned long) g->offset_high << 32); in gate_offset()
154 return g->offset_low | ((unsigned long)g->offset_middle << 16); in gate_offset()
158 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment() argument
160 return g->segment; in gate_segment()
/linux/samples/bpf/
A Dsockex3_kern.c92 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/drivers/clk/renesas/
A Dr9a06g032-clocks.c820 WARN_ON(!g->gate.reg && !g->gate.bit); in r9a06g032_clk_gate_set()
848 r9a06g032_clk_gate_set(g->clocks, &g->gate, 1); in r9a06g032_clk_gate_enable()
856 r9a06g032_clk_gate_set(g->clocks, &g->gate, 0); in r9a06g032_clk_gate_disable()
864 if (g->gate.reset.reg && !clk_rdesc_get(g->clocks, g->gate.reset)) in r9a06g032_clk_gate_is_enabled()
867 return clk_rdesc_get(g->clocks, g->gate.gate); in r9a06g032_clk_gate_is_enabled()
885 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_gate()
886 if (!g) in r9a06g032_register_gate()
1143 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_bitsel()
1144 if (!g) in r9a06g032_register_bitsel()
1233 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_dualgate()
[all …]

Completed in 97 milliseconds

12345678910>>...64