Home
last modified time | relevance | path

Searched refs:trc (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/scsi/snic/
Dsnic_trc.c18 struct snic_trc *trc = &snic_glob->trc; in snic_get_trc_buf() local
22 spin_lock_irqsave(&trc->lock, flags); in snic_get_trc_buf()
23 td = &trc->buf[trc->wr_idx]; in snic_get_trc_buf()
24 trc->wr_idx++; in snic_get_trc_buf()
26 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf()
27 trc->wr_idx = 0; in snic_get_trc_buf()
29 if (trc->wr_idx != trc->rd_idx) { in snic_get_trc_buf()
30 spin_unlock_irqrestore(&trc->lock, flags); in snic_get_trc_buf()
35 trc->rd_idx++; in snic_get_trc_buf()
36 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf()
[all …]
Dsnic_debugfs.c384 return &snic_glob->trc; in snic_trc_seq_start()
428 snic_glob->trc_root, &snic_glob->trc.enable); in snic_trc_debugfs_init()
Dsnic_trc.h68 if (unlikely(snic_glob->trc.enable)) \
Dsnic.h353 struct snic_trc trc ____cacheline_aligned;
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-mei84 What: /sys/class/mei/mei<N>/trc
88 Description: Display trc status register content
91 status information into trc status register
/linux-6.6.21/drivers/video/fbdev/
Dmetronomefb.c136 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-6.6.21/drivers/scsi/esas2r/
Desas2r_ioctl.c914 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->contents, in hba_ioctl_callback()
954 } else if (trc->trace_func == ATTO_TRC_TF_RESET) { in hba_ioctl_callback()
959 } else if (trc->trace_func != ATTO_TRC_TF_GET_INFO) { in hba_ioctl_callback()
965 trc->trace_mask = 0; in hba_ioctl_callback()
966 trc->current_offset = 0; in hba_ioctl_callback()
967 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback()
[all …]
/linux-6.6.21/drivers/misc/mei/
Dmei_dev.h357 int (*trc_status)(struct mei_device *dev, u32 *trc);
816 static inline int mei_trc_status(struct mei_device *dev, u32 *trc) in mei_trc_status() argument
819 return dev->ops->trc_status(dev, trc); in mei_trc_status()
Dmain.c938 u32 trc; in trc_show() local
941 ret = mei_trc_status(dev, &trc); in trc_show()
944 return sprintf(buf, "%08X\n", trc); in trc_show()
946 static DEVICE_ATTR_RO(trc);
Dhw-me.c184 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status() argument
191 *trc = mei_me_reg_read(hw, ME_TRC); in mei_me_trc_status()
192 trace_mei_reg_read(dev->dev, "ME_TRC", ME_TRC, *trc); in mei_me_trc_status()
/linux-6.6.21/drivers/platform/x86/
Dintel_ips.c1444 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-6.6.21/drivers/scsi/bfa/
Dbfa_core.c74 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()
Dbfa_cs.h65 struct bfa_trc_s trc[BFA_TRC_MAX]; member
/linux-6.6.21/arch/arm/boot/dts/ti/keystone/
Dkeystone-clocks.dtsi196 clock-output-names = "debugss-trc";
206 clock-output-names = "tetb-trc";
/linux-6.6.21/security/
Dsecurity.c1188 int trc; in security_fs_context_parse_param() local
1193 trc = hp->hook.fs_context_parse_param(fc, param); in security_fs_context_parse_param()
1194 if (trc == 0) in security_fs_context_parse_param()
1196 else if (trc != -ENOPARAM) in security_fs_context_parse_param()
1197 return trc; in security_fs_context_parse_param()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h215 struct bw_fixed trc; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c1126 …her_total_pte_request_groups), data->cursor_total_request_groups)), vbios->trc), bw_int_to_fixed(1… in calculate_bandwidth()
1127 …v(bw_mul(data->mcifwr_total_number_of_data_request_page_close_open, vbios->trc), bw_int_to_fixed(1… in calculate_bandwidth()
2090 vbios->trc = bw_int_to_fixed(50); in bw_calcs_init()
2206 vbios->trc = bw_int_to_fixed(48); in bw_calcs_init()
2319 vbios->trc = bw_int_to_fixed(48); in bw_calcs_init()
2435 vbios->trc = bw_int_to_fixed(48); in bw_calcs_init()
2551 vbios->trc = bw_int_to_fixed(50); in bw_calcs_init()
2664 vbios->trc = bw_int_to_fixed(48); in bw_calcs_init()
Dcalcs_logger.h159 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] trc: %d", bw_fixed_to_int(vbios->trc)); in print_bw_calcs_vbios()