Home
last modified time | relevance | path

Searched full:mux_func (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Drenesas,rzn1-pinctrl.yaml67 (PIN | MUX_FUNC << 8)
69 MUX_FUNC is one of the alternate function identifiers defined in:
Drenesas,rza1-ports.yaml109 ((PORT * 16 + PIN) | MUX_FUNC << 16)
/Linux-v6.1/drivers/pinctrl/renesas/
Dpinctrl-rza1.c64 #define MUX_FUNC(pinconf) \ macro
440 * @mux_func: alternate function id number
448 u8 mux_func; member
676 u8 mux_func = mux_conf->mux_func; in rza1_pin_mux_single() local
683 mux_flags_from_table = rza1_pinmux_get_flags(port->id, pin, mux_func, in rza1_pin_mux_single()
704 * PMC PFC PFCE PFCAE (mux_func - 1) in rza1_pin_mux_single()
715 mux_func -= 1; in rza1_pin_mux_single()
716 rza1_set_bit(port, RZA1_PFC_REG, pin, mux_func & MUX_FUNC_PFC_MASK); in rza1_pin_mux_single()
717 rza1_set_bit(port, RZA1_PFCE_REG, pin, mux_func & MUX_FUNC_PFCE_MASK); in rza1_pin_mux_single()
718 rza1_set_bit(port, RZA1_PFCEA_REG, pin, mux_func & MUX_FUNC_PFCEA_MASK); in rza1_pin_mux_single()
[all …]
Dpinctrl-rza2.c36 #define MUX_FUNC(pinconf) ((pinconf & MUX_FUNC_MASK) >> MUX_FUNC_OFFS) macro
358 psel_val[i] = MUX_FUNC(value); in rza2_dt_node_to_map()
Dpinctrl-rzv2m.c38 #define MUX_FUNC(pinconf) FIELD_GET(MUX_FUNC_MASK, (pinconf)) macro
307 psel_val[i] = MUX_FUNC(value); in rzv2m_dt_subnode_to_map()
Dpinctrl-rzg2l.c37 #define MUX_FUNC(pinconf) (((pinconf) & MUX_FUNC_MASK) >> MUX_FUNC_OFFS) macro
345 psel_val[i] = MUX_FUNC(value); in rzg2l_dt_subnode_to_map()