Home
last modified time | relevance | path

Searched refs:trcm (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A Dbfa_cs.h91 bfa_trc_init(struct bfa_trc_mod_s *trcm) in bfa_trc_init() argument
93 trcm->head = trcm->tail = trcm->stopped = 0; in bfa_trc_init()
94 trcm->ntrc = BFA_TRC_MAX; in bfa_trc_init()
98 bfa_trc_stop(struct bfa_trc_mod_s *trcm) in bfa_trc_stop() argument
100 trcm->stopped = 1; in bfa_trc_stop()
104 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data);
107 __bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data);
H A Dbfa_core.c71 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data) in __bfa_trc() argument
73 int tail = trcm->tail; in __bfa_trc()
74 struct bfa_trc_s *trc = &trcm->trc[tail]; in __bfa_trc()
76 if (trcm->stopped) in __bfa_trc()
82 trc->timestamp = BFA_TRC_TS(trcm); in __bfa_trc()
84 trcm->tail = (trcm->tail + 1) & (BFA_TRC_MAX - 1); in __bfa_trc()
85 if (trcm->tail == trcm->head) in __bfa_trc()
86 trcm in __bfa_trc()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A Dbfa_cs.h91 bfa_trc_init(struct bfa_trc_mod_s *trcm) in bfa_trc_init() argument
93 trcm->head = trcm->tail = trcm->stopped = 0; in bfa_trc_init()
94 trcm->ntrc = BFA_TRC_MAX; in bfa_trc_init()
98 bfa_trc_stop(struct bfa_trc_mod_s *trcm) in bfa_trc_stop() argument
100 trcm->stopped = 1; in bfa_trc_stop()
104 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data);
107 __bfa_trc32(struct bfa_trc_mod_s *trcm, int fileno, int line, u32 data);
H A Dbfa_core.c71 __bfa_trc(struct bfa_trc_mod_s *trcm, int fileno, int line, u64 data) in __bfa_trc() argument
73 int tail = trcm->tail; in __bfa_trc()
74 struct bfa_trc_s *trc = &trcm->trc[tail]; in __bfa_trc()
76 if (trcm->stopped) in __bfa_trc()
82 trc->timestamp = BFA_TRC_TS(trcm); in __bfa_trc()
84 trcm->tail = (trcm->tail + 1) & (BFA_TRC_MAX - 1); in __bfa_trc()
85 if (trcm->tail == trcm->head) in __bfa_trc()
86 trcm in __bfa_trc()
[all...]
/kernel/linux/linux-6.6/sound/soc/rockchip/
H A Drockchip_i2s_tdm.c927 u32 reg = 0, val = 0, trcm = i2s_tdm->clk_trcm; in common_soc_init() local
930 if (trcm == TRCM_TXRX) in common_soc_init()
943 if (trcm == TRCM_TX) in common_soc_init()
1241 if (of_property_read_bool(node, "rockchip,trcm-sync-tx-only")) in rockchip_i2s_tdm_probe()
1243 if (of_property_read_bool(node, "rockchip,trcm-sync-rx-only")) { in rockchip_i2s_tdm_probe()
1245 dev_err(i2s_tdm->dev, "invalid trcm-sync configuration\n"); in rockchip_i2s_tdm_probe()

Completed in 6 milliseconds