Home
last modified time | relevance | path

Searched refs:rockchip_pin_bank (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-rockchip.c76 static inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, in rockchip_gpio_writel()
87 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, in rockchip_gpio_readl()
101 static inline void rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, in rockchip_gpio_writel_bit()
123 static inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, in rockchip_gpio_readl_bit()
143 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_get_direction()
156 struct rockchip_pin_bank *bank = gpiochip_get_data(chip); in rockchip_gpio_set_direction()
176 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set()
186 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_get()
200 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set_debounce()
307 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_to_irq()
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c261 static struct rockchip_pin_bank *pin_to_bank(struct rockchip_pinctrl *info, in pin_to_bank()
264 struct rockchip_pin_bank *b = info->ctrl->pin_banks; in pin_to_bank()
272 static struct rockchip_pin_bank *bank_num_to_bank( in bank_num_to_bank()
276 struct rockchip_pin_bank *b = info->ctrl->pin_banks; in bank_num_to_bank()
702 static void rockchip_get_recalced_mux(struct rockchip_pin_bank *bank, int pin, in rockchip_get_recalced_mux()
1049 static bool rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, in rockchip_get_mux_route()
1074 static int rockchip_get_mux(struct rockchip_pin_bank *bank, int pin) in rockchip_get_mux()
1151 static int rockchip_verify_mux(struct rockchip_pin_bank *bank, in rockchip_verify_mux()
1189 static int rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux) in rockchip_set_mux()
1312 static int px30_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in px30_calc_pull_reg_and_bit()
[all …]
H A Dpinctrl-rockchip.h315 struct rockchip_pin_bank { struct
387 struct rockchip_pin_bank *pin_banks;
401 int (*pull_calc_reg)(struct rockchip_pin_bank *bank,
404 int (*drv_calc_reg)(struct rockchip_pin_bank *bank,
407 int (*schmitt_calc_reg)(struct rockchip_pin_bank *bank,
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rv1108.c81 static void rv1108_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_pull_reg_and_bit()
107 static void rv1108_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_drv_reg_and_bit()
137 static int rv1108_calc_schmitt_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_schmitt_reg_and_bit()
161 static struct rockchip_pin_bank rv1108_pin_banks[] = {
H A Dpinctrl-rk3328.c126 static void rk3328_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_pull_reg_and_bit()
143 static void rk3328_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_drv_reg_and_bit()
163 static int rk3328_calc_schmitt_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_schmitt_reg_and_bit()
180 static struct rockchip_pin_bank rk3328_pin_banks[] = {
H A Dpinctrl-rk3368.c17 static void rk3368_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3368_calc_pull_reg_and_bit()
48 static void rk3368_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3368_calc_drv_reg_and_bit()
76 static struct rockchip_pin_bank rk3368_pin_banks[] = {
H A Dpinctrl-rockchip.h105 struct rockchip_pin_bank { struct
299 struct rockchip_pin_bank *pin_banks;
313 void (*pull_calc_reg)(struct rockchip_pin_bank *bank,
316 void (*drv_calc_reg)(struct rockchip_pin_bank *bank,
319 int (*schmitt_calc_reg)(struct rockchip_pin_bank *bank,
H A Dpinctrl-rk3288.c35 static void rk3288_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3288_calc_pull_reg_and_bit()
66 static void rk3288_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3288_calc_drv_reg_and_bit()
94 static struct rockchip_pin_bank rk3288_pin_banks[] = {
H A Dpinctrl-rockchip-core.c38 static void rockchip_get_recalced_mux(struct rockchip_pin_bank *bank, int pin, in rockchip_get_recalced_mux()
61 static bool rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, in rockchip_get_mux_route()
111 static int rockchip_get_mux(struct rockchip_pin_bank *bank, int pin) in rockchip_get_mux()
157 static int rockchip_verify_mux(struct rockchip_pin_bank *bank, in rockchip_verify_mux()
193 static int rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux) in rockchip_set_mux()
252 static int rockchip_set_drive_perpin(struct rockchip_pin_bank *bank, in rockchip_set_drive_perpin()
362 static int rockchip_set_pull(struct rockchip_pin_bank *bank, in rockchip_set_pull()
428 static int rockchip_set_schmitt(struct rockchip_pin_bank *bank, in rockchip_set_schmitt()
474 static int rockchip_pinconf_set(struct rockchip_pin_bank *bank, in rockchip_pinconf_set()
661 struct rockchip_pin_bank *bank;
H A Dpinctrl-rk3399.c56 static void rk3399_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3399_calc_pull_reg_and_bit()
86 static void rk3399_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3399_calc_drv_reg_and_bit()
107 static struct rockchip_pin_bank rk3399_pin_banks[] = {
H A Dpinctrl-rk322x.c146 static void rk3228_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3228_calc_pull_reg_and_bit()
163 static void rk3228_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3228_calc_drv_reg_and_bit()
178 static struct rockchip_pin_bank rk3228_pin_banks[] = {
H A Dpinctrl-rk3036.c18 static void rk3036_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3036_calc_pull_reg_and_bit()
32 static struct rockchip_pin_bank rk3036_pin_banks[] = {
H A Dpinctrl-rk3188.c17 static void rk3188_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3188_calc_pull_reg_and_bit()
50 static struct rockchip_pin_bank rk3188_pin_banks[] = {
H A Dpinctrl-rk3128.c105 static void rk3128_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3128_calc_pull_reg_and_bit()
119 static struct rockchip_pin_bank rk3128_pin_banks[] = {