Lines Matching defs:gpii

486 	struct gpii *gpii;  member
497 struct gpii { struct
498 u32 gpii_id; argument
499 struct gchan gchan[MAX_CHANNELS_PER_GPII];
500 struct gpi_dev *gpi_dev;
501 int irq;
502 void __iomem *regs; /* points to gpi top */
503 void __iomem *ev_cntxt_base_reg;
504 void __iomem *ev_cntxt_db_reg;
505 void __iomem *ev_ring_rp_lsb_reg;
506 void __iomem *ev_cmd_reg;
507 void __iomem *ieob_clr_reg;
508 struct mutex ctrl_lock;
509 enum gpi_ev_state ev_state;
510 bool configured_irq;
511 enum gpi_pm_state pm_state;
512 rwlock_t pm_lock;
513 struct gpi_ring ev_ring;
514 struct tasklet_struct ev_task; /* event processing tasklet */
515 struct completion cmd_completion;
539 static void gpi_process_events(struct gpii *gpii); argument
562 static inline u32 gpi_read_reg(struct gpii *gpii, void __iomem *addr) in gpi_read_reg()
567 static inline void gpi_write_reg(struct gpii *gpii, void __iomem *addr, u32 val) in gpi_write_reg()
573 static inline void gpi_write_reg_field(struct gpii *gpii, void __iomem *addr, in gpi_write_reg_field()
584 gpi_update_reg(struct gpii *gpii, u32 offset, u32 mask, u32 val) in gpi_update_reg()
595 static void gpi_disable_interrupts(struct gpii *gpii) in gpi_disable_interrupts()
618 static int gpi_config_interrupts(struct gpii *gpii, enum gpii_irq_settings settings, bool mask) in gpi_config_interrupts()
682 static int gpi_send_cmd(struct gpii *gpii, struct gchan *gchan, in gpi_send_cmd()
731 struct gpii *gpii = gchan->gpii; in gpi_write_ch_db() local
739 static inline void gpi_write_ev_db(struct gpii *gpii, in gpi_write_ev_db()
749 static void gpi_process_ieob(struct gpii *gpii) in gpi_process_ieob()
758 static void gpi_process_ch_ctrl_irq(struct gpii *gpii) in gpi_process_ch_ctrl_irq()
799 static void gpi_process_gen_err_irq(struct gpii *gpii) in gpi_process_gen_err_irq()
814 static void gpi_process_glob_err_irq(struct gpii *gpii) in gpi_process_glob_err_irq()
836 struct gpii *gpii = data; in gpi_handle_irq() local
928 struct gpii *gpii = gchan->gpii; in gpi_process_imed_data_event() local
1010 struct gpii *gpii = gchan->gpii; in gpi_process_xfer_compl_event() local
1086 static void gpi_process_events(struct gpii *gpii) in gpi_process_events()
1147 struct gpii *gpii = (struct gpii *)data; in gpi_ev_tasklet() local
1168 struct gpii *gpii = gchan->gpii; in gpi_mark_stale_events() local
1194 struct gpii *gpii = gchan->gpii; in gpi_reset_chan() local
1229 struct gpii *gpii = gchan->gpii; in gpi_start_chan() local
1249 struct gpii *gpii = gchan->gpii; in gpi_stop_chan() local
1265 struct gpii *gpii = chan->gpii; in gpi_alloc_chan() local
1302 static int gpi_alloc_ev_chan(struct gpii *gpii) in gpi_alloc_ev_chan()
1393 struct gpii *gpii) in gpi_free_ring()
1402 u32 el_size, struct gpii *gpii) in gpi_alloc_ring()
1450 static void gpi_queue_xfer(struct gpii *gpii, struct gchan *gchan, in gpi_queue_xfer()
1472 struct gpii *gpii = gchan->gpii; in gpi_terminate_all() local
1536 struct gpii *gpii = gchan->gpii; in gpi_pause() local
1577 struct gpii *gpii = gchan->gpii; in gpi_resume() local
1808 struct gpii *gpii = gchan->gpii; in gpi_prep_slave_sg() local
1868 struct gpii *gpii = gchan->gpii; in gpi_issue_pending() local
1904 struct gpii *gpii = gchan->gpii; in gpi_ch_init() local
1988 struct gpii *gpii = gchan->gpii; in gpi_free_chan_resources() local
2058 struct gpii *gpii = gchan->gpii; in gpi_alloc_chan_resources() local
2083 unsigned int gpii; in gpi_find_avail_gpii() local
2126 int gpii; in gpi_of_dma_xlate() local
2213 struct gpii *gpii = &gpi_dev->gpiis[i]; in gpi_probe() local