Lines Matching refs:maps
35 * @maps: array of mapping table entries
36 * @num_maps: the number of entries in @maps
40 struct pinctrl_map const *maps;
53 /* List of pinctrl maps (struct pinctrl_maps) */
58 for (_i_ = 0, _map_ = &_maps_node_->maps[_i_]; \
60 i++, _map_ = &_maps_node_->maps[_i_])
585 /* Iterate over the pin control maps to locate the right ones */
792 * @maps: the pincontrol mappings table to register. This should probably be
795 * @num_maps: the number of maps in the mapping table
797 int pinctrl_register_mappings(struct pinctrl_map const *maps,
803 pr_debug("add %d pinmux maps\n", num_maps);
807 if (!maps[i].dev_name) {
809 maps[i].name, i);
813 if (!maps[i].name) {
819 if (maps[i].type != PIN_MAP_TYPE_DUMMY_STATE &&
820 !maps[i].ctrl_dev_name) {
822 maps[i].name, i);
826 switch (maps[i].type) {
830 ret = pinmux_validate_map(&maps[i], i);
836 ret = pinconf_validate_map(&maps[i], i);
842 maps[i].name, i);
854 maps_node->maps = kmemdup(maps, sizeof(*maps) * num_maps, GFP_KERNEL);
855 if (!maps_node->maps) {
1011 seq_puts(s, "Pinctrl maps:\n");
1050 seq_puts(s, "Requested pin control handlers their pinmux maps:\n");
1202 debugfs_create_file("pinctrl-maps", S_IFREG | S_IRUGO,