Home
last modified time | relevance | path

Searched refs:odr_mask (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c217 ctrl &= lis3->odr_mask; in lis3lv02d_get_odr_index()
218 shift = ffs(lis3->odr_mask) - 1; in lis3lv02d_get_odr_index()
251 ctrl &= ~lis3->odr_mask; in lis3lv02d_set_odr()
252 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
253 shift = ffs(lis3->odr_mask) - 1; in lis3lv02d_set_odr()
1138 lis3->odr_mask = CTRL1_DF0 | CTRL1_DF1; in lis3lv02d_init_device()
1149 lis3->odr_mask = CTRL1_DR; in lis3lv02d_init_device()
1160 lis3->odr_mask = CTRL1_ODR0|CTRL1_ODR1|CTRL1_ODR2|CTRL1_ODR3; in lis3lv02d_init_device()
1170 lis3->odr_mask = CTRL1_DR0 | CTRL1_DR1; in lis3lv02d_init_device()
H A Dlis3lv02d.h274 u8 odr_mask; /* ODR bit mask */ member