Home
last modified time | relevance | path

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

12345678910>>...145

/linux/tools/perf/bench/
A Dnuma.c459 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
1169 if (g->nr_tasks_started == g->p.nr_tasks) in worker_thread()
1434 if (g->p.show_quiet && !g->p.show_details) in init()
1438 if (!g->p.mb_global_str && !g->p.mb_proc_str && !g->p.mb_thread_str) in init()
1442 g->p.mb_global = atof(g->p.mb_global_str); in init()
1447 g->p.mb_proc = atof(g->p.mb_proc_str); in init()
1458 g->p.mb_thread = atof(g->p.mb_thread_str); in init()
1465 g->p.nr_tasks = g->p.nr_proc*g->p.nr_threads; in init()
1495 free_data(g->data, g->p.bytes_global); in deinit()
1500 free_data(g, sizeof(*g)); in deinit()
[all …]
/linux/drivers/gpio/
A Dgpio-ftgpio010.c232 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in ftgpio_gpio_probe()
233 if (!g) in ftgpio_gpio_probe()
236 g->dev = dev; in ftgpio_gpio_probe()
239 if (IS_ERR(g->base)) in ftgpio_gpio_probe()
271 g->gc.base = -1; in ftgpio_gpio_probe()
272 g->gc.parent = dev; in ftgpio_gpio_probe()
277 if (!IS_ERR(g->clk)) in ftgpio_gpio_probe()
286 girq = &g->gc.irq; in ftgpio_gpio_probe()
308 ret = devm_gpiochip_add_data(dev, &g->gc, g); in ftgpio_gpio_probe()
318 if (!IS_ERR(g->clk)) in ftgpio_gpio_probe()
[all …]
A Dgpio-ixp4xx.c196 struct ixp4xx_gpio *g; in ixp4xx_gpio_probe() local
200 g = devm_kzalloc(dev, sizeof(*g), GFP_KERNEL); in ixp4xx_gpio_probe()
201 if (!g) in ixp4xx_gpio_probe()
203 g->dev = dev; in ixp4xx_gpio_probe()
207 if (IS_ERR(g->base)) in ixp4xx_gpio_probe()
208 return PTR_ERR(g->base); in ixp4xx_gpio_probe()
233 if (!g->fwnode) { in ixp4xx_gpio_probe()
273 g->gc.ngpio = 16; in ixp4xx_gpio_probe()
280 g->gc.base = 0; in ixp4xx_gpio_probe()
284 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()
342 g = irqdata->regs; in gpio_irq_handler()
424 ? &g->set_falling : &g->clr_falling); in gpio_irq_type_unbanked()
426 ? &g->set_rising : &g->clr_rising); in gpio_irq_type_unbanked()
564 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.c87 return readl(pctrl->regs[g->tile] + g->name##_reg); \
92 writel(val, pctrl->regs[g->tile] + g->name##_reg); \
104 u32 val = g->intr_ack_high ? BIT(g->intr_status_bit) : 0; in MSM_ACCESSOR()
194 mask = GENMASK(g->mux_bit + order_base_2(g->nfuncs) - 1, g->mux_bit); in msm_pinmux_set_mux()
252 if (!g->nfuncs) in msm_pinmux_request_gpio()
753 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
759 val2 = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
889 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent()
902 val = msm_readl_io(pctrl, g) & BIT(g->in_bit); in msm_gpio_update_dual_edge_parent()
1000 val |= g->intr_target_kpss_val << g->intr_target_bit; in msm_gpio_irq_set_type()
[all …]
/linux/Documentation/userspace-api/media/v4l/
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 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 Dsubdev-formats.rst294 - 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/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()
416 *bit = g->hsm_bit; in tegra_pinconf_reg()
[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/drivers/staging/most/dim2/
A Dhal.c121 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/drivers/clk/renesas/
A Dr9a06g032-clocks.c456 if (g->ready || g->midle) { in r9a06g032_clk_gate_set()
472 r9a06g032_clk_gate_set(g->clocks, &g->gate, 1); in r9a06g032_clk_gate_enable()
480 r9a06g032_clk_gate_set(g->clocks, &g->gate, 0); in r9a06g032_clk_gate_disable()
488 if (g->gate.reset && !clk_rdesc_get(g->clocks, g->gate.reset)) in r9a06g032_clk_gate_is_enabled()
491 return clk_rdesc_get(g->clocks, g->gate.gate); in r9a06g032_clk_gate_is_enabled()
509 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_gate()
510 if (!g) in r9a06g032_register_gate()
766 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_bitsel()
767 if (!g) in r9a06g032_register_bitsel()
856 g = kzalloc(sizeof(*g), GFP_KERNEL); in r9a06g032_register_dualgate()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_main_regs.h81 #define ANA_AC_SRC_CFG(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 0, 0, 1, 4) argument
84 #define ANA_AC_SRC_CFG1(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 4, 0, 1, 4) argument
87 #define ANA_AC_SRC_CFG2(g) __REG(TARGET_ANA_AC, 0, 1, 849920, g, 102, 16, 8, 0, 1, 4) argument
546 #define ASM_RX_IN_BYTES_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 0, 0, 1, 4) argument
549 #define ASM_RX_SYMBOL_ERR_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 4, 0, 1, 4) argument
552 #define ASM_RX_PAUSE_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 8, 0, 1, 4) argument
558 #define ASM_RX_OK_BYTES_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 16, 0, 1, 4) argument
561 #define ASM_RX_BAD_BYTES_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 20, 0, 1, 4) argument
564 #define ASM_RX_UC_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 24, 0, 1, 4) argument
567 #define ASM_RX_MC_CNT(g) __REG(TARGET_ASM, 0, 1, 0, g, 65, 512, 28, 0, 1, 4) argument
[all …]
/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/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/x86/include/asm/
A Ddesc_defs.h20 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/drivers/gpu/host1x/
A Djob.c139 struct host1x_job_gather *g; in pin_job() local
238 g = &job->cmds[i].gather; in pin_job()
240 g->bo = host1x_bo_get(g->bo); in pin_job()
241 if (!g->bo) { in pin_job()
307 host1x_bo_put(g->bo); in pin_job()
497 fw->words = g->words; in validate()
498 fw->cmdbuf = g->bo; in validate()
616 g->offset = offset; in copy_gathers()
619 if (validate(&fw, g)) in copy_gathers()
658 if (g->handled) in host1x_job_pin()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c32 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()
439 ttc->g = kcalloc(MLX5_INNER_TTC_NUM_GROUPS, sizeof(*ttc->g), in mlx5_create_inner_ttc_table_groups()
441 if (!ttc->g) in mlx5_create_inner_ttc_table_groups()
445 kfree(ttc->g); in mlx5_create_inner_ttc_table_groups()
446 ttc->g = NULL; in mlx5_create_inner_ttc_table_groups()
536 ttc->g[i] = NULL; in mlx5_destroy_ttc_table()
[all …]
/linux/drivers/pinctrl/freescale/
A Dpinctrl-mxs.c210 for (i = 0; i < g->npins; i++) { in mxs_pinctrl_set_mux()
309 g->config = config; in mxs_pinconf_group_set()
366 g->name = group; in mxs_pinctrl_parse_group()
373 g->pins = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->pins), in mxs_pinctrl_parse_group()
375 if (!g->pins) in mxs_pinctrl_parse_group()
378 g->muxsel = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->muxsel), in mxs_pinctrl_parse_group()
380 if (!g->muxsel) in mxs_pinctrl_parse_group()
383 of_property_read_u32_array(np, propname, g->pins, g->npins); in mxs_pinctrl_parse_group()
385 g->muxsel[i] = MUXID_TO_MUXSEL(g->pins[i]); in mxs_pinctrl_parse_group()
386 g->pins[i] = MUXID_TO_PINID(g->pins[i]); in mxs_pinctrl_parse_group()
[all …]
/linux/drivers/media/common/v4l2-tpg/
A Dv4l2-tpg-colors.c1161 *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 …]
/linux/samples/bpf/
A Dsockex3_kern.c127 struct flow_key_record key = g->flow; in update_stats()
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()
216 parse_ip_proto(skb, g, ip_proto); in PROG()
225 if (!g) in PROG()
232 g->flow.src = ipv6_addr_hash(skb, in PROG()
234 g->flow.dst = ipv6_addr_hash(skb, in PROG()
[all …]
/linux/arch/arm64/boot/dts/freescale/
A Dfsl-ls1046-post.dtsi13 #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/lib/
A Dts_bm.c96 static int subpattern(u8 *pattern, int i, int j, int g) in subpattern() argument
98 int x = i+g-1, y = j+g-1, ret = 0; in subpattern()
105 if (--g == 0) { in subpattern()
116 int i, j, g; in compute_prefix_tbl() local
132 for (i = bm->patlen-1, g = 1; i > 0; g++, i--) { in compute_prefix_tbl()
133 for (j = i-1; j >= 1-g ; j--) in compute_prefix_tbl()
134 if (subpattern(bm->pattern, i, j, g)) { in compute_prefix_tbl()
135 bm->good_shift[g] = bm->patlen-j-g; in compute_prefix_tbl()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
A Dingress_lgcy.c23 struct mlx5_flow_group *g; in esw_acl_ingress_lgcy_groups_create() local
43 if (IS_ERR(g)) { in esw_acl_ingress_lgcy_groups_create()
44 err = PTR_ERR(g); in esw_acl_ingress_lgcy_groups_create()
59 if (IS_ERR(g)) { in esw_acl_ingress_lgcy_groups_create()
60 err = PTR_ERR(g); in esw_acl_ingress_lgcy_groups_create()
65 vport->ingress.legacy.allow_untagged_only_grp = g; in esw_acl_ingress_lgcy_groups_create()
76 if (IS_ERR(g)) { in esw_acl_ingress_lgcy_groups_create()
77 err = PTR_ERR(g); in esw_acl_ingress_lgcy_groups_create()
89 if (IS_ERR(g)) { in esw_acl_ingress_lgcy_groups_create()
90 err = PTR_ERR(g); in esw_acl_ingress_lgcy_groups_create()
[all …]

Completed in 101 milliseconds

12345678910>>...145