Home
last modified time | relevance | path

Searched refs:plog (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/scsi/bfa/
H A Dbfa_plog.h136 void bfa_plog_init(struct bfa_plog_s *plog);
137 void bfa_plog_str(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
139 void bfa_plog_intarr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
142 void bfa_plog_fchdr(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
144 void bfa_plog_fchdr_and_pl(struct bfa_plog_s *plog, enum bfa_plog_mid mid,
H A Dbfa_svc.c270 bfa_plog_add(struct bfa_plog_s *plog, struct bfa_plog_rec_s *pl_rec) in bfa_plog_add() argument
275 if (plog->plog_enabled == 0) in bfa_plog_add()
283 tail = plog->tail; in bfa_plog_add()
285 pl_recp = &(plog->plog_recs[tail]); in bfa_plog_add()
290 BFA_PL_LOG_REC_INCR(plog->tail); in bfa_plog_add()
292 if (plog->head == plog->tail) in bfa_plog_add()
293 BFA_PL_LOG_REC_INCR(plog->head); in bfa_plog_add()
297 bfa_plog_init(struct bfa_plog_s *plog) in bfa_plog_init() argument
299 memset((char *)plog, in bfa_plog_init()
307 bfa_plog_str(struct bfa_plog_s * plog,enum bfa_plog_mid mid,enum bfa_plog_eid event,u16 misc,char * log_str) bfa_plog_str() argument
327 bfa_plog_intarr(struct bfa_plog_s * plog,enum bfa_plog_mid mid,enum bfa_plog_eid event,u16 misc,u32 * intarr,u32 num_ints) bfa_plog_intarr() argument
354 bfa_plog_fchdr(struct bfa_plog_s * plog,enum bfa_plog_mid mid,enum bfa_plog_eid event,u16 misc,struct fchs_s * fchdr) bfa_plog_fchdr() argument
371 bfa_plog_fchdr_and_pl(struct bfa_plog_s * plog,enum bfa_plog_mid mid,enum bfa_plog_eid event,u16 misc,struct fchs_s * fchdr,u32 pld_w0) bfa_plog_fchdr_and_pl() argument
[all...]
H A Dbfa_modules.h60 struct bfa_plog_s *plog; /* portlog buffer */ member
H A Dbfa_core.c1669 bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0, in bfa_iocfc_enable()
1678 bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0, in bfa_iocfc_disable()
H A Dbfad.c826 bfad->bfa.plog = &bfad->plog_buf; in bfad_drv_init()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_umsch_mm.c455 volatile struct amdgpu_umsch_fwlog *plog; in amdgpu_debugfs_umsch_fwlog_read() local
468 plog = (volatile struct amdgpu_umsch_fwlog *)log_buf; in amdgpu_debugfs_umsch_fwlog_read()
469 read_pos = plog->rptr; in amdgpu_debugfs_umsch_fwlog_read()
470 write_pos = plog->wptr; in amdgpu_debugfs_umsch_fwlog_read()
483 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_umsch_fwlog_read()
485 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_umsch_fwlog_read()
495 read_pos = plog->header_size; in amdgpu_debugfs_umsch_fwlog_read()
505 plog->rptr = read_pos; in amdgpu_debugfs_umsch_fwlog_read()
H A Damdgpu_vcn.c1135 volatile struct amdgpu_vcn_fwlog *plog; in amdgpu_debugfs_vcn_fwlog_read() local
1148 plog = (volatile struct amdgpu_vcn_fwlog *)log_buf; in amdgpu_debugfs_vcn_fwlog_read()
1149 read_pos = plog->rptr; in amdgpu_debugfs_vcn_fwlog_read()
1150 write_pos = plog->wptr; in amdgpu_debugfs_vcn_fwlog_read()
1163 available = read_num[0] + write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
1165 read_num[1] = write_pos - plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
1175 read_pos = plog->header_size; in amdgpu_debugfs_vcn_fwlog_read()
1185 plog->rptr = read_pos; in amdgpu_debugfs_vcn_fwlog_read()