Home
last modified time | relevance | path

Searched refs:enable_event (Results 1 – 6 of 6) sorted by relevance

/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c1352 return hw->enable_event; in st_lsm6dsx_check_events()
1386 if (!hw->enable_event) { in st_lsm6dsx_read_oneshot()
1554 return !!(hw->enable_event & BIT(chan->channel2)); in st_lsm6dsx_read_event_config()
1565 u8 enable_event; in st_lsm6dsx_write_event_config() local
1572 enable_event = hw->enable_event | BIT(chan->channel2); in st_lsm6dsx_write_event_config()
1575 if (hw->enable_event) in st_lsm6dsx_write_event_config()
1578 enable_event = hw->enable_event & ~BIT(chan->channel2); in st_lsm6dsx_write_event_config()
1581 if (enable_event) in st_lsm6dsx_write_event_config()
1586 if (hw->enable_event == enable_event) in st_lsm6dsx_write_event_config()
1594 if (enable_event || !(hw->fifo_mask & BIT(sensor->id))) in st_lsm6dsx_write_event_config()
[all …]
Dst_lsm6dsx.h412 u8 enable_event; member
/drivers/staging/nvec/
Dnvec.c774 enable_event[7] = { NVEC_SYS, CNF_EVENT_REPORTING, true }; in tegra_nvec_probe() local
875 nvec_event_mask(enable_event, LID_SWITCH); in tegra_nvec_probe()
876 nvec_write_async(nvec, enable_event, 7); in tegra_nvec_probe()
879 nvec_event_mask(enable_event, PWR_BUTTON); in tegra_nvec_probe()
880 nvec_write_async(nvec, enable_event, 7); in tegra_nvec_probe()
/drivers/hwtracing/coresight/
Dcoresight-etm3x-core.c209 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default()
212 config->enable_event = ETM_HARD_WIRE_RES_A; in etm_set_default()
386 etm_writel(drvdata, config->enable_event, ETMTEEVR); in etm_enable_hw()
Dcoresight-etm.h181 u32 enable_event; member
Dcoresight-etm3x-sysfs.c217 val = config->enable_event; in enable_event_show()
234 config->enable_event = val & ETM_EVENT_MASK; in enable_event_store()
238 static DEVICE_ATTR_RW(enable_event);