/openbmc/linux/drivers/gpio/ |
H A D | gpio-rockchip.c | 76 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 D | pinctrl-rockchip.c | 261 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 D | pinctrl-rockchip.h | 315 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 D | pinctrl-rv1108.c | 81 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 D | pinctrl-rk3328.c | 126 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 D | pinctrl-rk3368.c | 17 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 D | pinctrl-rockchip.h | 105 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 D | pinctrl-rk3288.c | 35 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 D | pinctrl-rockchip-core.c | 38 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 D | pinctrl-rk3399.c | 56 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 D | pinctrl-rk322x.c | 146 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 D | pinctrl-rk3036.c | 18 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 D | pinctrl-rk3188.c | 17 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 D | pinctrl-rk3128.c | 105 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[] = {
|