Searched refs:gs (Results 1 - 25 of 122) sorted by relevance

12345

/linux-master/drivers/gpio/
H A Dgpio-mlxbf.c52 struct mlxbf_gpio_state *gs; local
57 gs = devm_kzalloc(&pdev->dev, sizeof(*gs), GFP_KERNEL);
58 if (!gs)
61 gs->base = devm_platform_ioremap_resource(pdev, 0);
62 if (IS_ERR(gs->base))
63 return PTR_ERR(gs->base);
65 gc = &gs->gc;
67 gs->base + MLXBF_GPIO_PIN_STATE,
70 gs
93 struct mlxbf_gpio_state *gs = platform_get_drvdata(pdev); local
112 struct mlxbf_gpio_state *gs = platform_get_drvdata(pdev); local
[all...]
H A Dgpio-mlxbf3.c57 struct mlxbf3_gpio_context *gs = gpiochip_get_data(gc); local
64 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags);
65 writel(BIT(offset), gs->gpio_cause_io + MLXBF_GPIO_CAUSE_OR_CLRCAUSE);
67 val = readl(gs->gpio_cause_io + MLXBF_GPIO_CAUSE_OR_EVTEN0);
69 writel(val, gs->gpio_cause_io + MLXBF_GPIO_CAUSE_OR_EVTEN0);
70 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags);
76 struct mlxbf3_gpio_context *gs = gpiochip_get_data(gc); local
81 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags);
82 val = readl(gs->gpio_cause_io + MLXBF_GPIO_CAUSE_OR_EVTEN0);
84 writel(val, gs
92 struct mlxbf3_gpio_context *gs = ptr; local
110 struct mlxbf3_gpio_context *gs = gpiochip_get_data(gc); local
186 struct mlxbf3_gpio_context *gs; local
[all...]
H A Dgpio-mlxbf2.c130 static int mlxbf2_gpio_lock_acquire(struct mlxbf2_gpio_context *gs) argument
135 raw_spin_lock(&gs->gc.bgpio_lock);
143 raw_spin_unlock(&gs->gc.bgpio_lock);
156 static void mlxbf2_gpio_lock_release(struct mlxbf2_gpio_context *gs)
157 __releases(&gs->gc.bgpio_lock)
161 raw_spin_unlock(&gs->gc.bgpio_lock);
186 struct mlxbf2_gpio_context *gs = gpiochip_get_data(chip); local
193 ret = mlxbf2_gpio_lock_acquire(gs);
197 writel(BIT(offset), gs->gpio_io + YU_GPIO_MODE0_CLEAR);
198 writel(BIT(offset), gs
213 struct mlxbf2_gpio_context *gs = gpiochip_get_data(chip); local
236 struct mlxbf2_gpio_context *gs = gpiochip_get_data(gc); local
256 struct mlxbf2_gpio_context *gs = gpiochip_get_data(gc); local
271 struct mlxbf2_gpio_context *gs = ptr; local
289 struct mlxbf2_gpio_context *gs = gpiochip_get_data(gc); local
332 struct mlxbf2_gpio_context *gs = gpiochip_get_data(gc); local
350 struct mlxbf2_gpio_context *gs; local
436 struct mlxbf2_gpio_context *gs = dev_get_drvdata(dev); local
448 struct mlxbf2_gpio_context *gs = dev_get_drvdata(dev); local
[all...]
/linux-master/scripts/kconfig/
H A Dutil.c59 struct gstr gs; local
60 gs.s = xmalloc(sizeof(char) * 64);
61 gs.len = 64;
62 gs.max_width = 0;
63 strcpy(gs.s, "\0");
64 return gs;
68 void str_free(struct gstr *gs) argument
70 free(gs->s);
71 gs->s = NULL;
72 gs
76 str_append(struct gstr *gs, const char *s) argument
90 str_printf(struct gstr *gs, const char *fmt, ...) argument
101 str_get(struct gstr *gs) argument
[all...]
H A Dpreprocess.h12 void env_write_dep(struct gstr *gs);
H 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-master/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c152 struct gmin_subdev *gs; local
186 gs = find_gmin_subdev(subdev);
187 if (!gs)
191 pdata.subdevs[i].port = gs->csi_port;
192 pdata.subdevs[i].lanes = gs->csi_lanes;
525 static int gmin_subdev_add(struct gmin_subdev *gs) argument
527 struct i2c_client *client = v4l2_get_subdevdata(gs->subdev);
535 gs->clock_src = gmin_get_var_int(dev, false, "ClkSrc",
551 gs->csi_port = gmin_get_var_int(dev, false, "CsiPort", default_val);
552 gs
731 axp_regulator_set(struct device *dev, struct gmin_subdev *gs, int sel_reg, u8 setting, int ctrl_reg, int shift, bool on) argument
766 axp_v1p8_on(struct device *dev, struct gmin_subdev *gs) argument
786 axp_v1p8_off(struct device *dev, struct gmin_subdev *gs) argument
805 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
816 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
827 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
848 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
929 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
1012 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
1043 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
1103 struct gmin_subdev *gs = find_gmin_subdev(sd); local
1181 struct gmin_subdev *gs = find_gmin_subdev(subdev); local
1230 struct gmin_subdev *gs; local
[all...]
/linux-master/arch/x86/boot/
H A Dregs.c26 reg->gs = gs();
H A Dbioscall.S27 pushw %gs
39 popw %gs
54 pushw %gs
75 popw %gs
/linux-master/drivers/hte/
H A Dhte-tegra194.c388 struct tegra_hte_soc *gs; local
405 gs = gc->data;
406 if (!gs || !gs->prov_data)
423 if (gs->prov_data->type == HTE_TEGRA_TYPE_GPIO && !args) {
424 line_id = desc->attr.line_id - gpio_device_get_base(gs->gdev);
425 map = gs->prov_data->map;
426 map_sz = gs->prov_data->map_sz;
427 } else if (gs->prov_data->type == HTE_TEGRA_TYPE_GPIO && args) {
429 map = gs
460 struct tegra_hte_soc *gs; local
523 struct tegra_hte_soc *gs; local
551 struct tegra_hte_soc *gs; local
588 tegra_hte_get_level(struct tegra_hte_soc *gs, u32 line_id) argument
601 tegra_hte_read_fifo(struct tegra_hte_soc *gs) argument
635 struct tegra_hte_soc *gs = dev_id; local
674 struct tegra_hte_soc *gs = dev_get_drvdata(&pdev->dev); local
818 struct tegra_hte_soc *gs = dev_get_drvdata(dev); local
839 struct tegra_hte_soc *gs = dev_get_drvdata(dev); local
[all...]
/linux-master/lib/
H A Dtest_hexdump.c74 int gs = groupsize, rs = rowsize; local
84 if (!is_power_of_2(gs) || gs > 8 || (len % gs != 0))
85 gs = 1;
87 if (gs == 8)
89 else if (gs == 4)
91 else if (gs == 2)
98 for (i = 0; i < l / gs; i++) {
114 } while (p < test + rs * 2 + rs / gs
166 int rs = rowsize, gs = groupsize; local
214 int gs = 1 << i; local
[all...]
/linux-master/drivers/media/spi/
H A Dgs1662.c46 struct gs { struct
257 static inline struct gs *to_gs(struct v4l2_subdev *sd)
259 return container_of(sd, struct gs, sd);
265 struct gs *gs = to_gs(sd); local
272 gs->current_timings = *timings;
279 struct gs *gs = to_gs(sd); local
281 *timings = gs->current_timings;
288 struct gs *g local
340 struct gs *gs = to_gs(sd); local
360 struct gs *gs = to_gs(sd); local
435 struct gs *gs; local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-inject.c856 static struct guest_vcpu *guest_session__vcpu(struct guest_session *gs, u32 vcpu) argument
858 if (realloc_array_as_needed(gs->vcpu, gs->vcpu_cnt, vcpu, NULL))
860 return &gs->vcpu[vcpu];
863 static int guest_session__output_bytes(struct guest_session *gs, void *buf, size_t sz) argument
865 ssize_t ret = writen(gs->tmp_fd, buf, sz);
875 struct guest_session *gs = container_of(tool, struct guest_session, tool); local
877 return guest_session__output_bytes(gs, event, event->header.size);
880 static int guest_session__map_tid(struct guest_session *gs, u32 tid, u32 vcpu) argument
891 hlist_add_head(&guest_tid->node, &gs
900 struct guest_session *gs = data; local
935 host_peek_vm_comms(struct perf_session *session, struct guest_session *gs) argument
947 guest_session__allocate_new_id(struct guest_session *gs, struct evlist *host_evlist) argument
956 guest_session__map_id(struct guest_session *gs, u64 id, u64 host_id, u32 vcpu) argument
992 guest_session__map_ids(struct guest_session *gs, struct evlist *host_evlist) argument
1020 guest_session__lookup_id(struct guest_session *gs, u64 id) argument
1045 guest_session__add_attr(struct guest_session *gs, struct evsel *evsel) argument
1101 guest_session__add_attrs(struct guest_session *gs) argument
1127 guest_session__lookup_tid(struct guest_session *gs, u32 tid) argument
1190 guest_session__add_build_ids(struct guest_session *gs) argument
1214 struct guest_session *gs = container_of(tool, struct guest_session, tool); local
1223 guest_session__start(struct guest_session *gs, const char *name, bool force) argument
1312 guest_session__exit(struct guest_session *gs) argument
1340 guest_session__get_tc(struct guest_session *gs) argument
1348 guest_session__convert_time(struct guest_session *gs, u64 guest_time, u64 *host_time) argument
1375 guest_session__fetch(struct guest_session *gs) argument
1460 guest_session__inject_events(struct guest_session *gs, u64 timestamp) argument
1568 guest_session__flush_events(struct guest_session *gs) argument
1591 struct guest_session *gs = &inject->guest_session; local
1671 struct guest_session *gs = &inject->guest_session; local
1771 struct guest_session *gs = &inject->guest_session; local
1952 guest_session__copy_kcore_dir(struct guest_session *gs) argument
1976 struct guest_session *gs = &inject->guest_session; local
[all...]
/linux-master/include/linux/usb/
H 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-master/arch/x86/include/asm/
H A Dsuspend_32.h26 * On x86_32, all segment registers except gs are saved at kernel
29 u16 gs; member in struct:saved_context
H A Dsuspend_64.h32 u16 ds, es, fs, gs; member in struct:saved_context
35 * Usermode FSBASE and GSBASE may not match the fs and gs selectors,
H A Duser_64.h96 unsigned long gs; member in struct:user_regs_struct
H A Duser_32.h89 unsigned long gs; member in struct:user_regs_struct
H A Dgsseg.h60 loadsegment(gs, selector);
/linux-master/arch/x86/kernel/
H A Dprocess_32.c64 unsigned short gs; local
66 savesegment(gs, gs);
75 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags);
114 loadsegment(gs, 0);
167 * Save away %gs. No need to save %fs, as it was saved on the
172 * and %gs. This could be an issue if the NMI handler ever
173 * used %fs or %gs (it does not today), or if the kernel is
176 savesegment(gs, prev->gs);
[all...]
H A Ddoublefault_32.c57 regs.gs = TSS(gs);
101 .gs = 0,
/linux-master/drivers/net/
H A Dgeneve.c126 static sa_family_t geneve_get_sk_family(struct geneve_sock *gs) argument
128 return gs->sock->sk->sk_family;
131 static struct geneve_dev *geneve_lookup(struct geneve_sock *gs, argument
140 vni_list_head = &gs->vni_list[hash];
150 static struct geneve_dev *geneve6_lookup(struct geneve_sock *gs, argument
159 vni_list_head = &gs->vni_list[hash];
174 static struct geneve_dev *geneve_lookup_skb(struct geneve_sock *gs, argument
180 if (geneve_get_sk_family(gs) == AF_INET) {
186 if (gs->collect_md) {
194 return geneve_lookup(gs, add
218 geneve_rx(struct geneve_dev *geneve, struct geneve_sock *gs, struct sk_buff *skb) argument
362 struct geneve_sock *gs; local
411 struct geneve_sock *gs; local
585 struct geneve_sock *gs; local
622 __geneve_sock_release(struct geneve_sock *gs) argument
655 struct geneve_sock *gs; local
671 struct geneve_sock *gs; local
1162 struct geneve_sock *gs; local
[all...]
/linux-master/tools/testing/selftests/x86/
H A Dfsgsbase.c134 asm volatile ("mov %%gs:(%%rcx), %%rax" : : "c" (offset) : "rax");
150 asm volatile ("mov %%gs:(%%rcx), %%rax"
168 asm volatile ("mov %%gs, %0" : "=rm" (sel));
195 printf("[RUN]\tARCH_SET_GS to 0x%lx then mov 0 to %%gs%s\n", initial_base, schedule ? " and schedule " : "");
202 asm volatile ("mov %0, %%gs" : : "rm" (0));
237 asm volatile ("mov %0, %%gs" : : "rm" ((unsigned short)0));
240 asm volatile ("mov %%gs, %0" : "=rm" (sel));
242 to_set, hard_zero ? " and clear gs" : "", sel);
272 asm volatile ("mov %0, %%gs" : : "rm" ((unsigned short)0x7));
301 unsigned short gs local
539 unsigned long gs, base; local
[all...]
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.h145 #define __INTEL_COMMUNITY(b, s, e, g, n, gs, gn, soc) \
153 .gpp_size = (gs), \
164 #define INTEL_COMMUNITY_SIZE(b, s, e, gs, gn, soc) \
165 __INTEL_COMMUNITY(b, s, e, NULL, 0, gs, gn, soc)
/linux-master/arch/x86/purgatory/
H A Dsetup-x86_64.S27 movl %eax, %gs

Completed in 231 milliseconds

12345