ar2315_pci_ctrl
static inline struct ar2315_pci_ctrl *ar2315_pci_bus_to_apc(struct pci_bus *bus)
return container_of(hose, struct ar2315_pci_ctrl, pci_ctrl);
static inline u32 ar2315_pci_reg_read(struct ar2315_pci_ctrl *apc, u32 reg)
static inline void ar2315_pci_reg_write(struct ar2315_pci_ctrl *apc, u32 reg,
static inline void ar2315_pci_reg_mask(struct ar2315_pci_ctrl *apc, u32 reg,
static int ar2315_pci_cfg_access(struct ar2315_pci_ctrl *apc, unsigned devfn,
static inline int ar2315_pci_local_cfg_rd(struct ar2315_pci_ctrl *apc,
static inline int ar2315_pci_local_cfg_wr(struct ar2315_pci_ctrl *apc,
struct ar2315_pci_ctrl *apc = ar2315_pci_bus_to_apc(bus);
struct ar2315_pci_ctrl *apc = ar2315_pci_bus_to_apc(bus);
static int ar2315_pci_host_setup(struct ar2315_pci_ctrl *apc)
struct ar2315_pci_ctrl *apc = irq_desc_get_handler_data(desc);
struct ar2315_pci_ctrl *apc = irq_data_get_irq_chip_data(d);
struct ar2315_pci_ctrl *apc = irq_data_get_irq_chip_data(d);
struct ar2315_pci_ctrl *apc = irq_data_get_irq_chip_data(d);
static void ar2315_pci_irq_init(struct ar2315_pci_ctrl *apc)
struct ar2315_pci_ctrl *apc;
struct ar2315_pci_ctrl *apc = ar2315_pci_bus_to_apc(dev->bus);