Searched refs:hub_settings (Results 1 – 2 of 2) sorted by relevance
/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_shub.c | 177 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_shub_read_output() local 182 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read_output() 183 if (hub_settings->shub_out.sec_page) { in st_lsm6dsx_shub_read_output() 189 err = regmap_bulk_read(hw->regmap, hub_settings->shub_out.addr, in st_lsm6dsx_shub_read_output() 192 if (hub_settings->shub_out.sec_page) in st_lsm6dsx_shub_read_output() 247 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_shub_master_enable() local 259 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_master_enable() 260 if (hub_settings->master_en.sec_page) { in st_lsm6dsx_shub_master_enable() 266 data = ST_LSM6DSX_SHIFT_VAL(enable, hub_settings->master_en.mask); in st_lsm6dsx_shub_master_enable() 267 err = regmap_update_bits(hw->regmap, hub_settings->master_en.addr, in st_lsm6dsx_shub_master_enable() [all …]
|
D | st_lsm6dsx_core.c | 1167 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_set_page() local 1171 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_set_page() 1172 data = ST_LSM6DSX_SHIFT_VAL(enable, hub_settings->page_mux.mask); in st_lsm6dsx_set_page() 1173 err = regmap_update_bits(hw->regmap, hub_settings->page_mux.addr, in st_lsm6dsx_set_page() 1174 hub_settings->page_mux.mask, data); in st_lsm6dsx_set_page() 1785 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_init_shub() local 1791 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_init_shub() 1796 if (hub_settings->pullup_en.sec_page) { in st_lsm6dsx_init_shub() 1802 data = ST_LSM6DSX_SHIFT_VAL(1, hub_settings->pullup_en.mask); in st_lsm6dsx_init_shub() 1804 hub_settings->pullup_en.addr, in st_lsm6dsx_init_shub() [all …]
|