Home
last modified time | relevance | path

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

123456

/linux/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-mlxbf3.c97 struct gpio_chip *gc = &gs->gc; in mlxbf3_gpio_irq_handler()
195 gs = devm_kzalloc(dev, sizeof(*gs), GFP_KERNEL); in mlxbf3_gpio_probe()
196 if (!gs) in mlxbf3_gpio_probe()
200 if (IS_ERR(gs->gpio_io)) in mlxbf3_gpio_probe()
201 return PTR_ERR(gs->gpio_io); in mlxbf3_gpio_probe()
204 if (IS_ERR(gs->gpio_cause_io)) in mlxbf3_gpio_probe()
208 if (IS_ERR(gs->gpio_set_io)) in mlxbf3_gpio_probe()
212 if (IS_ERR(gs->gpio_clr_io)) in mlxbf3_gpio_probe()
214 gc = &gs->gc; in mlxbf3_gpio_probe()
232 girq = &gs->gc.irq; in mlxbf3_gpio_probe()
[all …]
A Dgpio-mlxbf2.c360 gs = devm_kzalloc(dev, sizeof(*gs), GFP_KERNEL); in mlxbf2_gpio_probe()
361 if (!gs) in mlxbf2_gpio_probe()
364 gs->dev = dev; in mlxbf2_gpio_probe()
368 if (IS_ERR(gs->gpio_io)) in mlxbf2_gpio_probe()
380 gc = &gs->gc; in mlxbf2_gpio_probe()
402 girq = &gs->gc.irq; in mlxbf2_gpio_probe()
425 ret = devm_gpiochip_add_data(dev, &gs->gc, gs); in mlxbf2_gpio_probe()
438 gs->csave_regs->gpio_mode0 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()
440 gs->csave_regs->gpio_mode1 = readl(gs->gpio_io + in mlxbf2_gpio_suspend()
450 writel(gs->csave_regs->gpio_mode0, gs->gpio_io + in mlxbf2_gpio_resume()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_gmin_platform.c175 if (!gs) in atomisp_register_i2c_module()
754 ret = axp_regulator_set(dev, gs, gs->eldo2_sel_reg, gs->eldo2_1p8v, in axp_v1p8_on()
765 ret = axp_regulator_set(dev, gs, gs->eldo1_sel_reg, gs->eldo1_1p6v, in axp_v1p8_on()
774 ret = axp_regulator_set(dev, gs, gs->eldo1_sel_reg, gs->eldo1_1p6v, in axp_v1p8_off()
782 ret = axp_regulator_set(dev, gs, gs->eldo2_sel_reg, gs->eldo2_1p8v, in axp_v1p8_off()
791 if (gs) { in gmin_gpio0_ctrl()
802 if (gs) { in gmin_gpio1_ctrl()
813 if (!gs || gs->v1p2_on == on) in gmin_v1p2_ctrl()
837 if (!gs || gs->v1p8_on == on) in gmin_v1p8_ctrl()
1094 gs->csi_fmt, gs->csi_bayer); in gmin_csi_cfg()
[all …]
/linux/scripts/kconfig/
A Dutil.c51 struct gstr gs; in str_new() local
53 gs.len = 64; in str_new()
54 gs.max_width = 0; in str_new()
56 return gs; in str_new()
62 free(gs->s); in str_free()
63 gs->s = NULL; in str_free()
64 gs->len = 0; in str_free()
74 gs->s = xrealloc(gs->s, l); in str_append()
75 gs->len = l; in str_append()
77 strcat(gs->s, s); in str_append()
[all …]
A Dlkc.h69 void str_free(struct gstr *gs);
70 void str_append(struct gstr *gs, const char *s);
71 void str_printf(struct gstr *gs, const char *fmt, ...);
72 char *str_get(const struct gstr *gs);
/linux/drivers/hte/
A Dhte-tegra194.c405 gs = gc->data; in tegra_hte_line_xlate()
406 if (!gs || !gs->prov_data) in tegra_hte_line_xlate()
467 gs = chip->data; in tegra_hte_en_dis_common()
529 gs = chip->data; in tegra_hte_request()
558 gs = chip->data; in tegra_hte_release()
638 tegra_hte_read_fifo(gs); in tegra_hte_isr()
822 tegra_hte_writel(gs, HTE_TECTRL, gs->conf_rval); in tegra_hte_resume_early()
826 tegra_hte_writel(gs, in tegra_hte_resume_early()
828 gs->sl[i].r_val); in tegra_hte_resume_early()
843 gs->conf_rval = tegra_hte_readl(gs, HTE_TECTRL); in tegra_hte_suspend_late()
[all …]
/linux/drivers/media/spi/
A Dgs1662.c46 struct gs { struct
257 struct gs *gs = to_gs(sd); in gs_s_dv_timings() local
274 struct gs *gs = to_gs(sd); in gs_g_dv_timings() local
286 struct gs *gs = to_gs(sd); in gs_query_dv_timings() local
341 struct gs *gs = to_gs(sd); in gs_s_stream() local
361 struct gs *gs = to_gs(sd); in gs_g_input_status() local
436 struct gs *gs; in gs_probe() local
439 gs = devm_kzalloc(&spi->dev, sizeof(struct gs), GFP_KERNEL); in gs_probe()
440 if (!gs) in gs_probe()
443 gs->pdev = spi; in gs_probe()
[all …]
/linux/tools/perf/
A Dbuiltin-inject.c1032 if (realloc_array_as_needed(gs->vcpu, gs->vcpu_cnt, vcpu, NULL)) in guest_session__vcpu()
1395 gs); in guest_session__add_build_ids()
1445 session = perf_session__new(&gs->data, &gs->tool); in guest_session__start()
1466 gs->tmp_fd = mkstemp(gs->tmp_file_name); in guest_session__start()
1514 zfree(&gs->vcpu); in guest_session__exit()
1534 get_tsc_conv(&gs->guest_tc, &gs->session->time_conv); in guest_session__get_tc()
1595 gs->ev.event = (union perf_event *)gs->ev.event_buf; in guest_session__fetch()
1603 ret = evlist__parse_sample(gs->session->evlist, gs->ev.event, &gs->ev.sample); in guest_session__fetch()
1614 guest_session__convert_time(gs, gs->ev.sample.time, &gs->ev.sample.time); in guest_session__fetch()
1654 if (!gs->ready) in guest_session__inject_events()
[all …]
/linux/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/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()
176 savesegment(gs, prev->gs); in __switch_to()
206 if (prev->gs | next->gs) in __switch_to()
207 loadsegment(gs, next->gs); in __switch_to()
A Ddoublefault_32.c57 regs.gs = TSS(gs); in doublefault_shim()
101 .gs = 0,
/linux/drivers/net/
A Dgeneve.c379 if (!gs) in geneve_udp_encap_recv()
429 if (!gs) in geneve_udp_encap_err_lookup()
593 gs = kzalloc(sizeof(*gs), GFP_KERNEL); in geneve_socket_create()
594 if (!gs) in geneve_socket_create()
599 kfree(gs); in geneve_socket_create()
604 gs->refcnt = 1; in geneve_socket_create()
622 return gs; in geneve_socket_create()
627 if (!gs || --gs->refcnt) in __geneve_sock_release()
663 return gs; in geneve_find_sock()
679 if (gs) { in geneve_sock_add()
[all …]
/linux/include/linux/usb/
A Dgadget_configfs.h11 struct __struct *gs = to_##__struct(item); \
14 ret = usb_string_copy(page, &gs->__name); \
23 struct __struct *gs = to_##__struct(item); \
24 return sprintf(page, "%s\n", gs->__name ?: ""); \
49 struct struct_in *gs; \
66 list_for_each_entry(gs, &gi->string_list, list) { \
67 if (gs->stringtab_dev.language == new->stringtab_dev.language) \
/linux/tools/testing/selftests/x86/
A Dfsgsbase.c296 asm volatile ("mov %0, %%gs" : : "rm" (gs)); in load_gs()
297 return gs; in load_gs()
474 unsigned long gs_offset = USER_REGS_OFFSET(gs); in test_ptrace_write_gs_read_base()
533 unsigned long gs, base; in test_ptrace_write_gsbase() local
534 unsigned long gs_offset = USER_REGS_OFFSET(gs); in test_ptrace_write_gsbase()
537 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); in test_ptrace_write_gsbase()
539 if (gs != *shared_scratch) { in test_ptrace_write_gsbase()
548 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL); in test_ptrace_write_gsbase()
557 if (gs != *shared_scratch) { in test_ptrace_write_gsbase()
559 printf("[FAIL]\tGS changed to %lx\n", gs); in test_ptrace_write_gsbase()
[all …]
/linux/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/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()
1004 return &adapter->gs->as; in zfcp_fc_job_wka_port()
1006 return &adapter->gs->ms; in zfcp_fc_job_wka_port()
1008 return &adapter->gs->ts; in zfcp_fc_job_wka_port()
1011 return &adapter->gs->ds; in zfcp_fc_job_wka_port()
1119 adapter->gs = wka_ports; in zfcp_fc_gs_setup()
1130 kfree(adapter->gs); in zfcp_fc_gs_destroy()
[all …]
/linux/drivers/clk/rockchip/
A Dclk.h604 df, go, gs, gf) \ argument
620 .gate_shift = gs, \
642 .gate_shift = gs, \
647 go, gs, gf) \ argument
660 .gate_shift = gs, \
679 .gate_shift = gs, \
684 go, gs, gf) \ argument
697 .gate_shift = gs, \
753 .gate_shift = gs, \
770 .gate_shift = gs, \
[all …]
/linux/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/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/scripts/gcc-plugins/
A Dgcc-common.h156 inline bool is_a_helper<const gassign *>::test(const_gimple gs) in test() argument
158 return gs->code == GIMPLE_ASSIGN; in test()
314 inline bool is_a_helper<const ggoto *>::test(const_gimple gs) in test() argument
316 return gs->code == GIMPLE_GOTO; in test()
321 inline bool is_a_helper<const greturn *>::test(const_gimple gs) in test() argument
323 return gs->code == GIMPLE_RETURN; in test()
/linux/Documentation/devicetree/bindings/usb/
A Dhisilicon,hi3798mv200-dwc3.yaml30 - description: Controller gs clock
40 - const: gs
82 clock-names = "bus", "suspend", "ref", "gm", "gs", "utmi", "pipe";
/linux/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/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()

Completed in 70 milliseconds

123456