Searched refs:fifo_watermark (Results 1 – 2 of 2) sorted by relevance
234 u16 fifo_watermark = ~0, cur_watermark, fifo_th_mask; in st_lsm6dsx_update_watermark() local255 fifo_watermark = min_t(u16, fifo_watermark, cur_watermark); in st_lsm6dsx_update_watermark()258 fifo_watermark = max_t(u16, fifo_watermark, hw->sip); in st_lsm6dsx_update_watermark()259 fifo_watermark = (fifo_watermark / hw->sip) * hw->sip; in st_lsm6dsx_update_watermark()260 fifo_watermark = fifo_watermark * hw->settings->fifo_ops.th_wl; in st_lsm6dsx_update_watermark()269 fifo_watermark = ((data << 8) & ~fifo_th_mask) | in st_lsm6dsx_update_watermark()270 (fifo_watermark & fifo_th_mask); in st_lsm6dsx_update_watermark()272 wdata = cpu_to_le16(fifo_watermark); in st_lsm6dsx_update_watermark()
607 __le32 fifo_watermark; member