/kernel/linux/linux-5.10/drivers/bcma/ |
H A D | driver_pcie2.c | 20 static u32 bcma_core_pcie2_cfg_read(struct bcma_drv_pcie2 *pcie2, u32 addr) 22 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr); 23 pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR); 24 return pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA); 28 static void bcma_core_pcie2_cfg_write(struct bcma_drv_pcie2 *pcie2, u32 addr, in bcma_core_pcie2_cfg_write() argument 31 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr); in bcma_core_pcie2_cfg_write() 32 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, val); in bcma_core_pcie2_cfg_write() 39 static u32 bcma_core_pcie2_war_delay_perst_enab(struct bcma_drv_pcie2 *pcie2, in bcma_core_pcie2_war_delay_perst_enab() argument 45 val = pcie2_read32(pcie2, BCMA_CORE_PCIE2_CLK_CONTROL); in bcma_core_pcie2_war_delay_perst_enab() 52 pcie2_write32(pcie2, (BCMA_CORE_PCIE2_CLK_CONTRO in bcma_core_pcie2_war_delay_perst_enab() 57 bcma_core_pcie2_set_ltr_vals(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_set_ltr_vals() argument 70 bcma_core_pcie2_hw_ltr_war(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_hw_ltr_war() argument 107 pciedev_crwlpciegen2(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2() argument 132 pciedev_crwlpciegen2_180(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2_180() argument 138 pciedev_crwlpciegen2_182(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2_182() argument 144 pciedev_reg_pm_clk_period(struct bcma_drv_pcie2 *pcie2) pciedev_reg_pm_clk_period() argument 159 bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_init() argument 192 bcma_core_pcie2_up(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_up() argument [all...] |
H A D | bcma_private.h | 142 void bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2); 143 void bcma_core_pcie2_up(struct bcma_drv_pcie2 *pcie2); 145 static inline void bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2) in bcma_core_pcie2_init() argument 148 WARN_ON(pcie2->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pcie2_init()
|
/kernel/linux/linux-6.6/drivers/bcma/ |
H A D | driver_pcie2.c | 20 static u32 bcma_core_pcie2_cfg_read(struct bcma_drv_pcie2 *pcie2, u32 addr) 22 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr); 23 pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR); 24 return pcie2_read32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA); 28 static void bcma_core_pcie2_cfg_write(struct bcma_drv_pcie2 *pcie2, u32 addr, in bcma_core_pcie2_cfg_write() argument 31 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDADDR, addr); in bcma_core_pcie2_cfg_write() 32 pcie2_write32(pcie2, BCMA_CORE_PCIE2_CONFIGINDDATA, val); in bcma_core_pcie2_cfg_write() 39 static u32 bcma_core_pcie2_war_delay_perst_enab(struct bcma_drv_pcie2 *pcie2, in bcma_core_pcie2_war_delay_perst_enab() argument 45 val = pcie2_read32(pcie2, BCMA_CORE_PCIE2_CLK_CONTROL); in bcma_core_pcie2_war_delay_perst_enab() 52 pcie2_write32(pcie2, (BCMA_CORE_PCIE2_CLK_CONTRO in bcma_core_pcie2_war_delay_perst_enab() 57 bcma_core_pcie2_set_ltr_vals(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_set_ltr_vals() argument 70 bcma_core_pcie2_hw_ltr_war(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_hw_ltr_war() argument 107 pciedev_crwlpciegen2(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2() argument 132 pciedev_crwlpciegen2_180(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2_180() argument 138 pciedev_crwlpciegen2_182(struct bcma_drv_pcie2 *pcie2) pciedev_crwlpciegen2_182() argument 144 pciedev_reg_pm_clk_period(struct bcma_drv_pcie2 *pcie2) pciedev_reg_pm_clk_period() argument 159 bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_init() argument 192 bcma_core_pcie2_up(struct bcma_drv_pcie2 *pcie2) bcma_core_pcie2_up() argument [all...] |
H A D | bcma_private.h | 142 void bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2); 143 void bcma_core_pcie2_up(struct bcma_drv_pcie2 *pcie2); 145 static inline void bcma_core_pcie2_init(struct bcma_drv_pcie2 *pcie2) in bcma_core_pcie2_init() argument 148 WARN_ON(pcie2->core->bus->hosttype == BCMA_HOSTTYPE_PCI); in bcma_core_pcie2_init()
|
/kernel/linux/linux-5.10/include/linux/bcma/ |
H A D | bcma_driver_pcie2.h | 151 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) 152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) 153 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) 154 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) 156 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2) [all...] |
/kernel/linux/linux-6.6/include/linux/bcma/ |
H A D | bcma_driver_pcie2.h | 151 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) 152 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) 153 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) 154 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) 156 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2) [all...] |