Home
last modified time | relevance | path

Searched refs:tf (Results 1 – 25 of 83) sorted by relevance

1234

/linux/kernel/trace/
H A Dtrace_fprobe.c216 static bool trace_fprobe_is_return(struct trace_fprobe *tf) in trace_fprobe_is_return() argument
218 return tf->fp.exit_handler != NULL; in trace_fprobe_is_return()
221 static bool trace_fprobe_is_tracepoint(struct trace_fprobe *tf) in trace_fprobe_is_tracepoint() argument
223 return tf->tprobe; in trace_fprobe_is_tracepoint()
226 static const char *trace_fprobe_symbol(struct trace_fprobe *tf) in trace_fprobe_symbol() argument
228 return tf->symbol ? tf->symbol : "unknown"; in trace_fprobe_symbol()
233 struct trace_fprobe *tf = to_trace_fprobe(ev); in trace_fprobe_is_busy() local
235 return trace_probe_is_enabled(&tf->tp); in trace_fprobe_is_busy()
238 static bool trace_fprobe_match_command_head(struct trace_fprobe *tf, in trace_fprobe_match_command_head() argument
254 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_match() local
265 trace_fprobe_is_registered(struct trace_fprobe * tf) trace_fprobe_is_registered() argument
349 fentry_trace_func(struct trace_fprobe * tf,unsigned long entry_ip,struct ftrace_regs * fregs) fentry_trace_func() argument
394 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); trace_fprobe_entry_handler() local
436 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
448 fentry_perf_func(struct trace_fprobe * tf,unsigned long entry_ip,struct ftrace_regs * fregs) fentry_perf_func() argument
482 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
521 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); fentry_dispatcher() local
540 struct trace_fprobe *tf = container_of(fp, struct trace_fprobe, fp); fexit_dispatcher() local
552 free_trace_fprobe(struct trace_fprobe * tf) free_trace_fprobe() argument
605 struct trace_fprobe *tf; find_trace_fprobe() local
735 init_trace_event_call(struct trace_fprobe * tf) init_trace_event_call() argument
751 register_fprobe_event(struct trace_fprobe * tf) register_fprobe_event() argument
758 unregister_fprobe_event(struct trace_fprobe * tf) unregister_fprobe_event() argument
763 __register_tracepoint_fprobe(struct trace_fprobe * tf) __register_tracepoint_fprobe() argument
797 trace_fprobe_verify_target(struct trace_fprobe * tf) trace_fprobe_verify_target() argument
814 __register_trace_fprobe(struct trace_fprobe * tf) __register_trace_fprobe() argument
842 __unregister_trace_fprobe(struct trace_fprobe * tf) __unregister_trace_fprobe() argument
854 unregister_trace_fprobe(struct trace_fprobe * tf) unregister_trace_fprobe() argument
908 append_trace_fprobe_event(struct trace_fprobe * tf,struct trace_fprobe * to) append_trace_fprobe_event() argument
946 register_trace_fprobe_event(struct trace_fprobe * tf) register_trace_fprobe_event() argument
1108 struct trace_fprobe *tf; __tprobe_event_module_cb() local
1421 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_release() local
1431 struct trace_fprobe *tf = to_trace_fprobe(ev); trace_fprobe_show() local
1461 struct trace_fprobe *tf; enable_trace_fprobe() local
1506 struct trace_fprobe *tf; disable_trace_fprobe() local
[all...]
/linux/drivers/ata/
H A Dsata_promise.h28 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->feature; in pdc_prep_lba28()
[all …]
H A Dlibata-acpi.c33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */ member
618 struct ata_taskfile *tf) in ata_acpi_gtf_to_tf() argument
620 ata_tf_init(dev, tf); in ata_acpi_gtf_to_tf()
622 tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in ata_acpi_gtf_to_tf()
623 tf->protocol = ATA_PROT_NODATA; in ata_acpi_gtf_to_tf()
624 tf->error = gtf->tf[0]; /* 0x1f1 */ in ata_acpi_gtf_to_tf()
625 tf->nsect = gtf->tf[1]; /* 0x1f2 */ in ata_acpi_gtf_to_tf()
626 tf->lbal = gtf->tf[2]; /* 0x1f3 */ in ata_acpi_gtf_to_tf()
627 tf->lbam = gtf->tf[3]; /* 0x1f4 */ in ata_acpi_gtf_to_tf()
628 tf->lbah = gtf->tf[4]; /* 0x1f5 */ in ata_acpi_gtf_to_tf()
[all …]
H A Dlibata-scsi.c246 struct ata_taskfile *tf = &qc->result_tf; in ata_scsi_set_passthru_sense_fields()
280 desc[3] = tf->error; in ata_scsi_set_passthru_sense_fields()
281 desc[5] = tf->nsect; in ata_scsi_set_passthru_sense_fields()
282 desc[7] = tf->lbal; in ata_scsi_set_passthru_sense_fields()
283 desc[9] = tf->lbam; in ata_scsi_set_passthru_sense_fields()
284 desc[11] = tf->lbah; in ata_scsi_set_passthru_sense_fields()
285 desc[12] = tf->device; in ata_scsi_set_passthru_sense_fields()
286 desc[13] = tf->status; in ata_scsi_set_passthru_sense_fields()
292 if (tf->flags & ATA_TFLAG_LBA48) { in ata_scsi_set_passthru_sense_fields()
294 desc[4] = tf in ata_scsi_set_passthru_sense_fields()
249 struct ata_taskfile *tf = &qc->result_tf; ata_scsi_set_passthru_sense_fields() local
939 struct ata_taskfile *tf = &qc->result_tf; ata_gen_passthru_sense() local
989 struct ata_taskfile *tf = &qc->result_tf; ata_gen_ata_sense() local
1315 struct ata_taskfile *tf = &qc->tf; ata_scsi_flush_xlat() local
1406 struct ata_taskfile *tf = &qc->tf; ata_scsi_verify_xlat() local
3313 struct ata_taskfile *tf = &(qc->tf); ata_scsi_pass_thru() local
3641 struct ata_taskfile *tf = &qc->tf; ata_scsi_write_same_xlat() local
4136 struct ata_taskfile *tf = &qc->tf; ata_scsi_zbc_in_xlat() local
4219 struct ata_taskfile *tf = &qc->tf; ata_scsi_zbc_out_xlat() local
4310 struct ata_taskfile *tf = &qc->tf; ata_mselect_caching() local
4399 struct ata_taskfile *tf = &qc->tf; ata_mselect_control_ata_feature() local
4665 struct ata_taskfile *tf = &qc->tf; ata_scsi_security_inout_xlat() local
4797 struct ata_taskfile *tf = &qc->tf; ata_scsi_get_phys_element_status_xlat() local
4842 struct ata_taskfile *tf = &qc->tf; ata_scsi_remove_element_and_truncate_xlat() local
4885 struct ata_taskfile *tf = &qc->tf; ata_scsi_remove_element_and_modify_zones_xlat() local
4914 struct ata_taskfile *tf = &qc->tf; ata_scsi_restore_elements_and_rebuild_xlat() local
[all...]
H A Dpata_octeon_cf.c379 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 Dpata_ns87415.c123 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()
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->lbam = ioread8(ioaddr->lbam_addr); in ns87560_tf_read()
272 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
273 tf->device = ns87560_read_buggy(ioaddr->device_addr); in ns87560_tf_read()
[all …]
H A Dlibata-core.c623 * @tf: taskfile to examine and configure in ata_set_rwcmd_protocol()
625 * Examine the device configuration and tf->flags to determine in ata_set_rwcmd_protocol()
626 * the proper read/write command and protocol to use for @tf. in ata_set_rwcmd_protocol()
632 struct ata_taskfile *tf) in ata_set_rwcmd_protocol()
638 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_set_rwcmd_protocol()
639 lba48 = (tf->flags & ATA_TFLAG_LBA48) ? 2 : 0; in ata_set_rwcmd_protocol()
640 write = (tf->flags & ATA_TFLAG_WRITE) ? 1 : 0; in ata_set_rwcmd_protocol()
643 tf->protocol = ATA_PROT_PIO; in ata_set_rwcmd_protocol()
647 tf->protocol = ATA_PROT_PIO; in ata_set_rwcmd_protocol()
650 tf in ata_set_rwcmd_protocol()
620 ata_set_rwcmd_protocol(struct ata_device * dev,struct ata_taskfile * tf) ata_set_rwcmd_protocol() argument
666 ata_tf_read_block(const struct ata_taskfile * tf,struct ata_device * dev) ata_tf_read_block() argument
705 struct ata_taskfile *tf = &qc->tf; ata_set_tf_cdl() local
743 struct ata_taskfile *tf = &qc->tf; ata_build_rw_tf() local
1060 ata_dev_classify(const struct ata_taskfile * tf) ata_dev_classify() argument
1184 ata_tf_to_lba48(const struct ata_taskfile * tf) ata_tf_to_lba48() argument
1198 ata_tf_to_lba(const struct ata_taskfile * tf) ata_tf_to_lba() argument
1225 struct ata_taskfile tf; ata_read_native_max_address() local
1276 struct ata_taskfile tf; ata_set_max_sectors() local
1536 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
1764 ata_do_dev_read_id(struct ata_device * dev,struct ata_taskfile * tf,__le16 * id) ata_do_dev_read_id() argument
1797 struct ata_taskfile tf; ata_dev_read_id() local
1978 ata_dev_power_init_tf(struct ata_device * dev,struct ata_taskfile * tf,bool set_active) ata_dev_power_init_tf() argument
2009 struct ata_taskfile tf; ata_dev_power_is_active() local
2047 struct ata_taskfile tf; ata_dev_power_set_standby() local
2093 struct ata_taskfile tf; ata_dev_power_set_active() local
2138 struct ata_taskfile tf; ata_read_log_page() local
4751 struct ata_taskfile tf; ata_dev_set_xfermode() local
4796 struct ata_taskfile tf; ata_dev_set_feature() local
4832 struct ata_taskfile tf; ata_dev_init_params() local
[all...]
H A Dlibata-sata.c140 * @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
1482 ata_eh_read_log_10h(struct ata_device * dev,int * tag,struct ata_taskfile * tf) ata_eh_read_log_10h() argument
1641 struct ata_taskfile tf; ata_eh_analyze_ncq_error() local
[all...]
H A Dpata_ep93xx.c377 const struct ata_taskfile *tf) in ep93xx_pata_tf_load() argument
380 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; in ep93xx_pata_tf_load()
382 if (tf->ctl != ap->last_ctl) { in ep93xx_pata_tf_load()
383 ep93xx_pata_write_reg(drv_data, tf->ctl, IDECTRL_ADDR_CTL); in ep93xx_pata_tf_load()
384 ap->last_ctl = tf->ctl; in ep93xx_pata_tf_load()
388 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in ep93xx_pata_tf_load()
389 ep93xx_pata_write_reg(drv_data, tf->hob_feature, in ep93xx_pata_tf_load()
391 ep93xx_pata_write_reg(drv_data, tf->hob_nsect, in ep93xx_pata_tf_load()
393 ep93xx_pata_write_reg(drv_data, tf->hob_lbal, in ep93xx_pata_tf_load()
395 ep93xx_pata_write_reg(drv_data, tf in ep93xx_pata_tf_load()
418 ep93xx_pata_tf_read(struct ata_port * ap,struct ata_taskfile * tf) ep93xx_pata_tf_read() argument
450 ep93xx_pata_exec_command(struct ata_port * ap,const struct ata_taskfile * tf) ep93xx_pata_exec_command() argument
[all...]
H A Dlibata-zpodd.c37 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.command = ATA_CMD_PACKET; in zpodd_get_mech_type()
[all …]
H A Dsata_rcar.c360 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 Dlibata-eh.c1428 struct ata_taskfile tf; in atapi_eh_tur() local
1431 ata_tf_init(dev, &tf); in atapi_eh_tur()
1433 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; in atapi_eh_tur()
1434 tf.command = ATA_CMD_PACKET; in atapi_eh_tur()
1435 tf.protocol = ATAPI_PROT_NODATA; in atapi_eh_tur()
1437 err_mask = ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0); in atapi_eh_tur()
1439 *r_sense_key = tf.error >> 4; in atapi_eh_tur()
1497 struct ata_taskfile tf; in ata_eh_request_sense() local
1510 ata_tf_init(dev, &tf); in ata_eh_request_sense()
1511 tf in ata_eh_request_sense()
1556 struct ata_taskfile tf; atapi_eh_request_sense() local
1658 const struct ata_taskfile *tf = &qc->result_tf; ata_eh_analyze_tf() local
3278 struct ata_taskfile tf; ata_eh_park_issue_cmd() local
3570 struct ata_taskfile tf; ata_eh_maybe_retry_flush() local
[all...]
H A Dsata_dwc_460ex.c510 trace_ata_bmdma_start(ap, &qc->tf, tag); in sata_dwc_isr()
529 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) { in sata_dwc_isr()
550 __func__, get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
552 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
570 } else if (ata_is_pio(qc->tf.protocol)) { in sata_dwc_isr()
635 get_prot_descript(qc->tf.protocol)); in sata_dwc_isr()
636 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_isr()
714 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_dma_xfer_complete()
745 qc->tf.command, status, ap->print_id, qc->tf in sata_dwc_qc_complete()
913 sata_dwc_exec_command_by_tag(struct ata_port * ap,struct ata_taskfile * tf,u8 tag,u32 cmd_issued) sata_dwc_exec_command_by_tag() argument
[all...]
H A Dsata_mv.c1433 if (ata_is_ncq(qc->tf.protocol)) in mv_qc_defer()
1865 ap->ops->sff_exec_command(ap, &qc->tf); in mv_bmdma_setup()
1879 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in mv_bmdma_start()
1957 struct ata_taskfile *tf = &qc->tf; in mv_rw_multi_errata_sata24()
1971 if ((tf->flags & ATA_TFLAG_WRITE) && is_multi_taskfile(tf)) { in mv_rw_multi_errata_sata24()
1973 switch (tf->command) { in mv_rw_multi_errata_sata24()
1975 tf->command = ATA_CMD_PIO_WRITE; in mv_rw_multi_errata_sata24()
1978 tf in mv_rw_multi_errata_sata24()
1956 struct ata_taskfile *tf = &qc->tf; mv_rw_multi_errata_sata24() local
2004 struct ata_taskfile *tf = &qc->tf; mv_qc_prep() local
2105 struct ata_taskfile *tf = &qc->tf; mv_qc_prep_iie() local
[all...]
/linux/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c58 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->timer)) in timed_fence_fini()
78 i915_sw_fence_commit(&tf->fence); in timed_fence_fini()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c689 if (func->tf == TRANSFER_FUNCTION_LINEAR) { in __set_output_tf()
747 if (func->tf == TRANSFER_FUNCTION_LINEAR) { in __set_output_tf_32()
775 STATIC_IFN_KUNIT void __set_tf_bypass(struct dc_transfer_func *tf) in __set_tf_bypass() argument
777 tf->type = TF_TYPE_BYPASS; in __set_tf_bypass()
778 tf->tf = TRANSFER_FUNCTION_LINEAR; in __set_tf_bypass()
782 STATIC_IFN_KUNIT void __set_tf_distributed_points(struct dc_transfer_func *tf, in __set_tf_distributed_points() argument
785 tf->type = TF_TYPE_DISTRIBUTED_POINTS; in __set_tf_distributed_points()
786 tf->tf in __set_tf_distributed_points()
794 amdgpu_dm_set_atomic_regamma(struct dc_transfer_func * out_tf,const struct drm_color_lut * regamma_lut,uint32_t regamma_size,bool has_rom,enum dc_transfer_func_predefined tf) amdgpu_dm_set_atomic_regamma() argument
902 amdgpu_tf_to_dc_tf(enum amdgpu_transfer_function tf) amdgpu_tf_to_dc_tf() argument
933 amdgpu_colorop_tf_to_dc_tf(enum drm_colorop_curve_1d_type tf) amdgpu_colorop_tf_to_dc_tf() argument
1100 amdgpu_dm_atomic_shaper_lut(const struct drm_color_lut * shaper_lut,bool has_rom,enum dc_transfer_func_predefined tf,uint32_t shaper_size,struct dc_plane_cm * cm) amdgpu_dm_atomic_shaper_lut() argument
1126 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_plane_cm * cm) amdgpu_dm_atomic_blend_lut() argument
1267 enum dc_transfer_func_predefined tf = TRANSFER_FUNCTION_LINEAR; amdgpu_dm_check_crtc_color_mgmt() local
1409 enum dc_transfer_func_predefined tf = TRANSFER_FUNCTION_SRGB; map_crtc_degamma_to_dc_plane() local
1490 enum amdgpu_transfer_function tf = AMDGPU_TRANSFER_FUNCTION_DEFAULT; __set_dm_plane_degamma() local
1551 struct dc_transfer_func *tf = &dc_plane_state->in_transfer_func; __set_colorop_in_tf_1d_curve() local
1686 struct dc_transfer_func *tf = &dc_plane_state->cm.shaper_func; __set_dm_plane_colorop_shaper() local
1795 struct dc_transfer_func *tf = &dc_plane_state->cm.shaper_func; __set_dm_plane_colorop_3dlut() local
1859 struct dc_transfer_func *tf = &dc_plane_state->cm.blend_func; __set_dm_plane_colorop_blend() local
[all...]
/linux/include/trace/events/
H A Dlibata.h213 __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.feature;
[all …]
/linux/drivers/ata/pata_parport/
H A Dpata_parport.c215 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/net/mac80211/
H A Dtdls.c699 struct ieee80211_tdls_data *tf; in ieee80211_tdls_add_chan_switch_req_ies() local
705 tf = (void *)skb->data; in ieee80211_tdls_add_chan_switch_req_ies()
706 tf->u.chan_switch_req.target_channel = in ieee80211_tdls_add_chan_switch_req_ies()
708 tf->u.chan_switch_req.oper_class = oper_class; in ieee80211_tdls_add_chan_switch_req_ies()
801 struct ieee80211_tdls_data *tf; in ieee80211_prep_tdls_encap_data() local
803 tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); in ieee80211_prep_tdls_encap_data()
805 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
806 memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
807 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in ieee80211_prep_tdls_encap_data()
808 tf in ieee80211_prep_tdls_encap_data()
1549 struct ieee80211_tdls_data *tf; ieee80211_tdls_find_sw_timing_ie() local
1767 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch_resp() local
1869 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch_req() local
2024 struct ieee80211_tdls_data *tf = (void *)skb->data; ieee80211_process_tdls_channel_switch() local
[all...]
/linux/drivers/net/thunderbolt/
H A Dmain.c337 struct tbnet_frame *tf = &ring->frames[i]; in tbnet_free_buffers() local
342 if (!tf->page) in tbnet_free_buffers()
355 trace_tbnet_free_frame(i, tf->page, tf->frame.buffer_phy, dir); in tbnet_free_buffers()
357 if (tf->frame.buffer_phy) in tbnet_free_buffers()
358 dma_unmap_page(dma_dev, tf->frame.buffer_phy, size, in tbnet_free_buffers()
361 __free_pages(tf->page, order); in tbnet_free_buffers()
362 tf->page = NULL; in tbnet_free_buffers()
514 struct tbnet_frame *tf = &ring->frames[index]; in tbnet_alloc_rx_buffers() local
517 if (tf in tbnet_alloc_rx_buffers()
559 struct tbnet_frame *tf; tbnet_get_tx_buffer() local
579 struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame); tbnet_tx_callback() local
596 struct tbnet_frame *tf = &ring->frames[i]; tbnet_alloc_tx_buffers() local
750 tbnet_check_frame(struct tbnet * net,const struct tbnet_frame * tf,const struct thunderbolt_ip_frame_header * hdr) tbnet_check_frame() argument
837 struct tbnet_frame *tf; tbnet_poll() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_surface.c219 void dc_transfer_func_retain(struct dc_transfer_func *tf) in dc_transfer_func_retain() argument
221 kref_get(&tf->refcount); in dc_transfer_func_retain()
226 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); in dc_transfer_func_free() local
227 kvfree(tf); in dc_transfer_func_free()
230 void dc_transfer_func_release(struct dc_transfer_func *tf) in dc_transfer_func_release() argument
232 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
237 struct dc_transfer_func *tf = kvzalloc_obj(*tf); in dc_create_transfer_func() local
239 if (tf == NULL) in dc_create_transfer_func()
242 kref_init(&tf->refcount); in dc_create_transfer_func()
244 return tf; in dc_create_transfer_func()
/linux/tools/testing/selftests/x86/
H A Dint_signal.c181 static bool set_ip(pid_t child, const void *ip, bool tf) in set_ip() argument
188 if (tf) in set_ip()
269 unsigned int i, tf; in main() local
279 for (tf = 0; tf < 2; tf++) { in main()
282 single_step = tf; in main()
285 expected_flags = active->flags | (tf ? X86_EFLAGS_TF : 0); in main()
286 if (tf) in main()
294 (!tf || (stepped && step_ok)); in main()
295 ksft_test_result(ok, "%s%s\n", active->name, tf ? " with TF" : ""); in main()
/linux/net/6lowpan/
H A Diphc.c504 static inline void lowpan_iphc_tf_set_ecn(struct ipv6hdr *hdr, const u8 *tf) in lowpan_iphc_tf_set_ecn() argument
507 u8 ecn = tf[0] & 0xc0; in lowpan_iphc_tf_set_ecn()
514 static inline void lowpan_iphc_tf_set_dscp(struct ipv6hdr *hdr, const u8 *tf) in lowpan_iphc_tf_set_dscp() argument
517 u8 dscp = tf[0] & 0x3f; in lowpan_iphc_tf_set_dscp()
548 u8 tf[4]; in lowpan_iphc_tf_decompress() local
554 if (lowpan_fetch_skb(skb, tf, 4)) in lowpan_iphc_tf_decompress()
563 lowpan_iphc_tf_set_ecn(hdr, tf); in lowpan_iphc_tf_decompress()
564 lowpan_iphc_tf_set_dscp(hdr, tf); in lowpan_iphc_tf_decompress()
565 lowpan_iphc_tf_set_lbl(hdr, &tf[1]); in lowpan_iphc_tf_decompress()
569 if (lowpan_fetch_skb(skb, tf, 3)) in lowpan_iphc_tf_decompress()
[all …]
/linux/kernel/
H A Dwatch_queue.c317 struct watch_notification_type_filter *tf;
341 tf = memdup_array_user(_filter->filters, filter.nr_filters, sizeof(*tf)); in watch_queue_set_filter()
342 if (IS_ERR(tf)) in watch_queue_set_filter()
343 return PTR_ERR(tf); in watch_queue_set_filter()
347 if ((tf[i].info_filter & ~tf[i].info_mask) || in watch_queue_set_filter()
348 tf[i].info_mask & WATCH_INFO_LENGTH) in watch_queue_set_filter()
351 if (tf[i].type >= WATCH_TYPE__NR) in watch_queue_set_filter()
367 if (tf[ in watch_queue_set_filter()
321 struct watch_notification_type_filter *tf; watch_queue_set_filter() local
[all...]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dtdls.c469 struct ieee80211_tdls_data *tf; in mwifiex_prep_tdls_encap_data() local
477 tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u)); in mwifiex_prep_tdls_encap_data()
478 memcpy(tf->da, peer, ETH_ALEN); in mwifiex_prep_tdls_encap_data()
479 memcpy(tf->sa, priv->curr_addr, ETH_ALEN); in mwifiex_prep_tdls_encap_data()
480 tf->ether_type = cpu_to_be16(ETH_P_TDLS); in mwifiex_prep_tdls_encap_data()
481 tf->payload_type = WLAN_TDLS_SNAP_RFTYPE; in mwifiex_prep_tdls_encap_data()
485 tf->category = WLAN_CATEGORY_TDLS; in mwifiex_prep_tdls_encap_data()
486 tf->action_code = WLAN_TDLS_SETUP_REQUEST; in mwifiex_prep_tdls_encap_data()
487 skb_put(skb, sizeof(tf->u.setup_req)); in mwifiex_prep_tdls_encap_data()
488 tf->u.setup_req.dialog_token = dialog_token; in mwifiex_prep_tdls_encap_data()
[all …]

1234