#include <linux/kernel.h>
#include "sh_pfc.h"
#define CPU_ALL_GP(fn, sfx) …
#define CPU_ALL_NOGP(fn) …
enum { … };
static const u16 pinmux_data[] = …;
enum { … };
static const struct sh_pfc_pin pinmux_pins[] = …;
static const unsigned int du0_rgb666_pins[] = …;
static const unsigned int du0_rgb666_mux[] = …;
static const unsigned int du0_rgb888_pins[] = …;
static const unsigned int du0_rgb888_mux[] = …;
static const unsigned int du0_clk_in_pins[] = …;
static const unsigned int du0_clk_in_mux[] = …;
static const unsigned int du0_clk_out_0_pins[] = …;
static const unsigned int du0_clk_out_0_mux[] = …;
static const unsigned int du0_clk_out_1_pins[] = …;
static const unsigned int du0_clk_out_1_mux[] = …;
static const unsigned int du0_sync_0_pins[] = …;
static const unsigned int du0_sync_0_mux[] = …;
static const unsigned int du0_sync_1_pins[] = …;
static const unsigned int du0_sync_1_mux[] = …;
static const unsigned int du0_oddf_pins[] = …;
static const unsigned int du0_oddf_mux[] = …;
static const unsigned int du0_cde_pins[] = …;
static const unsigned int du0_cde_mux[] = …;
static const unsigned int du1_rgb666_pins[] = …;
static const unsigned int du1_rgb666_mux[] = …;
static const unsigned int du1_rgb888_pins[] = …;
static const unsigned int du1_rgb888_mux[] = …;
static const unsigned int du1_clk_in_pins[] = …;
static const unsigned int du1_clk_in_mux[] = …;
static const unsigned int du1_clk_out_pins[] = …;
static const unsigned int du1_clk_out_mux[] = …;
static const unsigned int du1_sync_0_pins[] = …;
static const unsigned int du1_sync_0_mux[] = …;
static const unsigned int du1_sync_1_pins[] = …;
static const unsigned int du1_sync_1_mux[] = …;
static const unsigned int du1_oddf_pins[] = …;
static const unsigned int du1_oddf_mux[] = …;
static const unsigned int du1_cde_pins[] = …;
static const unsigned int du1_cde_mux[] = …;
static const unsigned int ether_rmii_pins[] = …;
static const unsigned int ether_rmii_mux[] = …;
static const unsigned int ether_link_pins[] = …;
static const unsigned int ether_link_mux[] = …;
static const unsigned int ether_magic_pins[] = …;
static const unsigned int ether_magic_mux[] = …;
static const unsigned int hscif0_data_pins[] = …;
static const unsigned int hscif0_data_mux[] = …;
static const unsigned int hscif0_data_b_pins[] = …;
static const unsigned int hscif0_data_b_mux[] = …;
static const unsigned int hscif0_ctrl_pins[] = …;
static const unsigned int hscif0_ctrl_mux[] = …;
static const unsigned int hscif0_ctrl_b_pins[] = …;
static const unsigned int hscif0_ctrl_b_mux[] = …;
static const unsigned int hscif0_clk_pins[] = …;
static const unsigned int hscif0_clk_mux[] = …;
static const unsigned int hscif0_clk_b_pins[] = …;
static const unsigned int hscif0_clk_b_mux[] = …;
static const unsigned int hscif1_data_pins[] = …;
static const unsigned int hscif1_data_mux[] = …;
static const unsigned int hscif1_data_b_pins[] = …;
static const unsigned int hscif1_data_b_mux[] = …;
static const unsigned int hscif1_ctrl_pins[] = …;
static const unsigned int hscif1_ctrl_mux[] = …;
static const unsigned int hscif1_ctrl_b_pins[] = …;
static const unsigned int hscif1_ctrl_b_mux[] = …;
static const unsigned int hscif1_clk_pins[] = …;
static const unsigned int hscif1_clk_mux[] = …;
static const unsigned int hscif1_clk_b_pins[] = …;
static const unsigned int hscif1_clk_b_mux[] = …;
static const unsigned int hspi0_pins[] = …;
static const unsigned int hspi0_mux[] = …;
static const unsigned int hspi1_pins[] = …;
static const unsigned int hspi1_mux[] = …;
static const unsigned int hspi1_b_pins[] = …;
static const unsigned int hspi1_b_mux[] = …;
static const unsigned int hspi1_c_pins[] = …;
static const unsigned int hspi1_c_mux[] = …;
static const unsigned int hspi1_d_pins[] = …;
static const unsigned int hspi1_d_mux[] = …;
static const unsigned int hspi2_pins[] = …;
static const unsigned int hspi2_mux[] = …;
static const unsigned int hspi2_b_pins[] = …;
static const unsigned int hspi2_b_mux[] = …;
static const unsigned int i2c1_pins[] = …;
static const unsigned int i2c1_mux[] = …;
static const unsigned int i2c1_b_pins[] = …;
static const unsigned int i2c1_b_mux[] = …;
static const unsigned int i2c1_c_pins[] = …;
static const unsigned int i2c1_c_mux[] = …;
static const unsigned int i2c1_d_pins[] = …;
static const unsigned int i2c1_d_mux[] = …;
static const unsigned int i2c2_pins[] = …;
static const unsigned int i2c2_mux[] = …;
static const unsigned int i2c2_b_pins[] = …;
static const unsigned int i2c2_b_mux[] = …;
static const unsigned int i2c2_c_pins[] = …;
static const unsigned int i2c2_c_mux[] = …;
static const unsigned int i2c2_d_pins[] = …;
static const unsigned int i2c2_d_mux[] = …;
static const unsigned int i2c3_pins[] = …;
static const unsigned int i2c3_mux[] = …;
static const unsigned int i2c3_b_pins[] = …;
static const unsigned int i2c3_b_mux[] = …;
static const unsigned int intc_irq0_pins[] = …;
static const unsigned int intc_irq0_mux[] = …;
static const unsigned int intc_irq0_b_pins[] = …;
static const unsigned int intc_irq0_b_mux[] = …;
static const unsigned int intc_irq1_pins[] = …;
static const unsigned int intc_irq1_mux[] = …;
static const unsigned int intc_irq1_b_pins[] = …;
static const unsigned int intc_irq1_b_mux[] = …;
static const unsigned int intc_irq2_pins[] = …;
static const unsigned int intc_irq2_mux[] = …;
static const unsigned int intc_irq2_b_pins[] = …;
static const unsigned int intc_irq2_b_mux[] = …;
static const unsigned int intc_irq3_pins[] = …;
static const unsigned int intc_irq3_mux[] = …;
static const unsigned int intc_irq3_b_pins[] = …;
static const unsigned int intc_irq3_b_mux[] = …;
static const unsigned int lbsc_cs0_pins[] = …;
static const unsigned int lbsc_cs0_mux[] = …;
static const unsigned int lbsc_cs1_pins[] = …;
static const unsigned int lbsc_cs1_mux[] = …;
static const unsigned int lbsc_ex_cs0_pins[] = …;
static const unsigned int lbsc_ex_cs0_mux[] = …;
static const unsigned int lbsc_ex_cs1_pins[] = …;
static const unsigned int lbsc_ex_cs1_mux[] = …;
static const unsigned int lbsc_ex_cs2_pins[] = …;
static const unsigned int lbsc_ex_cs2_mux[] = …;
static const unsigned int lbsc_ex_cs3_pins[] = …;
static const unsigned int lbsc_ex_cs3_mux[] = …;
static const unsigned int lbsc_ex_cs4_pins[] = …;
static const unsigned int lbsc_ex_cs4_mux[] = …;
static const unsigned int lbsc_ex_cs5_pins[] = …;
static const unsigned int lbsc_ex_cs5_mux[] = …;
static const unsigned int mmc0_data_pins[] = …;
static const unsigned int mmc0_data_mux[] = …;
static const unsigned int mmc0_ctrl_pins[] = …;
static const unsigned int mmc0_ctrl_mux[] = …;
static const unsigned int mmc1_data_pins[] = …;
static const unsigned int mmc1_data_mux[] = …;
static const unsigned int mmc1_ctrl_pins[] = …;
static const unsigned int mmc1_ctrl_mux[] = …;
static const unsigned int pwm0_pins[] = …;
static const unsigned int pwm0_mux[] = …;
static const unsigned int pwm0_b_pins[] = …;
static const unsigned int pwm0_b_mux[] = …;
static const unsigned int pwm0_c_pins[] = …;
static const unsigned int pwm0_c_mux[] = …;
static const unsigned int pwm0_d_pins[] = …;
static const unsigned int pwm0_d_mux[] = …;
static const unsigned int pwm1_pins[] = …;
static const unsigned int pwm1_mux[] = …;
static const unsigned int pwm2_pins[] = …;
static const unsigned int pwm2_mux[] = …;
static const unsigned int pwm3_pins[] = …;
static const unsigned int pwm3_mux[] = …;
static const unsigned int pwm4_pins[] = …;
static const unsigned int pwm4_mux[] = …;
static const unsigned int pwm5_pins[] = …;
static const unsigned int pwm5_mux[] = …;
static const unsigned int pwm6_pins[] = …;
static const unsigned int pwm6_mux[] = …;
static const unsigned int scif0_data_pins[] = …;
static const unsigned int scif0_data_mux[] = …;
static const unsigned int scif0_clk_pins[] = …;
static const unsigned int scif0_clk_mux[] = …;
static const unsigned int scif0_ctrl_pins[] = …;
static const unsigned int scif0_ctrl_mux[] = …;
static const unsigned int scif0_data_b_pins[] = …;
static const unsigned int scif0_data_b_mux[] = …;
static const unsigned int scif0_clk_b_pins[] = …;
static const unsigned int scif0_clk_b_mux[] = …;
static const unsigned int scif0_ctrl_b_pins[] = …;
static const unsigned int scif0_ctrl_b_mux[] = …;
static const unsigned int scif0_data_c_pins[] = …;
static const unsigned int scif0_data_c_mux[] = …;
static const unsigned int scif0_clk_c_pins[] = …;
static const unsigned int scif0_clk_c_mux[] = …;
static const unsigned int scif0_ctrl_c_pins[] = …;
static const unsigned int scif0_ctrl_c_mux[] = …;
static const unsigned int scif0_data_d_pins[] = …;
static const unsigned int scif0_data_d_mux[] = …;
static const unsigned int scif0_clk_d_pins[] = …;
static const unsigned int scif0_clk_d_mux[] = …;
static const unsigned int scif0_ctrl_d_pins[] = …;
static const unsigned int scif0_ctrl_d_mux[] = …;
static const unsigned int scif1_data_pins[] = …;
static const unsigned int scif1_data_mux[] = …;
static const unsigned int scif1_clk_pins[] = …;
static const unsigned int scif1_clk_mux[] = …;
static const unsigned int scif1_ctrl_pins[] = …;
static const unsigned int scif1_ctrl_mux[] = …;
static const unsigned int scif1_data_b_pins[] = …;
static const unsigned int scif1_data_b_mux[] = …;
static const unsigned int scif1_clk_b_pins[] = …;
static const unsigned int scif1_clk_b_mux[] = …;
static const unsigned int scif1_ctrl_b_pins[] = …;
static const unsigned int scif1_ctrl_b_mux[] = …;
static const unsigned int scif1_data_c_pins[] = …;
static const unsigned int scif1_data_c_mux[] = …;
static const unsigned int scif1_clk_c_pins[] = …;
static const unsigned int scif1_clk_c_mux[] = …;
static const unsigned int scif1_ctrl_c_pins[] = …;
static const unsigned int scif1_ctrl_c_mux[] = …;
static const unsigned int scif2_data_pins[] = …;
static const unsigned int scif2_data_mux[] = …;
static const unsigned int scif2_clk_pins[] = …;
static const unsigned int scif2_clk_mux[] = …;
static const unsigned int scif2_data_b_pins[] = …;
static const unsigned int scif2_data_b_mux[] = …;
static const unsigned int scif2_clk_b_pins[] = …;
static const unsigned int scif2_clk_b_mux[] = …;
static const unsigned int scif2_data_c_pins[] = …;
static const unsigned int scif2_data_c_mux[] = …;
static const unsigned int scif2_clk_c_pins[] = …;
static const unsigned int scif2_clk_c_mux[] = …;
static const unsigned int scif2_data_d_pins[] = …;
static const unsigned int scif2_data_d_mux[] = …;
static const unsigned int scif2_clk_d_pins[] = …;
static const unsigned int scif2_clk_d_mux[] = …;
static const unsigned int scif2_data_e_pins[] = …;
static const unsigned int scif2_data_e_mux[] = …;
static const unsigned int scif3_data_pins[] = …;
static const unsigned int scif3_data_mux[] = …;
static const unsigned int scif3_clk_pins[] = …;
static const unsigned int scif3_clk_mux[] = …;
static const unsigned int scif3_data_b_pins[] = …;
static const unsigned int scif3_data_b_mux[] = …;
static const unsigned int scif3_data_c_pins[] = …;
static const unsigned int scif3_data_c_mux[] = …;
static const unsigned int scif3_data_d_pins[] = …;
static const unsigned int scif3_data_d_mux[] = …;
static const unsigned int scif3_data_e_pins[] = …;
static const unsigned int scif3_data_e_mux[] = …;
static const unsigned int scif3_clk_e_pins[] = …;
static const unsigned int scif3_clk_e_mux[] = …;
static const unsigned int scif4_data_pins[] = …;
static const unsigned int scif4_data_mux[] = …;
static const unsigned int scif4_clk_pins[] = …;
static const unsigned int scif4_clk_mux[] = …;
static const unsigned int scif4_data_b_pins[] = …;
static const unsigned int scif4_data_b_mux[] = …;
static const unsigned int scif4_clk_b_pins[] = …;
static const unsigned int scif4_clk_b_mux[] = …;
static const unsigned int scif4_data_c_pins[] = …;
static const unsigned int scif4_data_c_mux[] = …;
static const unsigned int scif4_data_d_pins[] = …;
static const unsigned int scif4_data_d_mux[] = …;
static const unsigned int scif5_data_pins[] = …;
static const unsigned int scif5_data_mux[] = …;
static const unsigned int scif5_clk_pins[] = …;
static const unsigned int scif5_clk_mux[] = …;
static const unsigned int scif5_data_b_pins[] = …;
static const unsigned int scif5_data_b_mux[] = …;
static const unsigned int scif5_clk_b_pins[] = …;
static const unsigned int scif5_clk_b_mux[] = …;
static const unsigned int scif5_data_c_pins[] = …;
static const unsigned int scif5_data_c_mux[] = …;
static const unsigned int scif5_clk_c_pins[] = …;
static const unsigned int scif5_clk_c_mux[] = …;
static const unsigned int scif5_data_d_pins[] = …;
static const unsigned int scif5_data_d_mux[] = …;
static const unsigned int scif5_clk_d_pins[] = …;
static const unsigned int scif5_clk_d_mux[] = …;
static const unsigned int scif_clk_pins[] = …;
static const unsigned int scif_clk_mux[] = …;
static const unsigned int scif_clk_b_pins[] = …;
static const unsigned int scif_clk_b_mux[] = …;
static const unsigned int scif_clk_c_pins[] = …;
static const unsigned int scif_clk_c_mux[] = …;
static const unsigned int scif_clk_d_pins[] = …;
static const unsigned int scif_clk_d_mux[] = …;
static const unsigned int sdhi0_data_pins[] = …;
static const unsigned int sdhi0_data_mux[] = …;
static const unsigned int sdhi0_ctrl_pins[] = …;
static const unsigned int sdhi0_ctrl_mux[] = …;
static const unsigned int sdhi0_cd_pins[] = …;
static const unsigned int sdhi0_cd_mux[] = …;
static const unsigned int sdhi0_wp_pins[] = …;
static const unsigned int sdhi0_wp_mux[] = …;
static const unsigned int sdhi1_data_pins[] = …;
static const unsigned int sdhi1_data_mux[] = …;
static const unsigned int sdhi1_ctrl_pins[] = …;
static const unsigned int sdhi1_ctrl_mux[] = …;
static const unsigned int sdhi1_cd_pins[] = …;
static const unsigned int sdhi1_cd_mux[] = …;
static const unsigned int sdhi1_wp_pins[] = …;
static const unsigned int sdhi1_wp_mux[] = …;
static const unsigned int sdhi2_data_pins[] = …;
static const unsigned int sdhi2_data_mux[] = …;
static const unsigned int sdhi2_ctrl_pins[] = …;
static const unsigned int sdhi2_ctrl_mux[] = …;
static const unsigned int sdhi2_cd_pins[] = …;
static const unsigned int sdhi2_cd_mux[] = …;
static const unsigned int sdhi2_wp_pins[] = …;
static const unsigned int sdhi2_wp_mux[] = …;
static const unsigned int sdhi3_data_pins[] = …;
static const unsigned int sdhi3_data_mux[] = …;
static const unsigned int sdhi3_ctrl_pins[] = …;
static const unsigned int sdhi3_ctrl_mux[] = …;
static const unsigned int sdhi3_cd_pins[] = …;
static const unsigned int sdhi3_cd_mux[] = …;
static const unsigned int sdhi3_wp_pins[] = …;
static const unsigned int sdhi3_wp_mux[] = …;
static const unsigned int usb0_pins[] = …;
static const unsigned int usb0_mux[] = …;
static const unsigned int usb0_ovc_pins[] = …;
static const unsigned int usb0_ovc_mux[] = …;
static const unsigned int usb1_pins[] = …;
static const unsigned int usb1_mux[] = …;
static const unsigned int usb1_ovc_pins[] = …;
static const unsigned int usb1_ovc_mux[] = …;
static const unsigned int usb2_pins[] = …;
static const unsigned int usb2_mux[] = …;
static const unsigned int usb2_ovc_pins[] = …;
static const unsigned int usb2_ovc_mux[] = …;
static const unsigned int vin0_data8_pins[] = …;
static const unsigned int vin0_data8_mux[] = …;
static const unsigned int vin0_clk_pins[] = …;
static const unsigned int vin0_clk_mux[] = …;
static const unsigned int vin0_sync_pins[] = …;
static const unsigned int vin0_sync_mux[] = …;
static const unsigned int vin1_data8_pins[] = …;
static const unsigned int vin1_data8_mux[] = …;
static const unsigned int vin1_clk_pins[] = …;
static const unsigned int vin1_clk_mux[] = …;
static const unsigned int vin1_sync_pins[] = …;
static const unsigned int vin1_sync_mux[] = …;
static const unsigned int vin2_data8_pins[] = …;
static const unsigned int vin2_data8_mux[] = …;
static const unsigned int vin2_clk_pins[] = …;
static const unsigned int vin2_clk_mux[] = …;
static const unsigned int vin2_sync_pins[] = …;
static const unsigned int vin2_sync_mux[] = …;
static const unsigned int vin3_data8_pins[] = …;
static const unsigned int vin3_data8_mux[] = …;
static const unsigned int vin3_clk_pins[] = …;
static const unsigned int vin3_clk_mux[] = …;
static const unsigned int vin3_sync_pins[] = …;
static const unsigned int vin3_sync_mux[] = …;
static const struct sh_pfc_pin_group pinmux_groups[] = …;
static const char * const du0_groups[] = …;
static const char * const du1_groups[] = …;
static const char * const ether_groups[] = …;
static const char * const hscif0_groups[] = …;
static const char * const hscif1_groups[] = …;
static const char * const hspi0_groups[] = …;
static const char * const hspi1_groups[] = …;
static const char * const hspi2_groups[] = …;
static const char * const i2c1_groups[] = …;
static const char * const i2c2_groups[] = …;
static const char * const i2c3_groups[] = …;
static const char * const intc_groups[] = …;
static const char * const lbsc_groups[] = …;
static const char * const mmc0_groups[] = …;
static const char * const mmc1_groups[] = …;
static const char * const pwm0_groups[] = …;
static const char * const pwm1_groups[] = …;
static const char * const pwm2_groups[] = …;
static const char * const pwm3_groups[] = …;
static const char * const pwm4_groups[] = …;
static const char * const pwm5_groups[] = …;
static const char * const pwm6_groups[] = …;
static const char * const scif0_groups[] = …;
static const char * const scif1_groups[] = …;
static const char * const scif2_groups[] = …;
static const char * const scif3_groups[] = …;
static const char * const scif4_groups[] = …;
static const char * const scif5_groups[] = …;
static const char * const scif_clk_groups[] = …;
static const char * const sdhi0_groups[] = …;
static const char * const sdhi1_groups[] = …;
static const char * const sdhi2_groups[] = …;
static const char * const sdhi3_groups[] = …;
static const char * const usb0_groups[] = …;
static const char * const usb1_groups[] = …;
static const char * const usb2_groups[] = …;
static const char * const vin0_groups[] = …;
static const char * const vin1_groups[] = …;
static const char * const vin2_groups[] = …;
static const char * const vin3_groups[] = …;
static const struct sh_pfc_function pinmux_functions[] = …;
static const struct pinmux_cfg_reg pinmux_config_regs[] = …;
static const struct pinmux_bias_reg pinmux_bias_regs[] = …;
static const struct sh_pfc_soc_operations r8a7779_pfc_ops = …;
const struct sh_pfc_soc_info r8a7779_pinmux_info = …;