Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c435 const struct of_phandle_args *pinctrl_spec, in ti_iodelay_node_iterator() argument
450 if (pinctrl_spec->args_count < r->reg_nr_per_pin) { in ti_iodelay_node_iterator()
452 pinctrl_spec->args_count); in ti_iodelay_node_iterator()
458 cfg[pin_index].offset = pinctrl_spec->args[0]; in ti_iodelay_node_iterator()
459 cfg[pin_index].a_delay = pinctrl_spec->args[1] & 0xffff; in ti_iodelay_node_iterator()
460 cfg[pin_index].g_delay = pinctrl_spec->args[2] & 0xffff; in ti_iodelay_node_iterator()
535 struct of_phandle_args pinctrl_spec; in ti_iodelay_dt_node_to_map() local
538 &pinctrl_spec); in ti_iodelay_dt_node_to_map()
542 error = ti_iodelay_node_iterator(pctldev, np, &pinctrl_spec, in ti_iodelay_dt_node_to_map()
/linux/drivers/pinctrl/
H A Dpinctrl-single.c1027 struct of_phandle_args pinctrl_spec; in pcs_parse_one_pinctrl_entry() local
1031 res = pinctrl_parse_index_with_args(np, name, i, &pinctrl_spec); in pcs_parse_one_pinctrl_entry()
1035 if (pinctrl_spec.args_count < 2 || pinctrl_spec.args_count > 3) { in pcs_parse_one_pinctrl_entry()
1037 pinctrl_spec.args_count); in pcs_parse_one_pinctrl_entry()
1041 offset = pinctrl_spec.args[0]; in pcs_parse_one_pinctrl_entry()
1044 switch (pinctrl_spec.args_count) { in pcs_parse_one_pinctrl_entry()
1046 vals[found].val = pinctrl_spec.args[1]; in pcs_parse_one_pinctrl_entry()
1049 vals[found].val = (pinctrl_spec.args[1] | pinctrl_spec.args[2]); in pcs_parse_one_pinctrl_entry()
1054 pinctrl_spec.np, offset, vals[found].val); in pcs_parse_one_pinctrl_entry()
1153 struct of_phandle_args pinctrl_spec; in pcs_parse_bits_in_pinctrl_entry() local
[all …]