Searched refs:mtc (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/arch/mips/kernel/ |
D | mips-mt.c | 304 struct class *mtc; in mt_init() local 306 mtc = class_create(THIS_MODULE, "mt"); in mt_init() 307 if (IS_ERR(mtc)) in mt_init() 308 return PTR_ERR(mtc); in mt_init() 310 mt_class = mtc; in mt_init()
|
/linux-4.4.14/drivers/scsi/ |
D | st.c | 3441 struct mtop mtc; in st_ioctl() local 3443 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in st_ioctl() 3448 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl() 3454 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl() 3461 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl() 3462 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl() 3470 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl() 3471 mtc.mt_op == MTEOM) { in st_ioctl() 3472 mtc.mt_count -= 1; in st_ioctl() 3475 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl() [all …]
|
D | osst.c | 4983 struct mtop mtc; in osst_ioctl() local 4986 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in osst_ioctl() 4991 i = copy_from_user((char *) &mtc, p, sizeof(struct mtop)); in osst_ioctl() 4997 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in osst_ioctl() 5003 if (!STm->defined && (mtc.mt_op != MTSETDRVBUFFER && (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in osst_ioctl() 5011 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM|| mtc.mt_op == MTEOM) { in osst_ioctl() 5012 mtc.mt_count -= 1; in osst_ioctl() 5016 else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in osst_ioctl() 5017 mtc.mt_count += 1; in osst_ioctl() 5023 if (mtc.mt_op == MTSEEK) { in osst_ioctl() [all …]
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | digsy_mtc.dts | 20 model = "intercontrol,digsy-mtc"; 21 compatible = "intercontrol,digsy-mtc";
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 598 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; in intel_pt_calc_cyc_cb() local 619 mtc = pkt_info->packet.payload; in intel_pt_calc_cyc_cb() 620 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb() 621 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb() 623 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb() 625 data->last_mtc = mtc; in intel_pt_calc_cyc_cb() 1251 uint32_t mtc, mtc_delta; in intel_pt_calc_mtc_timestamp() local 1256 mtc = decoder->packet.payload; in intel_pt_calc_mtc_timestamp() 1258 if (mtc > decoder->last_mtc) in intel_pt_calc_mtc_timestamp() 1259 mtc_delta = mtc - decoder->last_mtc; in intel_pt_calc_mtc_timestamp() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | Kconfig | 25 intercontrol,digsy-mtc
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | intel-pt.c | 193 int mtc, mtc_periods = 0, mtc_period; in intel_pt_default_config() local 201 &mtc) != 1) in intel_pt_default_config() 202 mtc = 1; in intel_pt_default_config() 204 if (mtc) { in intel_pt_default_config()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_pt.c | 69 PT_CAP(mtc, 0, CR_EBX, BIT(3)), 104 PMU_FORMAT_ATTR(mtc, "config:9" );
|
/linux-4.4.14/tools/perf/Documentation/ |
D | intel-pt.txt | 155 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9 278 mtc Produces MTC timing packets. 286 /sys/bus/event_source/devices/intel_pt/caps/mtc 294 mtc_period Specifies how frequently MTC packets are produced - see mtc
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.megaraid | 197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]
|