Home
last modified time | relevance | path

Searched refs:fifo_mask (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c698 u8 fifo_mask; in st_lsm6dsx_update_fifo() local
704 fifo_mask = hw->fifo_mask | BIT(sensor->id); in st_lsm6dsx_update_fifo()
706 fifo_mask = hw->fifo_mask & ~BIT(sensor->id); in st_lsm6dsx_update_fifo()
708 if (hw->fifo_mask) { in st_lsm6dsx_update_fifo()
733 if (fifo_mask) { in st_lsm6dsx_update_fifo()
739 hw->fifo_mask = fifo_mask; in st_lsm6dsx_update_fifo()
Dst_lsm6dsx.h429 u8 fifo_mask; member
Dst_lsm6dsx_core.c1974 if (enable_event || !(hw->fifo_mask & BIT(sensor->id))) in st_lsm6dsx_write_event_config()
2821 if (hw->fifo_mask) in st_lsm6dsx_suspend()
2852 if (hw->fifo_mask) in st_lsm6dsx_resume()
/Linux-v6.6/drivers/net/can/usb/etas_es58x/
Des58x_core.c297 u16 fifo_mask = priv->es58x_dev->param->fifo_mask; in es58x_can_free_echo_skb_tail() local
300 can_free_echo_skb(netdev, priv->tx_tail & fifo_mask, &frame_len); in es58x_can_free_echo_skb_tail()
389 u16 fifo_mask = priv->es58x_dev->param->fifo_mask; in es58x_can_get_echo_skb() local
438 unsigned int skb_idx = priv->tx_tail & fifo_mask; in es58x_can_get_echo_skb()
503 u16 fifo_mask = priv->es58x_dev->param->fifo_mask; in es58x_flush_pending_tx_msg() local
507 can_free_echo_skb(netdev, priv->tx_head & fifo_mask, in es58x_flush_pending_tx_msg()
1946 priv->tx_head & es58x_dev->param->fifo_mask, in es58x_start_xmit()
2090 es58x_dev->param->fifo_mask + 1); in es58x_init_netdev()
Des58x_core.h324 u16 fifo_mask; member
Des581_4.c490 .fifo_mask = 63, /* echo_skb_max = 64 */
Des58x_fd.c548 .fifo_mask = 255, /* echo_skb_max = 256 */
/Linux-v6.6/drivers/spi/
Dspi-mtk-snfi.c380 u32 val, fifo_mask; in mtk_nfi_reset() local
401 fifo_mask = ((snf->caps->fifo_size - 1) << FIFO_RD_REMAIN_S) | in mtk_nfi_reset()
404 !(val & fifo_mask), 0, SNFI_POLL_INTERVAL); in mtk_nfi_reset()
/Linux-v6.6/drivers/tty/serial/
Dsh-sci.c779 unsigned int fifo_mask = (s->params->fifosize << 1) - 1; in sci_txfill() local
784 return serial_port_in(port, SCTFDR) & fifo_mask; in sci_txfill()
801 unsigned int fifo_mask = (s->params->fifosize << 1) - 1; in sci_rxfill() local
806 return serial_port_in(port, SCRFDR) & fifo_mask; in sci_rxfill()
810 return serial_port_in(port, SCFDR) & fifo_mask; in sci_rxfill()