#include <linux/errno.h>
#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 avb_col_pins[] = …;
static const unsigned int avb_col_mux[] = …;
static const unsigned int avb_crs_pins[] = …;
static const unsigned int avb_crs_mux[] = …;
static const unsigned int avb_link_pins[] = …;
static const unsigned int avb_link_mux[] = …;
static const unsigned int avb_magic_pins[] = …;
static const unsigned int avb_magic_mux[] = …;
static const unsigned int avb_phy_int_pins[] = …;
static const unsigned int avb_phy_int_mux[] = …;
static const unsigned int avb_mdio_pins[] = …;
static const unsigned int avb_mdio_mux[] = …;
static const unsigned int avb_mii_tx_rx_pins[] = …;
static const unsigned int avb_mii_tx_rx_mux[] = …;
static const unsigned int avb_mii_tx_er_pins[] = …;
static const unsigned int avb_mii_tx_er_mux[] = …;
static const unsigned int avb_gmii_tx_rx_pins[] = …;
static const unsigned int avb_gmii_tx_rx_mux[] = …;
static const unsigned int avb_avtp_match_a_pins[] = …;
static const unsigned int avb_avtp_match_a_mux[] = …;
static const unsigned int avb_avtp_capture_a_pins[] = …;
static const unsigned int avb_avtp_capture_a_mux[] = …;
static const unsigned int avb_avtp_match_b_pins[] = …;
static const unsigned int avb_avtp_match_b_mux[] = …;
static const unsigned int avb_avtp_capture_b_pins[] = …;
static const unsigned int avb_avtp_capture_b_mux[] = …;
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_clk0_out_pins[] = …;
static const unsigned int du0_clk0_out_mux[] = …;
static const unsigned int du0_clk1_out_pins[] = …;
static const unsigned int du0_clk1_out_mux[] = …;
static const unsigned int du0_clk_in_pins[] = …;
static const unsigned int du0_clk_in_mux[] = …;
static const unsigned int du0_sync_pins[] = …;
static const unsigned int du0_sync_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 du0_disp_pins[] = …;
static const unsigned int du0_disp_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_clk0_out_pins[] = …;
static const unsigned int du1_clk0_out_mux[] = …;
static const unsigned int du1_clk1_out_pins[] = …;
static const unsigned int du1_clk1_out_mux[] = …;
static const unsigned int du1_clk_in_pins[] = …;
static const unsigned int du1_clk_in_mux[] = …;
static const unsigned int du1_sync_pins[] = …;
static const unsigned int du1_sync_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 du1_disp_pins[] = …;
static const unsigned int du1_disp_mux[] = …;
static const unsigned int i2c0_a_pins[] = …;
static const unsigned int i2c0_a_mux[] = …;
static const unsigned int i2c0_b_pins[] = …;
static const unsigned int i2c0_b_mux[] = …;
static const unsigned int i2c0_c_pins[] = …;
static const unsigned int i2c0_c_mux[] = …;
static const unsigned int i2c0_d_pins[] = …;
static const unsigned int i2c0_d_mux[] = …;
static const unsigned int i2c0_e_pins[] = …;
static const unsigned int i2c0_e_mux[] = …;
static const unsigned int i2c1_a_pins[] = …;
static const unsigned int i2c1_a_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 i2c1_e_pins[] = …;
static const unsigned int i2c1_e_mux[] = …;
static const unsigned int i2c2_a_pins[] = …;
static const unsigned int i2c2_a_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_a_pins[] = …;
static const unsigned int i2c3_a_mux[] = …;
static const unsigned int i2c3_b_pins[] = …;
static const unsigned int i2c3_b_mux[] = …;
static const unsigned int i2c3_c_pins[] = …;
static const unsigned int i2c3_c_mux[] = …;
static const unsigned int i2c3_d_pins[] = …;
static const unsigned int i2c3_d_mux[] = …;
static const unsigned int i2c3_e_pins[] = …;
static const unsigned int i2c3_e_mux[] = …;
static const unsigned int i2c4_a_pins[] = …;
static const unsigned int i2c4_a_mux[] = …;
static const unsigned int i2c4_b_pins[] = …;
static const unsigned int i2c4_b_mux[] = …;
static const unsigned int i2c4_c_pins[] = …;
static const unsigned int i2c4_c_mux[] = …;
static const unsigned int i2c4_d_pins[] = …;
static const unsigned int i2c4_d_mux[] = …;
static const unsigned int i2c4_e_pins[] = …;
static const unsigned int i2c4_e_mux[] = …;
static const unsigned int mmc_data_pins[] = …;
static const unsigned int mmc_data_mux[] = …;
static const unsigned int mmc_ctrl_pins[] = …;
static const unsigned int mmc_ctrl_mux[] = …;
static const unsigned int qspi0_ctrl_pins[] = …;
static const unsigned int qspi0_ctrl_mux[] = …;
static const unsigned int qspi0_data_pins[] = …;
static const unsigned int qspi0_data_mux[] = …;
static const unsigned int qspi1_ctrl_pins[] = …;
static const unsigned int qspi1_ctrl_mux[] = …;
static const unsigned int qspi1_data_pins[] = …;
static const unsigned int qspi1_data_mux[] = …;
static const unsigned int scif0_data_a_pins[] = …;
static const unsigned int scif0_data_a_mux[] = …;
static const unsigned int scif0_data_b_pins[] = …;
static const unsigned int scif0_data_b_mux[] = …;
static const unsigned int scif0_data_c_pins[] = …;
static const unsigned int scif0_data_c_mux[] = …;
static const unsigned int scif0_data_d_pins[] = …;
static const unsigned int scif0_data_d_mux[] = …;
static const unsigned int scif1_data_a_pins[] = …;
static const unsigned int scif1_data_a_mux[] = …;
static const unsigned int scif1_clk_a_pins[] = …;
static const unsigned int scif1_clk_a_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_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_data_d_pins[] = …;
static const unsigned int scif1_data_d_mux[] = …;
static const unsigned int scif2_data_a_pins[] = …;
static const unsigned int scif2_data_a_mux[] = …;
static const unsigned int scif2_clk_a_pins[] = …;
static const unsigned int scif2_clk_a_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 scif3_data_a_pins[] = …;
static const unsigned int scif3_data_a_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 scif4_data_a_pins[] = …;
static const unsigned int scif4_data_a_mux[] = …;
static const unsigned int scif4_data_b_pins[] = …;
static const unsigned int scif4_data_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 scif4_data_e_pins[] = …;
static const unsigned int scif4_data_e_mux[] = …;
static const unsigned int scif5_data_a_pins[] = …;
static const unsigned int scif5_data_a_mux[] = …;
static const unsigned int scif5_data_b_pins[] = …;
static const unsigned int scif5_data_b_mux[] = …;
static const unsigned int scif5_data_c_pins[] = …;
static const unsigned int scif5_data_c_mux[] = …;
static const unsigned int scif5_data_d_pins[] = …;
static const unsigned int scif5_data_d_mux[] = …;
static const unsigned int scif5_data_e_pins[] = …;
static const unsigned int scif5_data_e_mux[] = …;
static const unsigned int scif5_data_f_pins[] = …;
static const unsigned int scif5_data_f_mux[] = …;
static const unsigned int scif_clk_a_pins[] = …;
static const unsigned int scif_clk_a_mux[] = …;
static const unsigned int scif_clk_b_pins[] = …;
static const unsigned int scif_clk_b_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_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 usb0_pins[] = …;
static const unsigned int usb0_mux[] = …;
static const unsigned int usb1_pins[] = …;
static const unsigned int usb1_mux[] = …;
static const unsigned int vin0_data_pins[] = …;
static const unsigned int vin0_data_mux[] = …;
static const unsigned int vin0_data18_pins[] = …;
static const unsigned int vin0_data18_mux[] = …;
static const unsigned int vin0_sync_pins[] = …;
static const unsigned int vin0_sync_mux[] = …;
static const unsigned int vin0_field_pins[] = …;
static const unsigned int vin0_field_mux[] = …;
static const unsigned int vin0_clkenb_pins[] = …;
static const unsigned int vin0_clkenb_mux[] = …;
static const unsigned int vin0_clk_pins[] = …;
static const unsigned int vin0_clk_mux[] = …;
static const unsigned int vin1_data_pins[] = …;
static const unsigned int vin1_data_mux[] = …;
static const unsigned int vin1_sync_pins[] = …;
static const unsigned int vin1_sync_mux[] = …;
static const unsigned int vin1_field_pins[] = …;
static const unsigned int vin1_field_mux[] = …;
static const unsigned int vin1_clkenb_pins[] = …;
static const unsigned int vin1_clkenb_mux[] = …;
static const unsigned int vin1_clk_pins[] = …;
static const unsigned int vin1_clk_mux[] = …;
static const struct sh_pfc_pin_group pinmux_groups[] = …;
static const char * const avb_groups[] = …;
static const char * const du0_groups[] = …;
static const char * const du1_groups[] = …;
static const char * const i2c0_groups[] = …;
static const char * const i2c1_groups[] = …;
static const char * const i2c2_groups[] = …;
static const char * const i2c3_groups[] = …;
static const char * const i2c4_groups[] = …;
static const char * const mmc_groups[] = …;
static const char * const qspi0_groups[] = …;
static const char * const qspi1_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 usb0_groups[] = …;
static const char * const usb1_groups[] = …;
static const char * const vin0_groups[] = …;
static const char * const vin1_groups[] = …;
static const struct sh_pfc_function pinmux_functions[] = …;
static const struct pinmux_cfg_reg pinmux_config_regs[] = …;
static int r8a77470_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
{ … }
static const struct pinmux_bias_reg pinmux_bias_regs[] = …;
static const struct sh_pfc_soc_operations r8a77470_pfc_ops = …;
#ifdef CONFIG_PINCTRL_PFC_R8A77470
const struct sh_pfc_soc_info r8a77470_pinmux_info = …;
#endif