Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dni_mio_common.c5382 int reg_i_shift; in set_ith_rtsi_brd_reg() local
5387 reg_i_shift = i * reg_i_sz; in set_ith_rtsi_brd_reg()
5390 devpriv->rtsi_shared_mux_reg &= ~(reg_i_mask << reg_i_shift); in set_ith_rtsi_brd_reg()
5392 devpriv->rtsi_shared_mux_reg |= (reg & reg_i_mask) << reg_i_shift; in set_ith_rtsi_brd_reg()
5402 int reg_i_shift; in get_ith_rtsi_brd_reg() local
5407 reg_i_shift = i * reg_i_sz; in get_ith_rtsi_brd_reg()
5409 return (devpriv->rtsi_shared_mux_reg >> reg_i_shift) & reg_i_mask; in get_ith_rtsi_brd_reg()