Lines Matching +full:bank +full:- +full:number

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2020-2021 Rockchip Electronics Co. Ltd.
8 * With some ideas taken from pinctrl-samsung:
14 * and pinctrl-at91:
15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
245 * @offset: if initialized to -1 it will be autocalculated, by specifying
279 * @offset: if initialized to -1 it will be autocalculated, by specifying
292 * @dev: the pinctrl device bind to the bank
293 * @reg_base: register base of the gpio bank
295 * @clk: clock of the gpio bank
297 * @irq: interrupt of the gpio bank
299 * @pin_base: first pin number
300 * @nr_pins: number of pins in this bank
301 * @name: name of the bank
302 * @bank_num: number of the bank, to account for holes
303 * @iomux: array describing the 4 iomux sources of the bank
304 * @drv: array describing the 4 drive strength sources of the bank
305 * @pull_type: array describing the 4 pull type sources of the bank
307 * @of_node: dt node of this bank
309 * @domain: irqdomain of the gpio bank
312 * @slock: spinlock for the gpio bank
315 * @route_mask: bits describing the routing pins of per bank
316 * @deferred_output: gpio output settings to be done after gpio bank probed
352 * @num: bank number.
353 * @pin: pin number.
374 * @bank_num: bank number.
405 int (*pull_calc_reg)(struct rockchip_pin_bank *bank,
408 int (*drv_calc_reg)(struct rockchip_pin_bank *bank,
411 int (*schmitt_calc_reg)(struct rockchip_pin_bank *bank,
414 int (*slew_rate_calc_reg)(struct rockchip_pin_bank *bank,
438 * @npins: number of pins included in this group.
452 * @ngroups: number of groups included in @groups.
476 int rk_iomux_set(int bank, int pin, int mux);
477 int rk_iomux_get(int bank, int pin, int *mux);
479 static inline int rk_iomux_set(int bank, int pin, int mux) in rk_iomux_set() argument
481 return -EINVAL; in rk_iomux_set()
484 static inline int rk_iomux_get(int bank, int pin, int *mux) in rk_iomux_get() argument
486 return -EINVAL; in rk_iomux_get()