Home
last modified time | relevance | path

Searched refs:ak8974 (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/iio/magnetometer/
Dak8974.c186 struct ak8974 { struct
207 static int ak8974_get_u16_val(struct ak8974 *ak8974, u8 reg, u16 *val) in ak8974_get_u16_val() argument
212 ret = regmap_bulk_read(ak8974->map, reg, &bulk, 2); in ak8974_get_u16_val()
220 static int ak8974_set_u16_val(struct ak8974 *ak8974, u8 reg, u16 val) in ak8974_set_u16_val() argument
224 return regmap_bulk_write(ak8974->map, reg, &bulk, 2); in ak8974_set_u16_val()
227 static int ak8974_set_power(struct ak8974 *ak8974, bool mode) in ak8974_set_power() argument
234 ret = regmap_write(ak8974->map, AK8974_CTRL1, val); in ak8974_set_power()
244 static int ak8974_reset(struct ak8974 *ak8974) in ak8974_reset() argument
249 ret = ak8974_set_power(ak8974, AK8974_PWR_ON); in ak8974_reset()
252 ret = regmap_write(ak8974->map, AK8974_CTRL2, AK8974_CTRL2_RESDEF); in ak8974_reset()
[all …]
DMakefile8 obj-$(CONFIG_AK8974) += ak8974.o
DKconfig34 will be called ak8974.
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-href-stuib.dtsi90 ak8974@f {
92 compatible = "asahi-kasei,ak8974";
Dste-href-tvk1281618-r2.dtsi148 compatible = "asahi-kasei,ak8974";
/linux-6.12.1/arch/arm/boot/dts/nvidia/
Dtegra20-asus-tf101.dts502 compatible = "asahi-kasei,ak8974";
Dtegra30-asus-nexus7-grouper-common.dtsi869 compatible = "asahi-kasei,ak8974";
Dtegra30-asus-transformer-common.dtsi1145 compatible = "asahi-kasei,ak8974";
Dtegra30-lg-x3.dtsi970 compatible = "asahi-kasei,ak8974";
/linux-6.12.1/
DMAINTAINERS3360 F: drivers/iio/magnetometer/ak8974.c