Home
last modified time | relevance | path

Searched refs:ams (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dxilinx-ams.c263 * struct ams - This structure contains necessary state for xilinx-ams to operate
277 struct ams { struct
291 static inline void ams_ps_update_reg(struct ams *ams, unsigned int offset, in ams_ps_update_reg() argument
296 val = readl(ams->ps_base + offset); in ams_ps_update_reg()
298 writel(regval, ams->ps_base + offset); in ams_ps_update_reg()
301 static inline void ams_pl_update_reg(struct ams *ams, unsigned int offset, in ams_pl_update_reg() argument
306 val = readl(ams in ams_pl_update_reg()
311 ams_update_intrmask(struct ams *ams, u64 mask, u64 val) ams_update_intrmask() argument
330 ams_disable_all_alarms(struct ams *ams) ams_disable_all_alarms() argument
349 ams_update_ps_alarm(struct ams *ams, unsigned long alarm_mask) ams_update_ps_alarm() argument
367 ams_update_pl_alarm(struct ams *ams, unsigned long alarm_mask) ams_update_pl_alarm() argument
388 ams_update_alarm(struct ams *ams, unsigned long alarm_mask) ams_update_alarm() argument
405 struct ams *ams = iio_priv(indio_dev); ams_enable_channel_sequence() local
460 ams_init_device(struct ams *ams) ams_init_device() argument
504 ams_enable_single_channel(struct ams *ams, unsigned int offset) ams_enable_single_channel() argument
549 ams_read_vcc_reg(struct ams *ams, unsigned int offset, u32 *data) ams_read_vcc_reg() argument
599 ams_get_pl_scale(struct ams *ams, int address) ams_get_pl_scale() argument
681 struct ams *ams = iio_priv(indio_dev); ams_read_raw() local
885 struct ams *ams = iio_priv(indio_dev); ams_read_event_config() local
896 struct ams *ams = iio_priv(indio_dev); ams_write_event_config() local
921 struct ams *ams = iio_priv(indio_dev); ams_read_event_value() local
942 struct ams *ams = iio_priv(indio_dev); ams_write_event_value() local
1023 struct ams *ams = container_of(work, struct ams, ams_unmask_work.work); ams_unmask_worker() local
1057 struct ams *ams = iio_priv(indio_dev); ams_irq() local
1202 struct ams *ams = data; ams_iounmap_ps() local
1209 struct ams *ams = data; ams_iounmap_pl() local
1219 struct ams *ams = iio_priv(indio_dev); ams_init_module() local
1261 struct ams *ams = iio_priv(indio_dev); ams_parse_firmware() local
1351 struct ams *ams; ams_probe() local
1407 struct ams *ams = iio_priv(dev_get_drvdata(dev)); ams_suspend() local
1416 struct ams *ams = iio_priv(dev_get_drvdata(dev)); ams_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/macintosh/ams/
H A DMakefile6 ams-y := ams-core.o ams-input.o
7 ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
8 ams-$(CONFIG_SENSORS_AMS_I2C) += ams-i2c.o
9 obj-$(CONFIG_SENSORS_AMS) += ams.o
H A Dams.h20 struct ams { struct
61 extern struct ams ams_info;
H A Dams-core.c16 #include "ams.h"
19 struct ams ams_info;
99 printk(KERN_INFO "ams: freefall detected!\n"); in ams_worker()
106 printk(KERN_INFO "ams: shock detected!\n"); in ams_worker()
149 ams_info.of_dev = of_platform_device_create(ams_info.of_node, "ams", NULL); in ams_sensor_attach()
/kernel/linux/linux-6.6/drivers/macintosh/ams/
H A DMakefile6 ams-y := ams-core.o ams-input.o
7 ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
8 ams-$(CONFIG_SENSORS_AMS_I2C) += ams-i2c.o
9 obj-$(CONFIG_SENSORS_AMS) += ams.o
H A Dams.h23 struct ams { struct
64 extern struct ams ams_info;
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmaps.c240 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams) in maps__find_ams() argument
242 if (ams->addr < map__start(ams->ms.map) || ams->addr >= map__end(ams->ms.map)) { in maps__find_ams()
245 ams->ms.map = maps__find(maps, ams->addr); in maps__find_ams()
246 if (ams->ms.map == NULL) in maps__find_ams()
250 ams->al_addr = map__map_ip(ams in maps__find_ams()
[all...]
H A Dmachine.c2222 struct addr_map_symbol *ams, in ip__resolve_ams()
2237 ams->addr = ip; in ip__resolve_ams()
2238 ams->al_addr = al.addr; in ip__resolve_ams()
2239 ams->al_level = al.level; in ip__resolve_ams()
2240 ams->ms.maps = maps__get(al.maps); in ip__resolve_ams()
2241 ams->ms.sym = al.sym; in ip__resolve_ams()
2242 ams->ms.map = map__get(al.map); in ip__resolve_ams()
2243 ams->phys_addr = 0; in ip__resolve_ams()
2244 ams->data_page_size = 0; in ip__resolve_ams()
2249 u8 m, struct addr_map_symbol *ams, in ip__resolve_data()
2221 ip__resolve_ams(struct thread *thread, struct addr_map_symbol *ams, u64 ip) ip__resolve_ams() argument
2248 ip__resolve_data(struct thread *thread, u8 m, struct addr_map_symbol *ams, u64 addr, u64 phys_addr, u64 daddr_page_size) ip__resolve_data() argument
[all...]
H A Dannotate.h349 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
352 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams,
H A Dmaps.h126 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams);
H A Dannotate.c1040 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, in addr_map_symbol__account_cycles() argument
1058 (start->ms.sym == ams->ms.sym || in addr_map_symbol__account_cycles()
1059 (ams->ms.sym && in addr_map_symbol__account_cycles()
1060 start->addr == ams->ms.sym->start + map__start(ams->ms.map)))) in addr_map_symbol__account_cycles()
1064 ams->addr, in addr_map_symbol__account_cycles()
1066 ams->ms.sym ? ams->ms.sym->start + map__start(ams->ms.map) : 0, in addr_map_symbol__account_cycles()
1068 err = symbol__account_cycles(ams in addr_map_symbol__account_cycles()
1151 addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, struct evsel *evsel) addr_map_symbol__inc_samples() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dmap.c695 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams) in maps__find_ams() argument
697 if (ams->addr < ams->ms.map->start || ams->addr >= ams->ms.map->end) { in maps__find_ams()
700 ams->ms.map = maps__find(maps, ams->addr); in maps__find_ams()
701 if (ams->ms.map == NULL) in maps__find_ams()
705 ams->al_addr = ams in maps__find_ams()
[all...]
H A Dmachine.c2001 struct addr_map_symbol *ams, in ip__resolve_ams()
2016 ams->addr = ip; in ip__resolve_ams()
2017 ams->al_addr = al.addr; in ip__resolve_ams()
2018 ams->ms.maps = al.maps; in ip__resolve_ams()
2019 ams->ms.sym = al.sym; in ip__resolve_ams()
2020 ams->ms.map = al.map; in ip__resolve_ams()
2021 ams->phys_addr = 0; in ip__resolve_ams()
2025 u8 m, struct addr_map_symbol *ams, in ip__resolve_data()
2034 ams->addr = addr; in ip__resolve_data()
2035 ams in ip__resolve_data()
2000 ip__resolve_ams(struct thread *thread, struct addr_map_symbol *ams, u64 ip) ip__resolve_ams() argument
2024 ip__resolve_data(struct thread *thread, u8 m, struct addr_map_symbol *ams, u64 addr, u64 phys_addr) ip__resolve_data() argument
[all...]
H A Dannotate.h339 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
342 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams,
H A Dmaps.h77 int maps__find_ams(struct maps *maps, struct addr_map_symbol *ams);
H A Dannotate.c998 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, in addr_map_symbol__account_cycles() argument
1016 (start->ms.sym == ams->ms.sym || in addr_map_symbol__account_cycles()
1017 (ams->ms.sym && in addr_map_symbol__account_cycles()
1018 start->addr == ams->ms.sym->start + ams->ms.map->start))) in addr_map_symbol__account_cycles()
1022 ams->addr, in addr_map_symbol__account_cycles()
1024 ams->ms.sym ? ams->ms.sym->start + ams->ms.map->start : 0, in addr_map_symbol__account_cycles()
1026 err = symbol__account_cycles(ams in addr_map_symbol__account_cycles()
1109 addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, struct evsel *evsel) addr_map_symbol__inc_samples() argument
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A DMakefile35 obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
36 ams-delta-fiq-handler.o
H A Dams-delta-fiq.c20 #include <linux/platform_data/ams-delta-fiq.h>
27 #include "ams-delta-fiq.h"
28 #include "board-ams-delta.h"
31 .name = "ams-delta-fiq"
40 * <linux/platform_data/ams-delta-fiq.h> for details of offsets.
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
H A Dtcpm.c475 enum tcpm_ams ams; member
867 tcpm_log(port, "AMS %s finished", tcpm_ams_str[port->ams]); in tcpm_ams_finish()
879 port->ams = NONE_AMS; in tcpm_ams_finish()
916 if (port->ams != NONE_AMS) in tcpm_pd_transmit()
929 if (port->ams == ATTENTION || port->ams == SOURCE_ALERT) in tcpm_pd_transmit()
1255 pd_rev[port->negotiated_rev], tcpm_ams_str[port->ams]); in tcpm_set_state()
1263 pd_rev[port->negotiated_rev], tcpm_ams_str[port->ams]); in tcpm_set_state()
1289 pd_rev[port->negotiated_rev], tcpm_ams_str[port->ams]); in tcpm_set_state_cond()
1301 switch (port->ams) { in tcpm_vdm_ams()
1351 tcpm_ams_start(struct tcpm_port *port, enum tcpm_ams ams) tcpm_ams_start() argument
2333 tcpm_pd_handle_state(struct tcpm_port *port, enum tcpm_state state, enum tcpm_ams ams, unsigned int delay_ms) tcpm_pd_handle_state() argument
2366 tcpm_pd_handle_msg(struct tcpm_port *port, enum pd_msg_request message, enum tcpm_ams ams) tcpm_pd_handle_msg() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A DMakefile45 obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
46 ams-delta-fiq-handler.o
H A Dams-delta-fiq.c20 #include <linux/platform_data/ams-delta-fiq.h>
25 #include "ams-delta-fiq.h"
26 #include "board-ams-delta.h"
29 .name = "ams-delta-fiq"
38 * <linux/platform_data/ams-delta-fiq.h> for details of offsets.
/kernel/linux/linux-5.10/sound/soc/ti/
H A DMakefile34 snd-soc-ams-delta-objs := ams-delta.o
45 obj-$(CONFIG_SND_SOC_OMAP_AMS_DELTA) += snd-soc-ams-delta.o
/kernel/linux/linux-6.6/sound/soc/ti/
H A DMakefile32 snd-soc-ams-delta-objs := ams-delta.o
43 obj-$(CONFIG_SND_SOC_OMAP_AMS_DELTA) += snd-soc-ams-delta.o
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A DMakefile9 obj-$(CONFIG_MTD_NAND_AMS_DELTA) += ams-delta.o
/kernel/linux/linux-5.10/drivers/input/serio/
H A Dams_delta_serio.c21 #include <linux/platform_data/ams-delta-fiq.h>
28 #define DRIVER_NAME "ams-delta-serio"

Completed in 24 milliseconds

12