Searched refs:trc (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/drivers/scsi/snic/ |
D | snic_trc.c | 32 struct snic_trc *trc = &snic_glob->trc; in snic_get_trc_buf() local 36 spin_lock_irqsave(&trc->lock, flags); in snic_get_trc_buf() 37 td = &trc->buf[trc->wr_idx]; in snic_get_trc_buf() 38 trc->wr_idx++; in snic_get_trc_buf() 40 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf() 41 trc->wr_idx = 0; in snic_get_trc_buf() 43 if (trc->wr_idx != trc->rd_idx) { in snic_get_trc_buf() 44 spin_unlock_irqrestore(&trc->lock, flags); in snic_get_trc_buf() 49 trc->rd_idx++; in snic_get_trc_buf() 50 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf() [all …]
|
D | snic_debugfs.c | 416 return &snic_glob->trc; in snic_trc_seq_start() 469 snic_glob->trc.trc_enable = debugfs_create_bool("tracing_enable", in snic_trc_debugfs_init() 472 &snic_glob->trc.enable); in snic_trc_debugfs_init() 474 snic_glob->trc.trc_file = debugfs_create_file("trace", in snic_trc_debugfs_init() 486 debugfs_remove(snic_glob->trc.trc_file); in snic_trc_debugfs_term() 487 snic_glob->trc.trc_file = NULL; in snic_trc_debugfs_term() 489 debugfs_remove(snic_glob->trc.trc_enable); in snic_trc_debugfs_term() 490 snic_glob->trc.trc_enable = NULL; in snic_trc_debugfs_term()
|
D | snic_trc.h | 85 if (unlikely(snic_glob->trc.enable)) \
|
D | snic.h | 367 struct snic_trc trc ____cacheline_aligned;
|
/Linux-v5.4/drivers/video/fbdev/ |
D | metronomefb.c | 136 u8 trc; member 212 wfm_hdr->trc += 1; in load_waveform() 224 if ((sizeof(*wfm_hdr) + wfm_hdr->trc) > size) in load_waveform() 227 for (i = sizeof(*wfm_hdr); i <= sizeof(*wfm_hdr) + wfm_hdr->trc; i++) { in load_waveform() 235 cksum_idx = sizeof(*wfm_hdr) + wfm_hdr->trc + 1; in load_waveform()
|
/Linux-v5.4/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 914 struct atto_hba_trace *trc = &hi->data.trace; in hba_ioctl_callback() local 929 if (trc->trace_type == ATTO_TRC_TT_FWCOREDUMP in hba_ioctl_callback() 931 if (trc->trace_func == ATTO_TRC_TF_UPLOAD) { in hba_ioctl_callback() 933 u32 offset = trc->current_offset; in hba_ioctl_callback() 950 memcpy(trc + 1, in hba_ioctl_callback() 955 } else if (trc->trace_func == ATTO_TRC_TF_RESET) { in hba_ioctl_callback() 960 } else if (trc->trace_func != ATTO_TRC_TF_GET_INFO) { in hba_ioctl_callback() 966 trc->trace_mask = 0; in hba_ioctl_callback() 967 trc->current_offset = 0; in hba_ioctl_callback() 968 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback() [all …]
|
/Linux-v5.4/drivers/platform/x86/ |
D | intel_ips.c | 1444 u16 htshi, trc, trc_required_mask; in ips_probe() local 1484 trc = thm_readw(THM_TRC); in ips_probe() 1486 if ((trc & trc_required_mask) != trc_required_mask) { in ips_probe() 1491 if (trc & TRC_CORE2_EN) in ips_probe()
|
/Linux-v5.4/drivers/scsi/bfa/ |
D | bfa_core.c | 74 struct bfa_trc_s *trc = &trcm->trc[tail]; in __bfa_trc() local 79 trc->fileno = (u16) fileno; in __bfa_trc() 80 trc->line = (u16) line; in __bfa_trc() 81 trc->data.u64 = data; in __bfa_trc() 82 trc->timestamp = BFA_TRC_TS(trcm); in __bfa_trc()
|
D | bfa_cs.h | 65 struct bfa_trc_s trc[BFA_TRC_MAX]; member
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | keystone-clocks.dtsi | 196 clock-output-names = "debugss-trc"; 206 clock-output-names = "tetb-trc";
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 215 struct bw_fixed trc; member
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 1115 …her_total_pte_request_groups), data->cursor_total_request_groups)), vbios->trc), bw_int_to_fixed(1… in calculate_bandwidth() 1116 …v(bw_mul(data->mcifwr_total_number_of_data_request_page_close_open, vbios->trc), bw_int_to_fixed(1… in calculate_bandwidth() 2064 vbios.trc = bw_int_to_fixed(50); in bw_calcs_init() 2180 vbios.trc = bw_int_to_fixed(48); in bw_calcs_init() 2293 vbios.trc = bw_int_to_fixed(48); in bw_calcs_init() 2409 vbios.trc = bw_int_to_fixed(48); in bw_calcs_init() 2525 vbios.trc = bw_int_to_fixed(50); in bw_calcs_init() 2638 vbios.trc = bw_int_to_fixed(48); in bw_calcs_init()
|
D | calcs_logger.h | 159 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] trc: %d", bw_fixed_to_int(vbios->trc)); in print_bw_calcs_vbios()
|