Searched refs:mport (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/sysdev/ |
D | fsl_rio.h | 34 #define RIO_REGS_WIN(mport) (((struct rio_priv *)(mport->priv))->regs_win) argument 92 struct rio_mport *mport[MAX_PORT_NUM]; member 127 extern int fsl_rio_setup_rmu(struct rio_mport *mport, 130 extern int fsl_rio_pw_enable(struct rio_mport *mport, int enable); 134 extern int fsl_rio_doorbell_send(struct rio_mport *mport, 136 extern int fsl_add_outb_message(struct rio_mport *mport, 139 extern int fsl_open_outb_mbox(struct rio_mport *mport, 141 extern void fsl_close_outb_mbox(struct rio_mport *mport, int mbox); 142 extern int fsl_open_inb_mbox(struct rio_mport *mport, 144 extern void fsl_close_inb_mbox(struct rio_mport *mport, int mbox); [all …]
|
D | fsl_rmu.c | 36 #define GET_RMM_HANDLE(mport) \ argument 37 (((struct rio_priv *)(mport->priv))->rmm_handle) 328 if (fsl_dbell->mport[i]) { in fsl_rio_dbell_handler() 330 &fsl_dbell->mport[i]->dbells, node) { in fsl_rio_dbell_handler() 340 dbell->dinb(fsl_dbell->mport[i], in fsl_rio_dbell_handler() 516 int fsl_rio_pw_enable(struct rio_mport *mport, int enable) in fsl_rio_pw_enable() argument 622 int fsl_rio_doorbell_send(struct rio_mport *mport, in fsl_rio_doorbell_send() argument 652 fsl_add_outb_message(struct rio_mport *mport, struct rio_dev *rdev, int mbox, in fsl_add_outb_message() argument 655 struct fsl_rmu *rmu = GET_RMM_HANDLE(mport); in fsl_add_outb_message() 679 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message() [all …]
|
D | fsl_rio.c | 137 static int fsl_local_config_read(struct rio_mport *mport, in fsl_local_config_read() argument 140 struct rio_priv *priv = mport->priv; in fsl_local_config_read() 159 static int fsl_local_config_write(struct rio_mport *mport, in fsl_local_config_write() argument 162 struct rio_priv *priv = mport->priv; in fsl_local_config_write() 185 fsl_rio_config_read(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_read() argument 188 struct rio_priv *priv = mport->priv; in fsl_rio_config_read() 245 fsl_rio_config_write(struct rio_mport *mport, int index, u16 destid, in fsl_rio_config_write() argument 248 struct rio_priv *priv = mport->priv; in fsl_rio_config_write() 291 int fsl_map_inb_mem(struct rio_mport *mport, dma_addr_t lstart, in fsl_map_inb_mem() argument 294 struct rio_priv *priv = mport->priv; in fsl_map_inb_mem() [all …]
|