/linux/kernel/trace/ |
H A D | trace_fprobe.c | 215 static bool trace_fprobe_is_return(struct trace_fprobe *tf) in trace_fprobe_is_return() argument 217 return tf->fp.exit_handler != NULL; in trace_fprobe_is_return() 220 static bool trace_fprobe_is_tracepoint(struct trace_fprobe *tf) in trace_fprobe_is_tracepoint() argument 222 return tf->tprobe; in trace_fprobe_is_tracepoint() 225 static const char *trace_fprobe_symbol(struct trace_fprobe *tf) in trace_fprobe_symbol() argument 227 return tf->symbol ? tf->symbol : "unknown"; in trace_fprobe_symbol() 232 struct trace_fprobe *tf = to_trace_fprobe(ev); in trace_fprobe_is_busy() local 234 return trace_probe_is_enabled(&tf->tp); in trace_fprobe_is_busy() 237 static bool trace_fprobe_match_command_head(struct trace_fprobe *tf, in trace_fprobe_match_command_head() argument 256 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_match() local 267 trace_fprobe_is_registered(struct trace_fprobe * tf) trace_fprobe_is_registered() argument 351 fentry_trace_func(struct trace_fprobe * tf,unsigned long entry_ip,struct ftrace_regs * fregs) fentry_trace_func() argument 396 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); trace_fprobe_entry_handler() local 438 fexit_trace_func(struct trace_fprobe * tf,unsigned long entry_ip,unsigned long ret_ip,struct ftrace_regs * fregs,void * entry_data) fexit_trace_func() argument 450 fentry_perf_func(struct trace_fprobe * tf,unsigned long entry_ip,struct ftrace_regs * fregs) fentry_perf_func() argument 485 fexit_perf_func(struct trace_fprobe * tf,unsigned long entry_ip,unsigned long ret_ip,struct ftrace_regs * fregs,void * entry_data) fexit_perf_func() argument 524 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); fentry_dispatcher() local 542 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); fexit_dispatcher() local 553 free_trace_fprobe(struct trace_fprobe * tf) free_trace_fprobe() argument 606 struct trace_fprobe *tf; find_trace_fprobe() local 736 init_trace_event_call(struct trace_fprobe * tf) init_trace_event_call() argument 752 register_fprobe_event(struct trace_fprobe * tf) register_fprobe_event() argument 759 unregister_fprobe_event(struct trace_fprobe * tf) unregister_fprobe_event() argument 764 __regsiter_tracepoint_fprobe(struct trace_fprobe * tf) __regsiter_tracepoint_fprobe() argument 798 trace_fprobe_verify_target(struct trace_fprobe * tf) trace_fprobe_verify_target() argument 815 __register_trace_fprobe(struct trace_fprobe * tf) __register_trace_fprobe() argument 843 __unregister_trace_fprobe(struct trace_fprobe * tf) __unregister_trace_fprobe() argument 855 unregister_trace_fprobe(struct trace_fprobe * tf) unregister_trace_fprobe() argument 909 append_trace_fprobe_event(struct trace_fprobe * tf,struct trace_fprobe * to) append_trace_fprobe_event() argument 947 register_trace_fprobe_event(struct trace_fprobe * tf) register_trace_fprobe_event() argument 1109 struct trace_fprobe *tf; __tprobe_event_module_cb() local 1422 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_release() local 1432 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_show() local 1460 struct trace_fprobe *tf; enable_trace_fprobe() local 1495 struct trace_fprobe *tf; disable_trace_fprobe() local [all...] |
/linux/drivers/ata/ |
H A D | sata_promise.h | 28 static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf, in pdc_pkt_header() argument 38 switch (tf->protocol) { in pdc_pkt_header() 40 if (!(tf->flags & ATA_TFLAG_WRITE)) in pdc_pkt_header() 69 buf[15] = tf->ctl; in pdc_pkt_header() 74 static inline unsigned int pdc_pkt_footer(struct ata_taskfile *tf, u8 *buf, in pdc_pkt_footer() argument 77 if (tf->flags & ATA_TFLAG_DEVICE) { in pdc_pkt_footer() 79 buf[i++] = tf->device; in pdc_pkt_footer() 84 buf[i++] = tf->command; in pdc_pkt_footer() 89 static inline unsigned int pdc_prep_lba28(struct ata_taskfile *tf, u8 *buf, unsigned int i) in pdc_prep_lba28() argument 95 buf[i++] = tf in pdc_prep_lba28() 112 pdc_prep_lba48(struct ata_taskfile * tf,u8 * buf,unsigned int i) pdc_prep_lba48() argument [all...] |
H A D | libata-acpi.c | 33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */ member 551 struct ata_taskfile *tf) in ata_acpi_gtf_to_tf() argument 553 ata_tf_init(dev, tf); in ata_acpi_gtf_to_tf() 555 tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in ata_acpi_gtf_to_tf() 556 tf->protocol = ATA_PROT_NODATA; in ata_acpi_gtf_to_tf() 557 tf->error = gtf->tf[0]; /* 0x1f1 */ in ata_acpi_gtf_to_tf() 558 tf->nsect = gtf->tf[1]; /* 0x1f2 */ in ata_acpi_gtf_to_tf() 559 tf in ata_acpi_gtf_to_tf() 567 ata_acpi_filter_tf(struct ata_device * dev,const struct ata_taskfile * tf,const struct ata_taskfile * ptf) ata_acpi_filter_tf() argument 651 struct ata_taskfile tf, ptf, rtf; ata_acpi_run_tf() local [all...] |
H A D | sata_vsc.c | 142 static void vsc_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in vsc_sata_tf_load() argument 145 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in vsc_sata_tf_load() 153 if ((tf->ctl & ATA_NIEN) != (ap->last_ctl & ATA_NIEN)) { in vsc_sata_tf_load() 154 ap->last_ctl = tf->ctl; in vsc_sata_tf_load() 155 vsc_intr_mask_update(ap, tf->ctl & ATA_NIEN); in vsc_sata_tf_load() 157 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in vsc_sata_tf_load() 158 writew(tf->feature | (((u16)tf->hob_feature) << 8), in vsc_sata_tf_load() 160 writew(tf->nsect | (((u16)tf in vsc_sata_tf_load() 183 vsc_sata_tf_read(struct ata_port * ap,struct ata_taskfile * tf) vsc_sata_tf_read() argument [all...] |
H A D | sata_svw.c | 159 static void k2_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in k2_sata_tf_load() argument 162 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in k2_sata_tf_load() 164 if (tf->ctl != ap->last_ctl) { in k2_sata_tf_load() 165 writeb(tf->ctl, ioaddr->ctl_addr); in k2_sata_tf_load() 166 ap->last_ctl = tf->ctl; in k2_sata_tf_load() 169 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in k2_sata_tf_load() 170 writew(tf->feature | (((u16)tf->hob_feature) << 8), in k2_sata_tf_load() 172 writew(tf->nsect | (((u16)tf in k2_sata_tf_load() 195 k2_sata_tf_read(struct ata_port * ap,struct ata_taskfile * tf) k2_sata_tf_read() argument [all...] |
H A D | libata-scsi.c | 251 struct ata_taskfile *tf = &qc->result_tf; in ata_scsi_set_passthru_sense_fields() local 279 desc[3] = tf->error; in ata_scsi_set_passthru_sense_fields() 280 desc[5] = tf->nsect; in ata_scsi_set_passthru_sense_fields() 281 desc[7] = tf->lbal; in ata_scsi_set_passthru_sense_fields() 282 desc[9] = tf->lbam; in ata_scsi_set_passthru_sense_fields() 283 desc[11] = tf->lbah; in ata_scsi_set_passthru_sense_fields() 284 desc[12] = tf->device; in ata_scsi_set_passthru_sense_fields() 285 desc[13] = tf->status; in ata_scsi_set_passthru_sense_fields() 291 if (tf->flags & ATA_TFLAG_LBA48) { in ata_scsi_set_passthru_sense_fields() 293 desc[4] = tf->hob_nsect; in ata_scsi_set_passthru_sense_fields() [all …]
|
H A D | pata_ns87415.c | 123 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in ns87415_bmdma_setup() 140 ap->ops->sff_exec_command(ap, &qc->tf); in ns87415_bmdma_setup() 255 * @tf: ATA taskfile register set for storing input 258 * into @tf. Work around the 87560 bugs. 263 static void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf) in ns87560_tf_read() argument 267 tf->status = ns87560_check_status(ap); in ns87560_tf_read() 268 tf->error = ioread8(ioaddr->error_addr); in ns87560_tf_read() 269 tf->nsect = ioread8(ioaddr->nsect_addr); in ns87560_tf_read() 270 tf->lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read() 271 tf in ns87560_tf_read() [all...] |
H A D | pata_octeon_cf.c | 379 static void octeon_cf_tf_read16(struct ata_port *ap, struct ata_taskfile *tf) in octeon_cf_tf_read16() argument 386 tf->error = blob >> 8; in octeon_cf_tf_read16() 389 tf->nsect = blob & 0xff; in octeon_cf_tf_read16() 390 tf->lbal = blob >> 8; in octeon_cf_tf_read16() 393 tf->lbam = blob & 0xff; in octeon_cf_tf_read16() 394 tf->lbah = blob >> 8; in octeon_cf_tf_read16() 397 tf->device = blob & 0xff; in octeon_cf_tf_read16() 398 tf->status = blob >> 8; in octeon_cf_tf_read16() 400 if (tf->flags & ATA_TFLAG_LBA48) { in octeon_cf_tf_read16() 402 iowrite8(tf in octeon_cf_tf_read16() 462 octeon_cf_tf_load16(struct ata_port * ap,const struct ata_taskfile * tf) octeon_cf_tf_load16() argument 498 octeon_cf_exec_command16(struct ata_port * ap,const struct ata_taskfile * tf) octeon_cf_exec_command16() argument [all...] |
H A D | libata-core.c | 597 * @tf: taskfile to examine and configure 599 * Examine the device configuration and tf->flags to determine 600 * the proper read/write command and protocol to use for @tf. 606 struct ata_taskfile *tf) in ata_set_rwcmd_protocol() argument 612 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_set_rwcmd_protocol() 613 lba48 = (tf->flags & ATA_TFLAG_LBA48) ? 2 : 0; in ata_set_rwcmd_protocol() 614 write = (tf->flags & ATA_TFLAG_WRITE) ? 1 : 0; in ata_set_rwcmd_protocol() 617 tf->protocol = ATA_PROT_PIO; in ata_set_rwcmd_protocol() 621 tf->protocol = ATA_PROT_PIO; in ata_set_rwcmd_protocol() 624 tf in ata_set_rwcmd_protocol() 652 ata_tf_read_block(const struct ata_taskfile * tf,struct ata_device * dev) ata_tf_read_block() argument 691 struct ata_taskfile *tf = &qc->tf; ata_set_tf_cdl() local 729 struct ata_taskfile *tf = &qc->tf; ata_build_rw_tf() local 1046 ata_dev_classify(const struct ata_taskfile * tf) ata_dev_classify() argument 1170 ata_tf_to_lba48(const struct ata_taskfile * tf) ata_tf_to_lba48() argument 1184 ata_tf_to_lba(const struct ata_taskfile * tf) ata_tf_to_lba() argument 1211 struct ata_taskfile tf; ata_read_native_max_address() local 1262 struct ata_taskfile tf; ata_set_max_sectors() local 1522 ata_exec_internal(struct ata_device * dev,struct ata_taskfile * tf,const u8 * cdb,enum dma_data_direction dma_dir,void * buf,unsigned int buflen,unsigned int timeout) ata_exec_internal() argument 1735 ata_do_dev_read_id(struct ata_device * dev,struct ata_taskfile * tf,__le16 * id) ata_do_dev_read_id() argument 1768 struct ata_taskfile tf; ata_dev_read_id() local 1949 ata_dev_power_init_tf(struct ata_device * dev,struct ata_taskfile * tf,bool set_active) ata_dev_power_init_tf() argument 1980 struct ata_taskfile tf; ata_dev_power_is_active() local 2018 struct ata_taskfile tf; ata_dev_power_set_standby() local 2064 struct ata_taskfile tf; ata_dev_power_set_active() local 2109 struct ata_taskfile tf; ata_read_log_page() local 4516 struct ata_taskfile tf; ata_dev_set_xfermode() local 4561 struct ata_taskfile tf; ata_dev_set_feature() local 4597 struct ata_taskfile tf; ata_dev_init_params() local [all...] |
H A D | libata-sff.c | 335 * @tf: ATA taskfile register set 342 void ata_sff_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in ata_sff_tf_load() argument 345 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in ata_sff_tf_load() 347 if (tf->ctl != ap->last_ctl) { in ata_sff_tf_load() 349 iowrite8(tf->ctl, ioaddr->ctl_addr); in ata_sff_tf_load() 350 ap->last_ctl = tf->ctl; in ata_sff_tf_load() 354 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in ata_sff_tf_load() 356 iowrite8(tf->hob_feature, ioaddr->feature_addr); in ata_sff_tf_load() 357 iowrite8(tf->hob_nsect, ioaddr->nsect_addr); in ata_sff_tf_load() 358 iowrite8(tf in ata_sff_tf_load() 391 ata_sff_tf_read(struct ata_port * ap,struct ata_taskfile * tf) ata_sff_tf_read() argument 430 ata_sff_exec_command(struct ata_port * ap,const struct ata_taskfile * tf) ata_sff_exec_command() argument 451 ata_tf_to_host(struct ata_port * ap,const struct ata_taskfile * tf,unsigned int tag) ata_tf_to_host() argument 1750 struct ata_taskfile tf; ata_sff_dev_classify() local [all...] |
H A D | sata_inic162x.c | 416 qc ? qc->tf.command : 0xff, irq_stat, idma_stat); in inic_host_intr() 464 if (qc->tf.flags & ATA_TFLAG_WRITE) in inic_fill_sg() 467 if (ata_is_dma(qc->tf.protocol)) in inic_fill_sg() 487 bool is_atapi = ata_is_atapi(qc->tf.protocol); in inic_qc_prep() 488 bool is_data = ata_is_data(qc->tf.protocol); in inic_qc_prep() 504 cpb->device = qc->tf.device; in inic_qc_prep() 505 cpb->feature = qc->tf.feature; in inic_qc_prep() 506 cpb->nsect = qc->tf.nsect; in inic_qc_prep() 507 cpb->lbal = qc->tf.lbal; in inic_qc_prep() 508 cpb->lbam = qc->tf in inic_qc_prep() 556 inic_tf_read(struct ata_port * ap,struct ata_taskfile * tf) inic_tf_read() argument 572 struct ata_taskfile tf; inic_qc_fill_rtf() local 643 struct ata_taskfile tf; inic_hardreset() local [all...] |
H A D | libata-sata.c | 140 * @tf: Taskfile to convert 151 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument 158 fis[2] = tf->command; in ata_tf_to_fis() 159 fis[3] = tf->feature; in ata_tf_to_fis() 161 fis[4] = tf->lbal; in ata_tf_to_fis() 162 fis[5] = tf->lbam; in ata_tf_to_fis() 163 fis[6] = tf->lbah; in ata_tf_to_fis() 164 fis[7] = tf->device; in ata_tf_to_fis() 166 fis[8] = tf->hob_lbal; in ata_tf_to_fis() 167 fis[9] = tf in ata_tf_to_fis() 194 ata_tf_from_fis(const u8 * fis,struct ata_taskfile * tf) ata_tf_from_fis() argument 1483 ata_eh_read_log_10h(struct ata_device * dev,int * tag,struct ata_taskfile * tf) ata_eh_read_log_10h() argument 1642 struct ata_taskfile tf; ata_eh_analyze_ncq_error() local [all...] |
H A D | libata-zpodd.c | 37 struct ata_taskfile tf; in eject_tray() local 44 ata_tf_init(dev, &tf); in eject_tray() 45 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in eject_tray() 46 tf.command = ATA_CMD_PACKET; in eject_tray() 47 tf.protocol = ATAPI_PROT_NODATA; in eject_tray() 49 return ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0); in eject_tray() 58 struct ata_taskfile tf; in zpodd_get_mech_type() local 72 ata_tf_init(dev, &tf); in zpodd_get_mech_type() 73 tf.flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in zpodd_get_mech_type() 74 tf in zpodd_get_mech_type() [all...] |
H A D | sata_rcar.c | 360 const struct ata_taskfile *tf) in sata_rcar_tf_load() argument 363 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in sata_rcar_tf_load() 365 if (tf->ctl != ap->last_ctl) { in sata_rcar_tf_load() 366 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_load() 367 ap->last_ctl = tf->ctl; in sata_rcar_tf_load() 371 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in sata_rcar_tf_load() 372 iowrite32(tf->hob_feature, ioaddr->feature_addr); in sata_rcar_tf_load() 373 iowrite32(tf->hob_nsect, ioaddr->nsect_addr); in sata_rcar_tf_load() 374 iowrite32(tf->hob_lbal, ioaddr->lbal_addr); in sata_rcar_tf_load() 375 iowrite32(tf in sata_rcar_tf_load() 393 sata_rcar_tf_read(struct ata_port * ap,struct ata_taskfile * tf) sata_rcar_tf_read() argument 418 sata_rcar_exec_command(struct ata_port * ap,const struct ata_taskfile * tf) sata_rcar_exec_command() argument [all...] |
H A D | pata_via.c | 381 * @tf: ATA taskfile register set 389 static void via_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in via_tf_load() argument 393 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in via_tf_load() 396 if (tf->ctl != ap->last_ctl) { in via_tf_load() 397 iowrite8(tf->ctl, ioaddr->ctl_addr); in via_tf_load() 398 ap->last_ctl = tf->ctl; in via_tf_load() 403 if (tf->flags & ATA_TFLAG_DEVICE) { in via_tf_load() 404 iowrite8(tf->device, ioaddr->device_addr); in via_tf_load() 405 vp->cached_device = tf->device; in via_tf_load() 409 if (is_addr && (tf in via_tf_load() [all...] |
H A D | sata_sx4.c | 209 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf); 210 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf); 331 static inline unsigned int pdc20621_ata_pkt(struct ata_taskfile *tf, in pdc20621_ata_pkt() argument 348 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt() 350 else if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt() 360 if (tf->protocol == ATA_PROT_NODATA) in pdc20621_ata_pkt() 378 buf[i++] = tf->ctl; in pdc20621_ata_pkt() 383 static inline void pdc20621_host_pkt(struct ata_taskfile *tf, u8 *buf, in pdc20621_host_pkt() argument 402 if ((tf in pdc20621_host_pkt() 902 pdc_tf_load_mmio(struct ata_port * ap,const struct ata_taskfile * tf) pdc_tf_load_mmio() argument 910 pdc_exec_command_mmio(struct ata_port * ap,const struct ata_taskfile * tf) pdc_exec_command_mmio() argument [all...] |
/linux/drivers/target/ |
H A D | target_core_fabric_configfs.c | 38 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \ 40 struct config_item_type *cit = &tf->tf_##_name##_cit; \ 45 cit->ct_owner = tf->tf_ops->module; \ 50 static void target_fabric_setup_##_name##_cit(struct target_fabric_configfs *tf) \ 52 struct config_item_type *cit = &tf->tf_##_name##_cit; \ 53 struct configfs_attribute **attrs = tf->tf_ops->tfc_##_name##_attrs; \ 58 cit->ct_owner = tf->tf_ops->module; \ 272 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; in target_fabric_make_mappedlun() local 309 &tf->tf_tpg_mappedlun_cit); in target_fabric_make_mappedlun() 312 "statistics", &tf in target_fabric_make_mappedlun() 379 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; target_fabric_make_nodeacl() local 452 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; target_fabric_np_base_release() local 473 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; target_fabric_make_np() local 629 struct target_fabric_configfs *tf; target_fabric_port_link() local 681 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; target_fabric_port_unlink() local 747 struct target_fabric_configfs *tf = se_tpg->se_tpg_wwn->wwn_tf; target_fabric_make_lun() local 810 struct target_fabric_configfs *tf = wwn->wwn_tf; target_fabric_tpg_release() local 884 target_fabric_setup_tpg_base_cit(struct target_fabric_configfs * tf) target_fabric_setup_tpg_base_cit() argument 931 struct target_fabric_configfs *tf = wwn->wwn_tf; target_fabric_make_tpg() local 994 struct target_fabric_configfs *tf = wwn->wwn_tf; target_fabric_release_wwn() local 1105 struct target_fabric_configfs *tf = container_of(group, target_fabric_make_wwn() local 1155 target_fabric_setup_cits(struct target_fabric_configfs * tf) target_fabric_setup_cits() argument [all...] |
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | lib_sw_fence.c | 58 struct timed_fence *tf = timer_container_of(tf, t, timer); in timed_fence_wake() local 60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake() 63 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument 65 onstack_fence_init(&tf->fence); in timed_fence_init() 67 timer_setup_on_stack(&tf->timer, timed_fence_wake, 0); in timed_fence_init() 70 mod_timer(&tf->timer, expires); in timed_fence_init() 72 i915_sw_fence_commit(&tf->fence); in timed_fence_init() 75 void timed_fence_fini(struct timed_fence *tf) in timed_fence_fini() argument 77 if (timer_delete_sync(&tf in timed_fence_fini() [all...] |
/linux/drivers/thunderbolt/ |
H A D | dma_test.c | 233 struct dma_test_frame *tf = container_of(frame, typeof(*tf), frame); in dma_test_rx_callback() local 234 struct dma_test *dt = tf->dma_test; in dma_test_rx_callback() 237 dma_unmap_single(dma_dev, tf->frame.buffer_phy, DMA_TEST_FRAME_SIZE, in dma_test_rx_callback() 239 kfree(tf->data); in dma_test_rx_callback() 242 kfree(tf); in dma_test_rx_callback() 250 if (tf->frame.flags & RING_DESC_CRC_ERROR) in dma_test_rx_callback() 252 if (tf->frame.flags & RING_DESC_BUFFER_OVERRUN) in dma_test_rx_callback() 255 kfree(tf); in dma_test_rx_callback() 267 struct dma_test_frame *tf; in dma_test_submit_rx() local 302 struct dma_test_frame *tf = container_of(frame, typeof(*tf), frame); dma_test_tx_callback() local 318 struct dma_test_frame *tf; dma_test_submit_tx() local [all...] |
/linux/include/trace/events/ |
H A D | libata.h | 213 __entry->proto = qc->tf.protocol; 214 __entry->cmd = qc->tf.command; 215 __entry->dev = qc->tf.device; 216 __entry->lbal = qc->tf.lbal; 217 __entry->lbam = qc->tf.lbam; 218 __entry->lbah = qc->tf.lbah; 219 __entry->hob_lbal = qc->tf.hob_lbal; 220 __entry->hob_lbam = qc->tf.hob_lbam; 221 __entry->hob_lbah = qc->tf.hob_lbah; 222 __entry->feature = qc->tf [all...] |
/linux/drivers/ata/pata_parport/ |
H A D | pata_parport.c | 215 const struct ata_taskfile *tf) in pata_parport_tf_load() argument 219 if (tf->ctl != ap->last_ctl) { in pata_parport_tf_load() 220 pi->proto->write_regr(pi, 1, 6, tf->ctl); in pata_parport_tf_load() 221 ap->last_ctl = tf->ctl; in pata_parport_tf_load() 225 if (tf->flags & ATA_TFLAG_ISADDR) { in pata_parport_tf_load() 226 if (tf->flags & ATA_TFLAG_LBA48) { in pata_parport_tf_load() 228 tf->hob_feature); in pata_parport_tf_load() 230 tf->hob_nsect); in pata_parport_tf_load() 232 tf->hob_lbal); in pata_parport_tf_load() 234 tf in pata_parport_tf_load() 251 pata_parport_tf_read(struct ata_port * ap,struct ata_taskfile * tf) pata_parport_tf_read() argument 276 pata_parport_exec_command(struct ata_port * ap,const struct ata_taskfile * tf) pata_parport_exec_command() argument [all...] |
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_color.c | 542 if (func->tf == TRANSFER_FUNCTION_LINEAR) { in __set_output_tf() 572 enum dc_transfer_func_predefined tf) in amdgpu_dm_set_atomic_regamma() argument 577 if (regamma_size || tf != TRANSFER_FUNCTION_LINEAR) { in amdgpu_dm_set_atomic_regamma() 590 out_tf->tf = tf; in amdgpu_dm_set_atomic_regamma() 600 out_tf->tf = TRANSFER_FUNCTION_LINEAR; in amdgpu_dm_set_atomic_regamma() 643 amdgpu_tf_to_dc_tf(enum amdgpu_transfer_function tf) in amdgpu_tf_to_dc_tf() argument 645 switch (tf) { in amdgpu_tf_to_dc_tf() 753 enum dc_transfer_func_predefined tf, in amdgpu_dm_atomic_shaper_lut() argument 759 if (shaper_size || tf ! in amdgpu_dm_atomic_shaper_lut() 779 amdgpu_dm_atomic_blend_lut(const struct drm_color_lut * blend_lut,bool has_rom,enum dc_transfer_func_predefined tf,uint32_t blend_size,struct dc_transfer_func * func_blend) amdgpu_dm_atomic_blend_lut() argument 918 enum dc_transfer_func_predefined tf = TRANSFER_FUNCTION_LINEAR; amdgpu_dm_update_crtc_color_mgmt() local 1017 enum dc_transfer_func_predefined tf = TRANSFER_FUNCTION_SRGB; map_crtc_degamma_to_dc_plane() local 1098 enum amdgpu_transfer_function tf = AMDGPU_TRANSFER_FUNCTION_DEFAULT; __set_dm_plane_degamma() local [all...] |
/linux/drivers/net/thunderbolt/ |
H A D | main.c | 329 static inline unsigned int tbnet_frame_size(const struct tbnet_frame *tf) in tbnet_frame_size() argument 331 return tf->frame.size ? : TBNET_FRAME_SIZE; in tbnet_frame_size() 340 struct tbnet_frame *tf = &ring->frames[i]; in tbnet_free_buffers() local 345 if (!tf->page) in tbnet_free_buffers() 358 trace_tbnet_free_frame(i, tf->page, tf->frame.buffer_phy, dir); in tbnet_free_buffers() 360 if (tf->frame.buffer_phy) in tbnet_free_buffers() 361 dma_unmap_page(dma_dev, tf->frame.buffer_phy, size, in tbnet_free_buffers() 364 __free_pages(tf->page, order); in tbnet_free_buffers() 365 tf in tbnet_free_buffers() 507 struct tbnet_frame *tf = &ring->frames[index]; tbnet_alloc_rx_buffers() local 552 struct tbnet_frame *tf; tbnet_get_tx_buffer() local 572 struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame); tbnet_tx_callback() local 589 struct tbnet_frame *tf = &ring->frames[i]; tbnet_alloc_tx_buffers() local 731 tbnet_check_frame(struct tbnet * net,const struct tbnet_frame * tf,const struct thunderbolt_ip_frame_header * hdr) tbnet_check_frame() argument 814 struct tbnet_frame *tf; tbnet_poll() local [all...] |
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_surface.c | 210 void dc_transfer_func_retain(struct dc_transfer_func *tf) in dc_transfer_func_retain() argument 212 kref_get(&tf->refcount); in dc_transfer_func_retain() 217 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); in dc_transfer_func_free() local 218 kvfree(tf); in dc_transfer_func_free() 221 void dc_transfer_func_release(struct dc_transfer_func *tf) in dc_transfer_func_release() argument 223 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release() 228 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func() local 230 if (tf == NULL) in dc_create_transfer_func() 233 kref_init(&tf in dc_create_transfer_func() [all...] |
/linux/net/mac80211/ |
H A D | tdls.c | 695 struct ieee80211_tdls_data *tf; in ieee80211_tdls_add_chan_switch_req_ies() local 701 tf = (void *)skb->data; in ieee80211_tdls_add_chan_switch_req_ies() 702 tf->u.chan_switch_req.target_channel = in ieee80211_tdls_add_chan_switch_req_ies() 704 tf->u.chan_switch_req.oper_class = oper_class; in ieee80211_tdls_add_chan_switch_req_ies() 797 struct ieee80211_tdls_data *tf; in ieee80211_prep_tdls_encap_data() local 799 tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); in ieee80211_prep_tdls_encap_data() 801 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data() 802 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_encap_data() 803 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in ieee80211_prep_tdls_encap_data() 804 tf in ieee80211_prep_tdls_encap_data() 1534 struct ieee80211_tdls_data *tf; ieee80211_tdls_find_sw_timing_ie() local 1752 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch_resp() local 1851 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch_req() local 2003 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch() local [all...] |