Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c175 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_shub_read_output() local
180 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_read_output()
181 if (hub_settings->shub_out.sec_page) { in st_lsm6dsx_shub_read_output()
187 err = regmap_bulk_read(hw->regmap, hub_settings->shub_out.addr, in st_lsm6dsx_shub_read_output()
190 if (hub_settings->shub_out.sec_page) in st_lsm6dsx_shub_read_output()
245 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_shub_master_enable() local
257 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_shub_master_enable()
258 if (hub_settings->master_en.sec_page) { in st_lsm6dsx_shub_master_enable()
264 data = ST_LSM6DSX_SHIFT_VAL(enable, hub_settings->master_en.mask); in st_lsm6dsx_shub_master_enable()
265 err = regmap_update_bits(hw->regmap, hub_settings->master_en.addr, in st_lsm6dsx_shub_master_enable()
[all …]
Dst_lsm6dsx_core.c1556 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_set_page() local
1560 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_set_page()
1561 data = ST_LSM6DSX_SHIFT_VAL(enable, hub_settings->page_mux.mask); in st_lsm6dsx_set_page()
1562 err = regmap_update_bits(hw->regmap, hub_settings->page_mux.addr, in st_lsm6dsx_set_page()
1563 hub_settings->page_mux.mask, data); in st_lsm6dsx_set_page()
2164 const struct st_lsm6dsx_shub_settings *hub_settings; in st_lsm6dsx_init_shub() local
2170 hub_settings = &hw->settings->shub_settings; in st_lsm6dsx_init_shub()
2175 if (hub_settings->pullup_en.sec_page) { in st_lsm6dsx_init_shub()
2181 data = ST_LSM6DSX_SHIFT_VAL(1, hub_settings->pullup_en.mask); in st_lsm6dsx_init_shub()
2183 hub_settings->pullup_en.addr, in st_lsm6dsx_init_shub()
[all …]