Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.h42 .s_pin = _s_pin, \
62 .s_pin = _s_pin, \
146 u16 s_pin; member
166 u16 s_pin; member
Dpinctrl-mt6779.c19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
23 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
24 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
Dpinctrl-mt8195.c19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
23 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
24 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
Dpinctrl-mt8186.c19 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
20 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, 32, 0)
22 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
23 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, 32, 1)
Dpinctrl-mtk-common-v2.c94 if (desc->number >= rc->range[check].s_pin in mtk_hw_pin_field_lookup()
100 else if (desc->number < rc->range[check].s_pin) in mtk_hw_pin_field_lookup()
126 (desc->number - c->s_pin) * (c->x_bits); in mtk_hw_pin_field_lookup()
679 if (desc->number >= rsel[check].s_pin && in mtk_hw_pin_rsel_lookup()
791 if (desc->number >= rsel[check].s_pin && in mtk_rsel_get_si_unit()
Dpinctrl-mt8192.c20 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
21 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
24 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
25 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
Dpinctrl-mt8188.c18 #define PIN_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
19 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \
22 #define PINS_FIELD_BASE(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits) \ argument
23 PIN_FIELD_CALC(s_pin, e_pin, i_base, s_addr, x_addrs, s_bit, x_bits, \