Home
last modified time | relevance | path

Searched refs:ams (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/drivers/iio/adc/
H A Dxilinx-ams.c277 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->pl_base + offset); in ams_pl_update_reg()
308 writel(regval, ams->pl_base + offset); in ams_pl_update_reg()
311 static void ams_update_intrmask(struct ams *ams, u64 mask, u64 val) in ams_update_intrmask() argument
315 ams->intr_mask = (ams->intr_mask & ~mask) | (val & mask); in ams_update_intrmask()
317 regval = ~(ams->intr_mask | ams->current_masked_alarm); in ams_update_intrmask()
[all …]
/openbmc/linux/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; argument
/openbmc/qemu/hw/avr/
H A Darduino.c44 ArduinoMachineState *ams = ARDUINO_MACHINE(machine); in DECLARE_OBJ_CHECKERS() local
46 object_initialize_child(OBJECT(machine), "mcu", &ams->mcu, amc->mcu_type); in DECLARE_OBJ_CHECKERS()
47 object_property_set_uint(OBJECT(&ams->mcu), "xtal-frequency-hz", in DECLARE_OBJ_CHECKERS()
49 sysbus_realize(SYS_BUS_DEVICE(&ams->mcu), &error_abort); in DECLARE_OBJ_CHECKERS()
52 if (!avr_load_firmware(&ams->mcu.cpu, machine, in DECLARE_OBJ_CHECKERS()
53 &ams->mcu.flash, machine->firmware)) { in DECLARE_OBJ_CHECKERS()
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Das3722.txt1 * ams AS3722 Power management IC.
5 - compatible: Must be "ams,as3722".
18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on
20 - ams,enable-internal-i2c-pullup: Boolean property, to enable internal pullup on
23 - ams,enable-ac-ok-power-on: Boolean property, to enable exit out of power off
111 ams,ext-control: External control of the rail. The option of
122 ams,enable-tracking: Enable tracking with SD1, only supported
130 ams,system-power-controller: Boolean, to enable the power off functionality
138 compatible = "ams,as3722";
141 ams,system-power-controller;
[all …]
H A Das3711.txt9 - compatible : must be "ams,as3711"
45 compatible = "ams,as3711";
64 compatible = "ams,as3711-bl";
/openbmc/linux/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->ms.map, ams->addr); in maps__find_ams()
251 ams->ms.sym = map__find_symbol(ams->ms.map, ams->al_addr); in maps__find_ams()
253 return ams->ms.sym ? 0 : -1; in maps__find_ams()
H A Dmachine.c2226 struct addr_map_symbol *ams, in ip__resolve_ams() argument
2241 ams->addr = ip; in ip__resolve_ams()
2242 ams->al_addr = al.addr; in ip__resolve_ams()
2243 ams->al_level = al.level; in ip__resolve_ams()
2244 ams->ms.maps = maps__get(al.maps); in ip__resolve_ams()
2245 ams->ms.sym = al.sym; in ip__resolve_ams()
2246 ams->ms.map = map__get(al.map); in ip__resolve_ams()
2247 ams->phys_addr = 0; in ip__resolve_ams()
2248 ams->data_page_size = 0; in ip__resolve_ams()
2253 u8 m, struct addr_map_symbol *ams, in ip__resolve_data() argument
[all …]
H A Dannotate.h356 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample,
359 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams,
H A Dannotate.c1041 int addr_map_symbol__account_cycles(struct addr_map_symbol *ams, in addr_map_symbol__account_cycles() argument
1059 (start->ms.sym == ams->ms.sym || in addr_map_symbol__account_cycles()
1060 (ams->ms.sym && in addr_map_symbol__account_cycles()
1061 start->addr == ams->ms.sym->start + map__start(ams->ms.map)))) in addr_map_symbol__account_cycles()
1065 ams->addr, in addr_map_symbol__account_cycles()
1067 ams->ms.sym ? ams->ms.sym->start + map__start(ams->ms.map) : 0, in addr_map_symbol__account_cycles()
1069 err = symbol__account_cycles(ams->al_addr, saddr, ams->ms.sym, cycles); in addr_map_symbol__account_cycles()
1183 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, in addr_map_symbol__inc_samples() argument
1186 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample); in addr_map_symbol__inc_samples()
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Das3722-regulator.txt32 ams,ext-control: External control of the rail. The option of
39 ams,enable-tracking: Enable tracking with SD1, only supported
45 compatible = "ams,as3722";
58 ams,ext-control = <2>;
66 ams,ext-control = <1>;
/openbmc/linux/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
/openbmc/linux/Documentation/devicetree/bindings/leds/
H A Dams,as3645a.txt16 compatible : Must be "ams,as3645a".
34 ams,input-max-microamp: Maximum flash controller input current. The
71 compatible = "ams,as3645a";
77 ams,input-max-microamp = <1750000>;
/openbmc/linux/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()
1323 switch (port->ams) { in tcpm_ams_interruptible()
[all …]
/openbmc/linux/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
/openbmc/u-boot/arch/arm/dts/
H A Dtegra124-jetson-tk1.dts78 compatible = "ams,as3722";
82 ams,system-power-controller;
132 ams,ext-control = <2>;
143 ams,ext-control = <1>;
192 ams,ext-control = <1>;
215 ams,enable-tracking;
H A Dtegra124-cei-tk1-som.dts79 compatible = "ams,as3722";
83 ams,system-power-controller;
133 ams,ext-control = <2>;
144 ams,ext-control = <1>;
193 ams,ext-control = <1>;
216 ams,enable-tracking;
H A Dtegra124-nyan.dtsi104 compatible = "ams,as3722";
108 ams,system-power-controller;
170 ams,ext-control = <2>;
181 ams,ext-control = <1>;
229 ams,ext-control = <1>;
252 ams,enable-tracking;
H A Dzynqmp.dtsi891 xilinx_ams: ams@ffa50000 {
892 compatible = "xlnx,zynqmp-ams";
896 interrupt-names = "ams-irq";
898 reg-names = "ams-base";
905 compatible = "xlnx,zynqmp-ams-ps";
911 compatible = "xlnx,zynqmp-ams-pl";
/openbmc/linux/drivers/iio/chemical/
H A DMakefile13 obj-$(CONFIG_IAQCORE) += ams-iaq-core.o
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra124-nyan.dtsi136 compatible = "ams,as3722";
140 ams,system-power-controller;
202 ams,ext-control = <2>;
213 ams,ext-control = <1>;
261 ams,ext-control = <1>;
284 ams,enable-tracking;
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp157a-iot-box.dts27 compatible = "ams,ccs811";
/openbmc/qemu/hw/audio/
H A Dfmopl.h34 uint8_t ams; /* ams flag */ member
H A Dfmopl.c218 static int32_t ams; variable
347 return SLOT->TLL+ENV_CURVE[SLOT->evc>>ENV_BITS]+(SLOT->ams ? ams : 0); in OPL_CALC_SLOT()
388 SLOT->ams = (v&0x80); in set_mul()
1012 ams = ams_table[(amsCnt+=amsIncr)>>AMS_SHIFT]; in YM3812UpdateOne()
/openbmc/linux/drivers/macintosh/
H A DMakefile66 obj-$(CONFIG_SENSORS_AMS) += ams/

123