Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Drohm-bu27008.c524 int ret, chan_selector; in bu27010_write_gain_sel() local
546 chan_selector = sel & GENMASK(1, 0); in bu27010_write_gain_sel()
548 regval = FIELD_PREP(BU27010_MASK_DATA0_GAIN, chan_selector); in bu27010_write_gain_sel()
549 regval |= FIELD_PREP(BU27010_MASK_DATA1_GAIN, chan_selector); in bu27010_write_gain_sel()
550 regval |= FIELD_PREP(BU27010_MASK_DATA2_GAIN, chan_selector); in bu27010_write_gain_sel()
551 regval |= FIELD_PREP(BU27010_MASK_DATA3_GAIN, chan_selector); in bu27010_write_gain_sel()
/openbmc/linux/drivers/edac/
H A Dpnd2_edac.c313 static int chan_selector = -1; variable
557 chan_selector = 29; in get_registers()
559 chan_selector = intlv[chash.interleave_mode]; in get_registers()
563 chan_selector = 30; in get_registers()
566 chan_selector = intlv[chash.interleave_mode] + 1; in get_registers()
581 chan_hash_mask |= BIT_ULL(chan_selector); in get_registers()
680 chan_intlv_bit_rm = mot_hit ? mot_intlv_bit : chan_selector; in sys2pmi()
712 chan_intlv_bit_rm = chan_selector; in sys2pmi()