Home
last modified time | relevance | path

Searched refs:db_cfg (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/bus/mhi/host/
Dinternal.h139 struct db_cfg { struct
146 struct db_cfg *db_cfg, void __iomem *io_addr, argument
202 struct db_cfg db_cfg; member
227 struct db_cfg db_cfg; member
312 void mhi_db_brstmode(struct mhi_controller *mhi_cntrl, struct db_cfg *db_cfg,
315 struct db_cfg *db_mode, void __iomem *db_addr,
Dinit.c310 tmp |= FIELD_PREP(CHAN_CTX_BRSTMODE_MASK, mhi_chan->db_cfg.brstmode); in mhi_init_dev_ctxt()
312 tmp |= FIELD_PREP(CHAN_CTX_POLLCFG_MASK, mhi_chan->db_cfg.pollcfg); in mhi_init_dev_ctxt()
349 mhi_event->db_cfg.db_mode = true; in mhi_init_dev_ctxt()
644 mhi_chan->db_cfg.db_mode = 1; in mhi_init_chan_ctxt()
693 mhi_event->db_cfg.brstmode = event_cfg->mode; in parse_ev_cfg()
694 if (MHI_INVALID_BRSTMODE(mhi_event->db_cfg.brstmode)) in parse_ev_cfg()
697 if (mhi_event->db_cfg.brstmode == MHI_DB_BRST_ENABLE) in parse_ev_cfg()
698 mhi_event->db_cfg.process_db = mhi_db_brstmode; in parse_ev_cfg()
700 mhi_event->db_cfg.process_db = mhi_db_brstmode_disable; in parse_ev_cfg()
800 mhi_chan->db_cfg.pollcfg = ch_cfg->pollcfg; in parse_ch_cfg()
[all …]
Dmain.c94 struct db_cfg *db_cfg, in mhi_db_brstmode() argument
98 if (db_cfg->db_mode) { in mhi_db_brstmode()
99 db_cfg->db_val = db_val; in mhi_db_brstmode()
101 db_cfg->db_mode = 0; in mhi_db_brstmode()
106 struct db_cfg *db_cfg, in mhi_db_brstmode_disable() argument
110 db_cfg->db_val = db_val; in mhi_db_brstmode_disable()
118 mhi_event->db_cfg.process_db(mhi_event->mhi_cntrl, &mhi_event->db_cfg, in mhi_ring_er_db()
147 mhi_chan->db_cfg.process_db(mhi_cntrl, &mhi_chan->db_cfg, in mhi_ring_chan_db()
678 mhi_chan->db_cfg.db_mode = 1; in parse_xfer_event()
Ddebugfs.c75 &mhi_event->db_cfg.db_val); in mhi_debugfs_events_show()
124 &mhi_chan->db_cfg.db_val); in mhi_debugfs_channels_show()
Dpm.c295 if (mhi_chan->db_cfg.reset_req) { in mhi_pm_m0_transition()
297 mhi_chan->db_cfg.db_mode = true; in mhi_pm_m0_transition()