Lines Matching refs:chan
23 enum sensor_channel chan) in ak8975_sample_fetch() argument
29 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL); in ak8975_sample_fetch()
62 enum sensor_channel chan, in ak8975_channel_get() argument
67 __ASSERT_NO_MSG(chan == SENSOR_CHAN_MAGN_XYZ || in ak8975_channel_get()
68 chan == SENSOR_CHAN_MAGN_X || in ak8975_channel_get()
69 chan == SENSOR_CHAN_MAGN_Y || in ak8975_channel_get()
70 chan == SENSOR_CHAN_MAGN_Z); in ak8975_channel_get()
72 if (chan == SENSOR_CHAN_MAGN_XYZ) { in ak8975_channel_get()
76 } else if (chan == SENSOR_CHAN_MAGN_X) { in ak8975_channel_get()
78 } else if (chan == SENSOR_CHAN_MAGN_Y) { in ak8975_channel_get()
80 } else if (chan == SENSOR_CHAN_MAGN_Z) { in ak8975_channel_get()