Lines Matching refs:axis
51 uint8_t axis; member
330 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X) || in tmag5273_attr_set_xyz_calc()
331 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y)) { in tmag5273_attr_set_xyz_calc()
337 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y) || in tmag5273_attr_set_xyz_calc()
338 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_attr_set_xyz_calc()
344 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X) || in tmag5273_attr_set_xyz_calc()
345 !(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_attr_set_xyz_calc()
572 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_X)) { in tmag5273_sample_fetch()
580 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Y)) { in tmag5273_sample_fetch()
588 if (!(drv_cfg->axis & TMAG5273_MAG_CH_EN_Z)) { in tmag5273_sample_fetch()
596 if (drv_cfg->axis == TMAG5273_MAG_CH_EN_NONE) { in tmag5273_sample_fetch()
839 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_X) && in tmag5273_channel_get()
846 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_Y) && in tmag5273_channel_get()
853 if ((drv_cfg->axis & TMAG5273_MAG_CH_EN_Z) && in tmag5273_channel_get()
1228 .mag_channel = DT_INST_PROP(inst, axis), \
1229 .axis = (TMAG5273_DT_X_AXIS_BIT(DT_INST_PROP(inst, axis)) | \
1230 TMAG5273_DT_Y_AXIS_BIT(DT_INST_PROP(inst, axis)) | \
1231 TMAG5273_DT_Z_AXIS_BIT(DT_INST_PROP(inst, axis))), \