Home
last modified time | relevance | path

Searched refs:gs (Results 1 – 25 of 130) sorted by relevance

123456

/linux-6.3-rc2/drivers/gpio/
A Dgpio-mlxbf.c57 gs = devm_kzalloc(&pdev->dev, sizeof(*gs), GFP_KERNEL); in mlxbf_gpio_probe()
58 if (!gs) in mlxbf_gpio_probe()
62 if (IS_ERR(gs->base)) in mlxbf_gpio_probe()
65 gc = &gs->gc; in mlxbf_gpio_probe()
79 ret = devm_gpiochip_add_data(dev, &gs->gc, gs); in mlxbf_gpio_probe()
95 gs->csave_regs.scratchpad = readq(gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_suspend()
104 gs->csave_regs.pin_dir_i = readq(gs->base + MLXBF_GPIO_PIN_DIR_I); in mlxbf_gpio_suspend()
105 gs->csave_regs.pin_dir_o = readq(gs->base + MLXBF_GPIO_PIN_DIR_O); in mlxbf_gpio_suspend()
114 writeq(gs->csave_regs.scratchpad, gs->base + MLXBF_GPIO_SCRATCHPAD); in mlxbf_gpio_resume()
123 writeq(gs->csave_regs.pin_dir_i, gs->base + MLXBF_GPIO_PIN_DIR_I); in mlxbf_gpio_resume()
[all …]
A Dgpio-mlxbf2.c339 gs = devm_kzalloc(dev, sizeof(*gs), GFP_KERNEL); in mlxbf2_gpio_probe()
340 if (!gs) in mlxbf2_gpio_probe()
345 if (IS_ERR(gs->gpio_io)) in mlxbf2_gpio_probe()
357 gc = &gs->gc; in mlxbf2_gpio_probe()
379 gs->irq_chip.name = name; in mlxbf2_gpio_probe()
384 girq = &gs->gc.irq; in mlxbf2_gpio_probe()
407 ret = devm_gpiochip_add_data(dev, &gs->gc, gs); in mlxbf2_gpio_probe()
420 gs->csave_regs->gpio_mode0 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()
422 gs->csave_regs->gpio_mode1 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()
432 writel(gs->csave_regs->gpio_mode0, gs->gpio_io + in mlxbf2_gpio_resume()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/
A Datomisp_gmin_platform.c187 if (!gs) in atomisp_register_i2c_module()
750 ret = axp_regulator_set(dev, gs, gs->eldo2_sel_reg, gs->eldo2_1p8v, in axp_v1p8_on()
761 ret = axp_regulator_set(dev, gs, gs->eldo1_sel_reg, gs->eldo1_1p6v, in axp_v1p8_on()
770 ret = axp_regulator_set(dev, gs, gs->eldo1_sel_reg, gs->eldo1_1p6v, in axp_v1p8_off()
778 ret = axp_regulator_set(dev, gs, gs->eldo2_sel_reg, gs->eldo2_1p8v, in axp_v1p8_off()
787 if (gs) { in gmin_gpio0_ctrl()
798 if (gs) { in gmin_gpio1_ctrl()
809 if (!gs || gs->v1p2_on == on) in gmin_v1p2_ctrl()
833 if (!gs || gs->v1p8_on == on) in gmin_v1p8_ctrl()
1090 gs->csi_fmt, gs->csi_bayer); in gmin_csi_cfg()
[all …]
/linux-6.3-rc2/scripts/kconfig/
A Dutil.c34 struct gstr gs; in str_new() local
36 gs.len = 64; in str_new()
37 gs.max_width = 0; in str_new()
39 return gs; in str_new()
45 if (gs->s) in str_free()
46 free(gs->s); in str_free()
47 gs->s = NULL; in str_free()
48 gs->len = 0; in str_free()
58 gs->s = xrealloc(gs->s, l); in str_append()
59 gs->len = l; in str_append()
[all …]
A Dlkc.h76 void str_free(struct gstr *gs);
77 void str_append(struct gstr *gs, const char *s);
78 void str_printf(struct gstr *gs, const char *fmt, ...);
79 char *str_get(struct gstr *gs);
/linux-6.3-rc2/drivers/hte/
A Dhte-tegra194.c290 gs = gc->data; in tegra_hte_line_xlate()
291 if (!gs || !gs->prov_data) in tegra_hte_line_xlate()
349 gs = chip->data; in tegra_hte_en_dis_common()
411 gs = chip->data; in tegra_hte_request()
440 gs = chip->data; in tegra_hte_release()
520 tegra_hte_read_fifo(gs); in tegra_hte_isr()
679 tegra_hte_writel(gs, HTE_TECTRL, gs->conf_rval); in tegra_hte_resume_early()
683 tegra_hte_writel(gs, in tegra_hte_resume_early()
685 gs->sl[i].r_val); in tegra_hte_resume_early()
700 gs->conf_rval = tegra_hte_readl(gs, HTE_TECTRL); in tegra_hte_suspend_late()
[all …]
/linux-6.3-rc2/drivers/media/spi/
A Dgs1662.c46 struct gs { struct
265 struct gs *gs = to_gs(sd); in gs_s_dv_timings() local
279 struct gs *gs = to_gs(sd); in gs_g_dv_timings() local
288 struct gs *gs = to_gs(sd); in gs_query_dv_timings() local
340 struct gs *gs = to_gs(sd); in gs_s_stream() local
360 struct gs *gs = to_gs(sd); in gs_g_input_status() local
435 struct gs *gs; in gs_probe() local
438 gs = devm_kzalloc(&spi->dev, sizeof(struct gs), GFP_KERNEL); in gs_probe()
439 if (!gs) in gs_probe()
442 gs->pdev = spi; in gs_probe()
[all …]
/linux-6.3-rc2/tools/perf/
A Dbuiltin-inject.c847 if (realloc_array_as_needed(gs->vcpu, gs->vcpu_cnt, vcpu, NULL)) in guest_session__vcpu()
1245 session = perf_session__new(&gs->data, &gs->tool); in guest_session__start()
1266 gs->tmp_fd = mkstemp(gs->tmp_file_name); in guest_session__start()
1314 free(gs->vcpu); in guest_session__exit()
1334 get_tsc_conv(&gs->guest_tc, &gs->session->time_conv); in guest_session__get_tc()
1387 gs->ev.event = (union perf_event *)gs->ev.event_buf; in guest_session__fetch()
1395 ret = evlist__parse_sample(gs->session->evlist, gs->ev.event, &gs->ev.sample); in guest_session__fetch()
1406 guest_session__convert_time(gs, gs->ev.sample.time, &gs->ev.sample.time); in guest_session__fetch()
1446 if (!gs->ready) in guest_session__inject_events()
1612 gs->ready = true; in host__finished_init()
[all …]
/linux-6.3-rc2/lib/
A Dtest_hexdump.c74 int gs = groupsize, rs = rowsize; in test_hexdump_prepare_test() local
84 if (!is_power_of_2(gs) || gs > 8 || (len % gs != 0)) in test_hexdump_prepare_test()
85 gs = 1; in test_hexdump_prepare_test()
87 if (gs == 8) in test_hexdump_prepare_test()
89 else if (gs == 4) in test_hexdump_prepare_test()
91 else if (gs == 2) in test_hexdump_prepare_test()
98 for (i = 0; i < l / gs; i++) { in test_hexdump_prepare_test()
166 int rs = rowsize, gs = groupsize; in test_hexdump_overflow() local
181 he = (gs * 2 /* hex */ + 1 /* space */) * len / gs - 1 /* no trailing space */; in test_hexdump_overflow()
214 int gs = 1 << i; in test_hexdump_overflow_set() local
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Dprocess_32.c64 unsigned short gs; in __show_regs() local
66 savesegment(gs, gs); in __show_regs()
75 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags); in __show_regs()
114 loadsegment(gs, 0); in start_thread()
177 savesegment(gs, prev->gs); in __switch_to()
207 if (prev->gs | next->gs) in __switch_to()
208 loadsegment(gs, next->gs); in __switch_to()
A Ddoublefault_32.c56 regs.gs = TSS(gs); in doublefault_shim()
100 .gs = 0,
/linux-6.3-rc2/drivers/net/
A Dgeneve.c376 if (!gs) in geneve_udp_encap_recv()
424 if (!gs) in geneve_udp_encap_err_lookup()
588 gs = kzalloc(sizeof(*gs), GFP_KERNEL); in geneve_socket_create()
589 if (!gs) in geneve_socket_create()
594 kfree(gs); in geneve_socket_create()
599 gs->refcnt = 1; in geneve_socket_create()
617 return gs; in geneve_socket_create()
622 if (!gs || --gs->refcnt) in __geneve_sock_release()
658 return gs; in geneve_find_sock()
674 if (gs) { in geneve_sock_add()
[all …]
/linux-6.3-rc2/include/linux/usb/
A Dgadget_configfs.h14 struct __struct *gs = to_##__struct(item); \
17 ret = usb_string_copy(page, &gs->__name); \
26 struct __struct *gs = to_##__struct(item); \
27 return sprintf(page, "%s\n", gs->__name ?: ""); \
52 struct struct_in *gs; \
69 list_for_each_entry(gs, &gi->string_list, list) { \
70 if (gs->stringtab_dev.language == new->stringtab_dev.language) \
/linux-6.3-rc2/tools/testing/selftests/x86/
A Dfsgsbase.c302 asm volatile ("mov %0, %%gs" : : "rm" (gs)); in load_gs()
303 return gs; in load_gs()
480 unsigned long gs_offset = USER_REGS_OFFSET(gs); in test_ptrace_write_gs_read_base()
539 unsigned long gs, base; in test_ptrace_write_gsbase() local
540 unsigned long gs_offset = USER_REGS_OFFSET(gs); in test_ptrace_write_gsbase()
543 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); in test_ptrace_write_gsbase()
545 if (gs != *shared_scratch) { in test_ptrace_write_gsbase()
554 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); in test_ptrace_write_gsbase()
563 if (gs != *shared_scratch) { in test_ptrace_write_gsbase()
565 printf("[FAIL]\tGS changed to %lx\n", gs); in test_ptrace_write_gsbase()
[all …]
/linux-6.3-rc2/arch/x86/boot/
A Dbioscall.S27 pushw %gs
39 popw %gs
54 pushw %gs
75 popw %gs
A Dregs.c26 reg->gs = gs(); in initregs()
/linux-6.3-rc2/drivers/s390/scsi/
A Dzfcp_fc.c234 if (!gs) in zfcp_fc_wka_ports_force_offline()
236 zfcp_fc_wka_port_force_offline(&gs->ms); in zfcp_fc_wka_ports_force_offline()
237 zfcp_fc_wka_port_force_offline(&gs->ts); in zfcp_fc_wka_ports_force_offline()
238 zfcp_fc_wka_port_force_offline(&gs->ds); in zfcp_fc_wka_ports_force_offline()
997 return &adapter->gs->as; in zfcp_fc_job_wka_port()
999 return &adapter->gs->ms; in zfcp_fc_job_wka_port()
1001 return &adapter->gs->ts; in zfcp_fc_job_wka_port()
1004 return &adapter->gs->ds; in zfcp_fc_job_wka_port()
1112 adapter->gs = wka_ports; in zfcp_fc_gs_setup()
1123 kfree(adapter->gs); in zfcp_fc_gs_destroy()
[all …]
/linux-6.3-rc2/drivers/clk/rockchip/
A Dclk.h551 df, go, gs, gf) \ argument
567 .gate_shift = gs, \
589 .gate_shift = gs, \
594 go, gs, gf) \ argument
607 .gate_shift = gs, \
626 .gate_shift = gs, \
631 go, gs, gf) \ argument
644 .gate_shift = gs, \
700 .gate_shift = gs, \
717 .gate_shift = gs, \
[all …]
/linux-6.3-rc2/drivers/pinctrl/intel/
A Dpinctrl-intel.h145 #define __INTEL_COMMUNITY(b, s, e, g, n, gs, gn, soc) \ argument
153 .gpp_size = (gs), \
164 #define INTEL_COMMUNITY_SIZE(b, s, e, gs, gn, soc) \ argument
165 __INTEL_COMMUNITY(b, s, e, NULL, 0, gs, gn, soc)
/linux-6.3-rc2/arch/x86/include/asm/
A Dnospec-branch.h62 incq %gs:__x86_call_count;
64 incq %gs:__x86_ret_count;
66 incq %gs:__x86_stuffs_count;
68 incq %gs:__x86_ctxsw_count;
98 sarq $5, %gs:pcpu_hot + X86_call_depth; \
/linux-6.3-rc2/drivers/pinctrl/starfive/
A Dpinctrl-starfive-jh7110-sys.c317 const struct jh7110_vin_group_sel *gs = &jh7110_sys_vin_group_sel[pin]; in jh7110_set_vin_group() local
323 if (!gs->offset) in jh7110_set_vin_group()
326 reg = sfp->base + gs->offset; in jh7110_set_vin_group()
327 grp = gs->group << gs->shift; in jh7110_set_vin_group()
328 mask = 0x3U << gs->shift; in jh7110_set_vin_group()
/linux-6.3-rc2/scripts/gcc-plugins/
A Dgcc-common.h161 inline bool is_a_helper<const gassign *>::test(const_gimple gs) in test() argument
163 return gs->code == GIMPLE_ASSIGN; in test()
319 inline bool is_a_helper<const ggoto *>::test(const_gimple gs) in test() argument
321 return gs->code == GIMPLE_GOTO; in test()
326 inline bool is_a_helper<const greturn *>::test(const_gimple gs) in test() argument
328 return gs->code == GIMPLE_RETURN; in test()
/linux-6.3-rc2/arch/x86/include/uapi/asm/
A Dsigcontext.h203 __u16 gs, __gsh; member
258 __u16 gs; member
301 __u16 gs, __gsh; member
370 __u16 gs; member
/linux-6.3-rc2/arch/x86/power/
A Dcpu.c106 savesegment(gs, ctxt->gs); in __save_processor_state()
249 load_gs_index(ctxt->gs); in __restore_processor_state()
259 loadsegment(gs, ctxt->gs); in __restore_processor_state()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dctxgp102.c61 const u32 gs = gfxp * gr->ppc_tpc_max; in gp102_grctx_generate_attrib() local
69 gf100_grctx_patch_wr32(chan, o + 0xc0, gs); in gp102_grctx_generate_attrib()
73 bo += gs; in gp102_grctx_generate_attrib()

Completed in 63 milliseconds

123456