Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/drivers/ata/
A Dsata_promise.h38 switch (tf->protocol) { in pdc_pkt_header()
69 buf[15] = tf->ctl; in pdc_pkt_header()
79 buf[i++] = tf->device; in pdc_pkt_footer()
98 buf[i++] = tf->nsect; in pdc_prep_lba28()
101 buf[i++] = tf->lbal; in pdc_prep_lba28()
104 buf[i++] = tf->lbam; in pdc_prep_lba28()
107 buf[i++] = tf->lbah; in pdc_prep_lba28()
123 buf[i++] = tf->nsect; in pdc_prep_lba48()
127 buf[i++] = tf->lbal; in pdc_prep_lba48()
131 buf[i++] = tf->lbam; in pdc_prep_lba48()
[all …]
A Dlibata-acpi.c549 tf->error = gtf->tf[0]; /* 0x1f1 */ in ata_acpi_gtf_to_tf()
648 if ((gtf->tf[0] == 0) && (gtf->tf[1] == 0) && (gtf->tf[2] == 0) in ata_acpi_run_tf()
649 && (gtf->tf[3] == 0) && (gtf->tf[4] == 0) && (gtf->tf[5] == 0) in ata_acpi_run_tf()
671 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
672 tf.lbam, tf.lbah, tf.device, descr); in ata_acpi_run_tf()
680 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
681 tf.lbam, tf.lbah, tf.device, descr, in ata_acpi_run_tf()
690 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
691 tf.lbam, tf.lbah, tf.device, descr, in ata_acpi_run_tf()
700 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
[all …]
A Dsata_vsc.c154 ap->last_ctl = tf->ctl; 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->hob_nsect) << 8), in vsc_sata_tf_load()
162 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in vsc_sata_tf_load()
164 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in vsc_sata_tf_load()
166 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in vsc_sata_tf_load()
196 tf->error = error; in vsc_sata_tf_read()
197 tf->nsect = nsect; in vsc_sata_tf_read()
198 tf->lbal = lbal; in vsc_sata_tf_read()
199 tf->lbam = lbam; in vsc_sata_tf_read()
[all …]
A Dlibata-scsi.c728 u8 stat = tf->status, err = tf->error; in ata_dump_status()
979 if (tf->hob_lbal || tf->hob_lbam || tf->hob_lbah) in ata_gen_passthru_sense()
1219 struct ata_taskfile *tf = &qc->tf; in ata_scsi_start_stop_xlat() local
1312 struct ata_taskfile *tf = &qc->tf; in ata_scsi_flush_xlat() local
1400 struct ata_taskfile *tf = &qc->tf; in ata_scsi_verify_xlat() local
2808 struct ata_taskfile *tf = &(qc->tf); in ata_scsi_pass_thru() local
3130 struct ata_taskfile *tf = &qc->tf; in ata_scsi_write_same_xlat() local
3377 struct ata_taskfile *tf = &qc->tf; in ata_scsi_zbc_in_xlat() local
3460 struct ata_taskfile *tf = &qc->tf; in ata_scsi_zbc_out_xlat() local
3551 struct ata_taskfile *tf = &qc->tf; in ata_mselect_caching() local
[all …]
A Dsata_svw.c165 ap->last_ctl = tf->ctl; in k2_sata_tf_load()
169 writew(tf->feature | (((u16)tf->hob_feature) << 8), in k2_sata_tf_load()
171 writew(tf->nsect | (((u16)tf->hob_nsect) << 8), in k2_sata_tf_load()
173 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in k2_sata_tf_load()
175 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in k2_sata_tf_load()
177 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in k2_sata_tf_load()
207 tf->error = error; in k2_sata_tf_read()
208 tf->nsect = nsect; in k2_sata_tf_read()
209 tf->lbal = lbal; in k2_sata_tf_read()
210 tf->lbam = lbam; in k2_sata_tf_read()
[all …]
A Dpata_ns87415.c140 ap->ops->sff_exec_command(ap, &qc->tf); in ns87415_bmdma_setup()
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()
275 if (tf->flags & ATA_TFLAG_LBA48) { in ns87560_tf_read()
279 tf->hob_lbal = ioread8(ioaddr->lbal_addr); in ns87560_tf_read()
282 iowrite8(tf->ctl, ioaddr->ctl_addr); in ns87560_tf_read()
[all …]
A Dpata_octeon_cf.c385 tf->error = blob >> 8; in octeon_cf_tf_read16()
388 tf->nsect = blob & 0xff; in octeon_cf_tf_read16()
389 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
392 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
393 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
397 tf->status = blob >> 8; in octeon_cf_tf_read16()
474 __raw_writew(tf->hob_nsect | tf->hob_lbal << 8, base + 2); in octeon_cf_tf_load16()
475 __raw_writew(tf->hob_lbam | tf->hob_lbah << 8, base + 4); in octeon_cf_tf_load16()
479 __raw_writew(tf->nsect | tf->lbal << 8, base + 2); in octeon_cf_tf_load16()
480 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
[all …]
A Dlibata-sata.c159 fis[4] = tf->lbal; in ata_tf_to_fis()
160 fis[5] = tf->lbam; in ata_tf_to_fis()
161 fis[6] = tf->lbah; in ata_tf_to_fis()
162 fis[7] = tf->device; in ata_tf_to_fis()
172 fis[15] = tf->ctl; in ata_tf_to_fis()
195 tf->error = fis[3]; in ata_tf_from_fis()
197 tf->lbal = fis[4]; in ata_tf_from_fis()
198 tf->lbam = fis[5]; in ata_tf_from_fis()
199 tf->lbah = fis[6]; in ata_tf_from_fis()
1443 memset(&tf, 0, sizeof(tf)); in ata_eh_analyze_ncq_error()
[all …]
A Dlibata-core.c652 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
690 struct ata_taskfile *tf = &qc->tf; in ata_build_rw_tf() local
787 tf->lbam = cyl; in ata_build_rw_tf()
1021 if (tf->lbam == 0 && tf->lbah == 0) in ata_dev_classify()
1024 if (tf->lbam == 0x14 && tf->lbah == 0xeb) in ata_dev_classify()
1027 if (tf->lbam == 0x69 && tf->lbah == 0x96) in ata_dev_classify()
1030 if (tf->lbam == 0x3c && tf->lbah == 0xc3) in ata_dev_classify()
1033 if (tf->lbam == 0xcd && tf->lbah == 0xab) in ata_dev_classify()
1521 qc->tf = *tf; in ata_exec_internal_sg()
1995 tf.lbal = log; in ata_read_log_page()
[all …]
A Dlibata-sff.c348 if (tf->ctl != ap->last_ctl) { in ata_sff_tf_load()
351 ap->last_ctl = tf->ctl; in ata_sff_tf_load()
413 ap->last_ctl = tf->ctl; in ata_sff_tf_read()
455 trace_ata_tf_load(ap, tf); in ata_tf_to_host()
456 ap->ops->sff_tf_load(ap, tf); in ata_tf_to_host()
698 switch (qc->tf.protocol) { in atapi_send_cdb()
1306 switch (qc->tf.protocol) { in ata_sff_qc_issue()
1759 struct ata_taskfile tf; in ata_sff_dev_classify() local
1765 memset(&tf, 0, sizeof(tf)); in ata_sff_dev_classify()
1768 err = tf.error; in ata_sff_dev_classify()
[all …]
A Dsata_inic162x.c506 cpb->nsect = qc->tf.nsect; in inic_qc_prep()
507 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
508 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
509 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
572 struct ata_taskfile tf; in inic_qc_fill_rtf() local
581 inic_tf_read(qc->ap, &tf); in inic_qc_fill_rtf()
583 if (tf.status & ATA_ERR) { in inic_qc_fill_rtf()
584 rtf->status = tf.status; in inic_qc_fill_rtf()
585 rtf->error = tf.error; in inic_qc_fill_rtf()
643 struct ata_taskfile tf; in inic_hardreset() local
[all …]
A Dpata_ep93xx.c374 const struct ata_taskfile *tf) in ep93xx_pata_tf_load() argument
379 if (tf->ctl != ap->last_ctl) { in ep93xx_pata_tf_load()
381 ap->last_ctl = tf->ctl; in ep93xx_pata_tf_load()
399 ep93xx_pata_write_reg(drv_data, tf->feature, in ep93xx_pata_tf_load()
407 if (tf->flags & ATA_TFLAG_DEVICE) in ep93xx_pata_tf_load()
408 ep93xx_pata_write_reg(drv_data, tf->device, in ep93xx_pata_tf_load()
419 tf->status = ep93xx_pata_check_status(ap); in ep93xx_pata_tf_read()
427 if (tf->flags & ATA_TFLAG_LBA48) { in ep93xx_pata_tf_read()
441 ap->last_ctl = tf->ctl; in ep93xx_pata_tf_read()
447 const struct ata_taskfile *tf) in ep93xx_pata_exec_command() argument
[all …]
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()
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()
75 tf.protocol = ATAPI_PROT_PIO; in zpodd_get_mech_type()
[all …]
A Dsata_rcar.c360 const struct ata_taskfile *tf) in sata_rcar_tf_load() argument
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()
387 if (tf->flags & ATA_TFLAG_DEVICE) in sata_rcar_tf_load()
400 tf->lbal = ioread32(ioaddr->lbal_addr); in sata_rcar_tf_read()
401 tf->lbam = ioread32(ioaddr->lbam_addr); in sata_rcar_tf_read()
405 if (tf->flags & ATA_TFLAG_LBA48) { in sata_rcar_tf_read()
412 iowrite32(tf->ctl, ioaddr->ctl_addr); in sata_rcar_tf_read()
413 ap->last_ctl = tf->ctl; in sata_rcar_tf_read()
[all …]
A Dpata_via.c397 if (tf->ctl != ap->last_ctl) { in via_tf_load()
398 iowrite8(tf->ctl, ioaddr->ctl_addr); in via_tf_load()
399 ap->last_ctl = tf->ctl; in via_tf_load()
404 if (tf->flags & ATA_TFLAG_DEVICE) { in via_tf_load()
405 iowrite8(tf->device, ioaddr->device_addr); in via_tf_load()
406 vp->cached_device = tf->device; in via_tf_load()
414 iowrite8(tf->hob_lbal, ioaddr->lbal_addr); in via_tf_load()
421 iowrite8(tf->nsect, ioaddr->nsect_addr); in via_tf_load()
422 iowrite8(tf->lbal, ioaddr->lbal_addr); in via_tf_load()
423 iowrite8(tf->lbam, ioaddr->lbam_addr); in via_tf_load()
[all …]
A Dsata_sx4.c349 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()
379 buf[i++] = tf->ctl; in pdc20621_ata_pkt()
403 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()
452 if (qc->tf.flags & ATA_TFLAG_LBA48) in pdc20621_dma_prep()
489 if (qc->tf.flags & ATA_TFLAG_LBA48) in pdc20621_nodata_prep()
510 switch (qc->tf.protocol) { in pdc20621_qc_prep()
636 switch (qc->tf.protocol) { in pdc20621_qc_issue()
906 tf->protocol == ATAPI_PROT_DMA); in pdc_tf_load_mmio()
907 ata_sff_tf_load(ap, tf); in pdc_tf_load_mmio()
914 tf->protocol == ATAPI_PROT_DMA); in pdc_exec_command_mmio()
[all …]
A Dlibata-pmp.c42 struct ata_taskfile tf; in sata_pmp_read() local
45 ata_tf_init(pmp_dev, &tf); in sata_pmp_read()
49 tf.feature = reg; in sata_pmp_read()
50 tf.device = link->pmp; in sata_pmp_read()
57 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; in sata_pmp_read()
79 struct ata_taskfile tf; in sata_pmp_write() local
81 ata_tf_init(pmp_dev, &tf); in sata_pmp_write()
85 tf.feature = reg; in sata_pmp_write()
86 tf.device = link->pmp; in sata_pmp_write()
87 tf.nsect = val & 0xff; in sata_pmp_write()
[all …]
/linux-6.3-rc2/drivers/target/
A Dtarget_core_fabric_configfs.c765 &tf->tf_tpg_port_cit); in target_fabric_make_lun()
911 &tf->tf_tpg_base_cit); in target_fabric_make_tpg()
914 &tf->tf_tpg_lun_cit); in target_fabric_make_tpg()
919 &tf->tf_tpg_np_cit); in target_fabric_make_tpg()
924 &tf->tf_tpg_nacl_cit); in target_fabric_make_tpg()
929 &tf->tf_tpg_attrib_cit); in target_fabric_make_tpg()
934 &tf->tf_tpg_auth_cit); in target_fabric_make_tpg()
939 &tf->tf_tpg_param_cit); in target_fabric_make_tpg()
1057 wwn = tf->tf_ops->fabric_make_wwn(tf, group, name); in target_fabric_make_wwn()
1062 wwn->wwn_tf = tf; in target_fabric_make_wwn()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dlib_sw_fence.c58 struct timed_fence *tf = from_timer(tf, t, timer); in timed_fence_wake() local
60 i915_sw_fence_commit(&tf->fence); in timed_fence_wake()
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 (del_timer_sync(&tf->timer)) in timed_fence_fini()
78 i915_sw_fence_commit(&tf->fence); in timed_fence_fini()
80 destroy_timer_on_stack(&tf->timer); in timed_fence_fini()
[all …]
/linux-6.3-rc2/drivers/thunderbolt/
A Ddma_test.c242 kfree(tf); in dma_test_rx_callback()
255 kfree(tf); in dma_test_rx_callback()
270 tf = kzalloc(sizeof(*tf), GFP_KERNEL); in dma_test_submit_rx()
271 if (!tf) in dma_test_submit_rx()
276 kfree(tf); in dma_test_submit_rx()
284 kfree(tf); in dma_test_submit_rx()
309 kfree(tf); in dma_test_tx_callback()
321 tf = kzalloc(sizeof(*tf), GFP_KERNEL); in dma_test_submit_tx()
322 if (!tf) in dma_test_submit_tx()
330 kfree(tf); in dma_test_submit_tx()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dlibata.h322 TP_ARGS(ap, tf),
344 __entry->cmd = tf->command;
345 __entry->dev = tf->device;
346 __entry->lbal = tf->lbal;
347 __entry->lbam = tf->lbam;
348 __entry->lbah = tf->lbah;
375 TP_ARGS(ap, tf, tag),
404 TP_ARGS(ap, tf, tag));
408 TP_ARGS(ap, tf, tag));
412 TP_ARGS(ap, tf, tag));
[all …]
/linux-6.3-rc2/drivers/ata/pata_parport/
A Dpata_parport.c142 const struct ata_taskfile *tf) in pata_parport_tf_load() argument
146 if (tf->ctl != ap->last_ctl) { in pata_parport_tf_load()
148 ap->last_ctl = tf->ctl; in pata_parport_tf_load()
155 tf->hob_feature); in pata_parport_tf_load()
157 tf->hob_nsect); in pata_parport_tf_load()
159 tf->hob_lbal); in pata_parport_tf_load()
161 tf->hob_lbam); in pata_parport_tf_load()
163 tf->hob_lbah); in pata_parport_tf_load()
172 if (tf->flags & ATA_TFLAG_DEVICE) in pata_parport_tf_load()
190 if (tf->flags & ATA_TFLAG_LBA48) { in pata_parport_tf_read()
[all …]
/linux-6.3-rc2/drivers/net/thunderbolt/
A Dmain.c345 if (!tf->page) in tbnet_free_buffers()
358 trace_tbnet_free_frame(i, tf->page, tf->frame.buffer_phy, dir); in tbnet_free_buffers()
365 tf->page = NULL; in tbnet_free_buffers()
510 if (tf->page) in tbnet_alloc_rx_buffers()
518 if (!tf->page) { in tbnet_alloc_rx_buffers()
566 return tf; in tbnet_get_tx_buffer()
572 struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame); in tbnet_tx_callback() local
593 if (!tf->page) { in tbnet_alloc_tx_buffers()
835 tf = container_of(frame, typeof(*tf), frame); in tbnet_poll()
837 page = tf->page; in tbnet_poll()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_surface.c223 void dc_transfer_func_retain(struct dc_transfer_func *tf) in dc_transfer_func_retain() argument
225 kref_get(&tf->refcount); in dc_transfer_func_retain()
230 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); in dc_transfer_func_free() local
231 kvfree(tf); in dc_transfer_func_free()
234 void dc_transfer_func_release(struct dc_transfer_func *tf) in dc_transfer_func_release() argument
236 kref_put(&tf->refcount, dc_transfer_func_free); in dc_transfer_func_release()
241 struct dc_transfer_func *tf = kvzalloc(sizeof(*tf), GFP_KERNEL); in dc_create_transfer_func() local
243 if (tf == NULL) in dc_create_transfer_func()
246 kref_init(&tf->refcount); in dc_create_transfer_func()
248 return tf; in dc_create_transfer_func()
/linux-6.3-rc2/net/mac80211/
A Dtdls.c650 struct ieee80211_tdls_data *tf; in ieee80211_tdls_add_chan_switch_req_ies() local
656 tf = (void *)skb->data; in ieee80211_tdls_add_chan_switch_req_ies()
749 struct ieee80211_tdls_data *tf; in ieee80211_prep_tdls_encap_data() local
753 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
768 tf->u.setup_req.capability = in ieee80211_prep_tdls_encap_data()
779 tf->u.setup_resp.capability = in ieee80211_prep_tdls_encap_data()
1474 struct ieee80211_tdls_data *tf; in ieee80211_tdls_find_sw_timing_ie() local
1710 tf->sa); in ieee80211_process_tdls_channel_switch_resp()
1766 tf->sa, params.status); in ieee80211_process_tdls_channel_switch_resp()
1887 tf->sa); in ieee80211_process_tdls_channel_switch_req()
[all …]

Completed in 127 milliseconds

123456