Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/misc/lis3lv02d/
Dlis3lv02d.c206 ctrl &= lis3->odr_mask; in lis3lv02d_get_odr()
207 shift = ffs(lis3->odr_mask) - 1; in lis3lv02d_get_odr()
232 ctrl &= ~lis3->odr_mask; in lis3lv02d_set_odr()
233 len = 1 << hweight_long(lis3->odr_mask); /* # of possible values */ in lis3lv02d_set_odr()
234 shift = ffs(lis3->odr_mask) - 1; in lis3lv02d_set_odr()
934 lis3->odr_mask = CTRL1_DF0 | CTRL1_DF1; in lis3lv02d_init_device()
945 lis3->odr_mask = CTRL1_DR; in lis3lv02d_init_device()
956 lis3->odr_mask = CTRL1_ODR0|CTRL1_ODR1|CTRL1_ODR2|CTRL1_ODR3; in lis3lv02d_init_device()
Dlis3lv02d.h256 u8 odr_mask; /* ODR bit mask */ member