Home
last modified time | relevance | path

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

12345678910>>...53

/Linux-v4.19/tools/perf/bench/
Dnuma.c44 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0)
50 #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0)
158 static struct global_info *g = NULL; variable
226 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes()
273 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu()
276 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
288 int cpus_per_node = g->p.nr_cpus / nr_numa_nodes(); in bind_to_node()
293 BUG_ON(cpus_per_node * nr_numa_nodes() != g->p.nr_cpus); in bind_to_node()
302 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_node()
308 BUG_ON(cpu_stop > g->p.nr_cpus); in bind_to_node()
[all …]
/Linux-v4.19/Documentation/media/uapi/v4l/
Dpixfmt-packed-rgb.rst83 - g\ :sub:`2`
84 - g\ :sub:`1`
85 - g\ :sub:`0`
94 - g\ :sub:`3`
95 - g\ :sub:`2`
96 - g\ :sub:`1`
97 - g\ :sub:`0`
117 - g\ :sub:`3`
118 - g\ :sub:`2`
119 - g\ :sub:`1`
[all …]
Duser-func.rst17 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 …]
Dsubdev-formats.rst207 - g\ :sub:`3`
208 - g\ :sub:`2`
209 - g\ :sub:`1`
210 - g\ :sub:`0`
279 - g\ :sub:`3`
280 - g\ :sub:`2`
281 - g\ :sub:`1`
282 - g\ :sub:`0`
316 - g\ :sub:`3`
317 - g\ :sub:`2`
[all …]
/Linux-v4.19/drivers/gpio/
Dgpio-ftgpio010.c53 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_ack_irq() local
55 writel(BIT(irqd_to_hwirq(d)), g->base + GPIO_INT_CLR); in ftgpio_gpio_ack_irq()
61 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_mask_irq() local
64 val = readl(g->base + GPIO_INT_EN); in ftgpio_gpio_mask_irq()
66 writel(val, g->base + GPIO_INT_EN); in ftgpio_gpio_mask_irq()
72 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_unmask_irq() local
75 val = readl(g->base + GPIO_INT_EN); in ftgpio_gpio_unmask_irq()
77 writel(val, g->base + GPIO_INT_EN); in ftgpio_gpio_unmask_irq()
83 struct ftgpio_gpio *g = gpiochip_get_data(gc); in ftgpio_gpio_set_irq_type() local
87 reg_type = readl(g->base + GPIO_INT_TYPE); in ftgpio_gpio_set_irq_type()
[all …]
Dgpio-davinci.c51 struct davinci_gpio_regs __iomem *g; in irq2regs() local
53 g = (__force struct davinci_gpio_regs __iomem *)irq_data_get_irq_chip_data(d); in irq2regs()
55 return g; in irq2regs()
67 struct davinci_gpio_regs __iomem *g; in __davinci_direction() local
73 g = d->regs[bank]; in __davinci_direction()
75 temp = readl_relaxed(&g->dir); in __davinci_direction()
78 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction()
82 writel_relaxed(temp, &g->dir); in __davinci_direction()
109 struct davinci_gpio_regs __iomem *g; in davinci_gpio_get() local
112 g = d->regs[bank]; in davinci_gpio_get()
[all …]
/Linux-v4.19/drivers/pinctrl/qcom/
Dpinctrl-msm.c151 const struct msm_pingroup *g; in msm_pinmux_set_mux() local
156 g = &pctrl->soc->groups[group]; in msm_pinmux_set_mux()
157 mask = GENMASK(g->mux_bit + order_base_2(g->nfuncs) - 1, g->mux_bit); in msm_pinmux_set_mux()
159 for (i = 0; i < g->nfuncs; i++) { in msm_pinmux_set_mux()
160 if (g->funcs[i] == function) in msm_pinmux_set_mux()
164 if (WARN_ON(i == g->nfuncs)) in msm_pinmux_set_mux()
169 val = readl(pctrl->regs + g->ctl_reg); in msm_pinmux_set_mux()
171 val |= i << g->mux_bit; in msm_pinmux_set_mux()
172 writel(val, pctrl->regs + g->ctl_reg); in msm_pinmux_set_mux()
188 const struct msm_pingroup *g, in msm_config_reg() argument
[all …]
/Linux-v4.19/drivers/pinctrl/tegra/
Dpinctrl-tegra.c260 const struct tegra_pingroup *g; in tegra_pinctrl_set_mux() local
264 g = &pmx->soc->groups[group]; in tegra_pinctrl_set_mux()
266 if (WARN_ON(g->mux_reg < 0)) in tegra_pinctrl_set_mux()
269 for (i = 0; i < ARRAY_SIZE(g->funcs); i++) { in tegra_pinctrl_set_mux()
270 if (g->funcs[i] == function) in tegra_pinctrl_set_mux()
273 if (WARN_ON(i == ARRAY_SIZE(g->funcs))) in tegra_pinctrl_set_mux()
276 val = pmx_readl(pmx, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux()
277 val &= ~(0x3 << g->mux_bit); in tegra_pinctrl_set_mux()
278 val |= i << g->mux_bit; in tegra_pinctrl_set_mux()
279 pmx_writel(pmx, val, g->mux_bank, g->mux_reg); in tegra_pinctrl_set_mux()
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_tcpbpf_kern.c26 struct tcpbpf_globals g, *gp; in update_event_map() local
30 struct tcpbpf_globals g = {0}; in update_event_map() local
32 g.event_map |= (1 << event); in update_event_map()
33 bpf_map_update_elem(&global_map, &key, &g, in update_event_map()
36 g = *gp; in update_event_map()
37 g.event_map |= (1 << event); in update_event_map()
38 bpf_map_update_elem(&global_map, &key, &g, in update_event_map()
68 struct tcpbpf_globals g, *gp; in bpf_testcb() local
73 g = *gp; in bpf_testcb()
74 g.bad_cb_test_rv = bad_call_rv; in bpf_testcb()
[all …]
/Linux-v4.19/crypto/
Dsha256_generic.c73 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local
87 e=state[4]; f=state[5]; g=state[6]; h=state[7]; in sha256_transform()
90 t1 = h + e1(e) + Ch(e,f,g) + 0x428a2f98 + W[ 0]; in sha256_transform()
92 t1 = g + e1(d) + Ch(d,e,f) + 0x71374491 + W[ 1]; in sha256_transform()
93 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha256_transform()
95 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha256_transform()
97 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha256_transform()
99 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha256_transform()
101 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha256_transform()
102 t1 = b + e1(g) + Ch(g,h,a) + 0x923f82a4 + W[ 6]; in sha256_transform()
[all …]
/Linux-v4.19/lib/
Dsha256.c50 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local
64 e = state[4]; f = state[5]; g = state[6]; h = state[7]; in sha256_transform()
67 t1 = h + e1(e) + Ch(e, f, g) + 0x428a2f98 + W[0]; in sha256_transform()
69 t1 = g + e1(d) + Ch(d, e, f) + 0x71374491 + W[1]; in sha256_transform()
70 t2 = e0(h) + Maj(h, a, b); c += t1; g = t1 + t2; in sha256_transform()
72 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha256_transform()
74 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform()
76 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform()
78 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform()
79 t1 = b + e1(g) + Ch(g, h, a) + 0x923f82a4 + W[6]; in sha256_transform()
[all …]
Dts_bm.c100 static int subpattern(u8 *pattern, int i, int j, int g) in subpattern() argument
102 int x = i+g-1, y = j+g-1, ret = 0; in subpattern()
109 if (--g == 0) { in subpattern()
120 int i, j, g; in compute_prefix_tbl() local
136 for (i = bm->patlen-1, g = 1; i > 0; g++, i--) { in compute_prefix_tbl()
137 for (j = i-1; j >= 1-g ; j--) in compute_prefix_tbl()
138 if (subpattern(bm->pattern, i, j, g)) { in compute_prefix_tbl()
139 bm->good_shift[g] = bm->patlen-j-g; in compute_prefix_tbl()
/Linux-v4.19/drivers/usb/gadget/udc/
Dtrace.h21 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-v4.19/drivers/staging/most/dim2/
Dhal.c83 static struct lld_global_vars_t g = { false }; variable
119 if ((g.dbr_map[i] & mask) == 0) { in alloc_dbr()
120 g.dbr_map[i] |= mask; in alloc_dbr()
139 g.dbr_map[block_idx / 32] &= ~mask; in free_dbr()
146 dimcb_io_write(&g.dim2->MADR, val); in dim2_transfer_madr()
149 while ((dimcb_io_read(&g.dim2->MCTL) & 1) != 1) in dim2_transfer_madr()
152 dimcb_io_write(&g.dim2->MCTL, 0); /* clear transfer complete */ in dim2_transfer_madr()
162 dimcb_io_write(&g.dim2->MCTL, 0); /* clear transfer complete */ in dim2_clear_dbr()
163 dimcb_io_write(&g.dim2->MDAT0, 0); in dim2_clear_dbr()
173 return dimcb_io_read((&g.dim2->MDAT0) + mdat_idx); in dim2_read_ctr()
[all …]
/Linux-v4.19/drivers/clk/renesas/
Dr9a06g032-clocks.c348 struct r9a06g032_gate *g, int on) in r9a06g032_clk_gate_set() argument
352 WARN_ON(!g->gate); in r9a06g032_clk_gate_set()
355 clk_rdesc_set(clocks, g->gate, on); in r9a06g032_clk_gate_set()
357 if (g->reset) in r9a06g032_clk_gate_set()
358 clk_rdesc_set(clocks, g->reset, 1); in r9a06g032_clk_gate_set()
368 if (g->ready || g->midle) { in r9a06g032_clk_gate_set()
370 if (g->ready) in r9a06g032_clk_gate_set()
371 clk_rdesc_set(clocks, g->ready, on); in r9a06g032_clk_gate_set()
373 if (g->midle) in r9a06g032_clk_gate_set()
374 clk_rdesc_set(clocks, g->midle, !on); in r9a06g032_clk_gate_set()
[all …]
/Linux-v4.19/drivers/pinctrl/sirf/
Dpinctrl-sirf.h16 #define SIRFSOC_GPIO_PAD_EN(g) ((g)*0x100 + 0x84) argument
17 #define SIRFSOC_GPIO_PAD_EN_CLR(g) ((g)*0x100 + 0x90) argument
18 #define SIRFSOC_GPIO_CTRL(g, i) ((g)*0x100 + (i)*4) argument
20 #define SIRFSOC_GPIO_INT_STATUS(g) ((g)*0x100 + 0x8C) argument
97 #define SIRFSOC_PMX_FUNCTION(n, g, m) \ argument
100 .groups = g, \
101 .num_groups = ARRAY_SIZE(g), \
/Linux-v4.19/arch/alpha/kernel/
Dmodule.c47 struct got_entry *g; in process_reloc_for_got() local
52 for (g = chains + r_sym; g ; g = g->next) in process_reloc_for_got()
53 if (g->r_addend == r_addend) { in process_reloc_for_got()
54 if (g->got_offset == 0) { in process_reloc_for_got()
55 g->got_offset = *poffset; in process_reloc_for_got()
61 g = kmalloc (sizeof (*g), GFP_KERNEL); in process_reloc_for_got()
62 g->next = chains[r_sym].next; in process_reloc_for_got()
63 g->r_addend = r_addend; in process_reloc_for_got()
64 g->got_offset = *poffset; in process_reloc_for_got()
66 chains[r_sym].next = g; in process_reloc_for_got()
[all …]
/Linux-v4.19/arch/x86/include/asm/
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
90 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset() argument
93 return g->offset_low | ((unsigned long)g->offset_middle << 16) | in gate_offset()
94 ((unsigned long) g->offset_high << 32); in gate_offset()
96 return g->offset_low | ((unsigned long)g->offset_middle << 16); in gate_offset()
100 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment() argument
102 return g->segment; in gate_segment()
/Linux-v4.19/arch/ia64/include/asm/sn/
Dgeo.h112 static inline slabid_t geo_slab(geoid_t g) in geo_slab() argument
114 return (g.common.type == GEO_TYPE_INVALID) ? in geo_slab()
115 INVALID_SLAB : g.common.slab; in geo_slab()
118 static inline slotid_t geo_slot(geoid_t g) in geo_slot() argument
120 return (g.common.type == GEO_TYPE_INVALID) ? in geo_slot()
121 INVALID_SLOT : g.common.slot; in geo_slot()
124 static inline moduleid_t geo_module(geoid_t g) in geo_module() argument
126 return (g.common.type == GEO_TYPE_INVALID) ? in geo_module()
127 INVALID_MODULE : g.common.module; in geo_module()
/Linux-v4.19/arch/arm64/boot/dts/freescale/
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"
Dfsl-ls1043-post.dtsi12 #include "qoriq-fman3-0-1g-0.dtsi"
13 #include "qoriq-fman3-0-1g-1.dtsi"
14 #include "qoriq-fman3-0-1g-2.dtsi"
15 #include "qoriq-fman3-0-1g-3.dtsi"
16 #include "qoriq-fman3-0-1g-4.dtsi"
17 #include "qoriq-fman3-0-1g-5.dtsi"
18 #include "qoriq-fman3-0-10g-0.dtsi"
/Linux-v4.19/drivers/pinctrl/freescale/
Dpinctrl-mxs.c204 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-v4.19/drivers/gpu/host1x/
Djob.c138 struct host1x_job_gather *g = &job->gathers[i]; in pin_job() local
147 g->bo = host1x_bo_get(g->bo); in pin_job()
148 if (!g->bo) { in pin_job()
153 phys_addr = host1x_bo_pin(g->bo, &sgt); in pin_job()
186 job->unpins[job->num_unpins].bo = g->bo; in pin_job()
198 static int do_relocs(struct host1x_job *job, struct host1x_job_gather *g) in do_relocs() argument
202 struct host1x_bo *cmdbuf = g->bo; in do_relocs()
219 g->offset / sizeof(u32); in do_relocs()
382 static int validate(struct host1x_firewall *fw, struct host1x_job_gather *g) in validate() argument
385 (g->offset / sizeof(u32)); in validate()
[all …]
/Linux-v4.19/samples/bpf/
Dsockex3_kern.c122 static void update_stats(struct __sk_buff *skb, struct globals *g) in update_stats() argument
124 struct bpf_flow_keys key = g->flow; in update_stats()
139 struct globals *g, __u32 ip_proto) in parse_ip_proto() argument
179 g->flow.ports = load_word(skb, nhoff); in parse_ip_proto()
181 g->flow.ip_proto = ip_proto; in parse_ip_proto()
182 update_stats(skb, g); in parse_ip_proto()
191 struct globals *g = this_cpu_globals(); in PROG() local
194 if (!g) in PROG()
205 g->flow.src = load_word(skb, nhoff + offsetof(struct iphdr, saddr)); in PROG()
206 g->flow.dst = load_word(skb, nhoff + offsetof(struct iphdr, daddr)); in PROG()
[all …]
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-colors.c1153 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 …]

12345678910>>...53