Searched refs:fifo_mask (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 659 u8 fifo_mask; in st_lsm6dsx_update_fifo() local 665 fifo_mask = hw->fifo_mask | BIT(sensor->id); in st_lsm6dsx_update_fifo() 667 fifo_mask = hw->fifo_mask & ~BIT(sensor->id); in st_lsm6dsx_update_fifo() 669 if (hw->fifo_mask) { in st_lsm6dsx_update_fifo() 699 if (fifo_mask) { in st_lsm6dsx_update_fifo() 705 hw->fifo_mask = fifo_mask; in st_lsm6dsx_update_fifo()
|
H A D | st_lsm6dsx.h | 375 * @fifo_mask: Enabled hw FIFO bitmask. 399 u8 fifo_mask; member
|
H A D | st_lsm6dsx_core.c | 1780 if (enable_event || !(hw->fifo_mask & BIT(sensor->id))) in st_lsm6dsx_write_event_config() 2465 if (hw->fifo_mask) in st_lsm6dsx_suspend() 2501 if (hw->fifo_mask) in st_lsm6dsx_resume()
|
/kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx_buffer.c | 698 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()
|
H A D | st_lsm6dsx.h | 405 * @fifo_mask: Enabled hw FIFO bitmask. 429 u8 fifo_mask; member
|
H A D | st_lsm6dsx_core.c | 1974 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()
|
/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.c | 297 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() [all...] |
H A D | es58x_core.h | 291 * @fifo_mask: Bit mask to quickly convert the tx_tail and tx_head 293 * indexes. Properties: @fifo_mask = echo_skb_max - 1 where 324 u16 fifo_mask; member
|
H A D | es58x_fd.c | 548 .fifo_mask = 255, /* echo_skb_max = 256 */
|
H A D | es581_4.c | 490 .fifo_mask = 63, /* echo_skb_max = 64 */
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-mtk-snfi.c | 380 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()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sh-sci.c | 764 unsigned int fifo_mask = (s->params->fifosize << 1) - 1; in sci_txfill() local 769 return serial_port_in(port, SCTFDR) & fifo_mask; in sci_txfill() 786 unsigned int fifo_mask = (s->params->fifosize << 1) - 1; in sci_rxfill() local 791 return serial_port_in(port, SCRFDR) & fifo_mask; in sci_rxfill() 795 return serial_port_in(port, SCFDR) & fifo_mask; in sci_rxfill()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | sh-sci.c | 779 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()
|
Completed in 24 milliseconds