Home
last modified time | relevance | path

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

12345

/linux/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-scsi.c683 u8 stat = tf->command, err = tf->feature; in ata_dump_status()
939 if (tf->hob_lbal || tf->hob_lbam || tf->hob_lbah) in ata_gen_passthru_sense()
1178 struct ata_taskfile *tf = &qc->tf; in ata_scsi_start_stop_xlat() local
1271 struct ata_taskfile *tf = &qc->tf; in ata_scsi_flush_xlat() local
1393 struct ata_taskfile *tf = &qc->tf; in ata_scsi_verify_xlat() local
2845 struct ata_taskfile *tf = &(qc->tf); in ata_scsi_pass_thru() local
3163 struct ata_taskfile *tf = &qc->tf; in ata_scsi_write_same_xlat() local
3408 struct ata_taskfile *tf = &qc->tf; in ata_scsi_zbc_in_xlat() local
3491 struct ata_taskfile *tf = &qc->tf; in ata_scsi_zbc_out_xlat() local
3582 struct ata_taskfile *tf = &qc->tf; in ata_mselect_caching() local
[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->feature = feature; 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 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->feature = feature; 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 Dlibata-acpi.c557 tf->feature = 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->lbal = gtf->tf[2]; /* 0x1f3 */ in ata_acpi_gtf_to_tf()
560 tf->lbam = gtf->tf[3]; /* 0x1f4 */ in ata_acpi_gtf_to_tf()
561 tf->lbah = gtf->tf[4]; /* 0x1f5 */ in ata_acpi_gtf_to_tf()
562 tf->device = gtf->tf[5]; /* 0x1f6 */ in ata_acpi_gtf_to_tf()
563 tf->command = gtf->tf[6]; /* 0x1f7 */ in ata_acpi_gtf_to_tf()
658 if ((gtf->tf[0] == 0) && (gtf->tf[1] == 0) && (gtf->tf[2] == 0) in ata_acpi_run_tf()
659 && (gtf->tf[3] == 0) && (gtf->tf[4] == 0) && (gtf->tf[5] == 0) in ata_acpi_run_tf()
706 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
[all …]
A Dpata_octeon_cf.c480 __raw_writew(tf->hob_nsect | tf->hob_lbal << 8, base + 2); in octeon_cf_tf_load16()
481 __raw_writew(tf->hob_lbam | tf->hob_lbah << 8, base + 4); in octeon_cf_tf_load16()
485 tf->hob_lbal, in octeon_cf_tf_load16()
486 tf->hob_lbam, in octeon_cf_tf_load16()
491 __raw_writew(tf->nsect | tf->lbal << 8, base + 2); in octeon_cf_tf_load16()
492 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
494 tf->feature, in octeon_cf_tf_load16()
495 tf->nsect, in octeon_cf_tf_load16()
496 tf->lbal, in octeon_cf_tf_load16()
497 tf->lbam, in octeon_cf_tf_load16()
[all …]
A Dsata_rcar.c376 ap->last_ctl = tf->ctl; in sata_rcar_tf_load()
387 tf->hob_feature, in sata_rcar_tf_load()
388 tf->hob_nsect, in sata_rcar_tf_load()
389 tf->hob_lbal, in sata_rcar_tf_load()
390 tf->hob_lbam, in sata_rcar_tf_load()
391 tf->hob_lbah); in sata_rcar_tf_load()
401 tf->feature, in sata_rcar_tf_load()
402 tf->nsect, in sata_rcar_tf_load()
403 tf->lbal, in sata_rcar_tf_load()
404 tf->lbam, in sata_rcar_tf_load()
[all …]
A Dpata_samsung_cf.c176 const struct ata_taskfile *tf) in pata_s3c_tf_load() argument
181 if (tf->ctl != ap->last_ctl) { in pata_s3c_tf_load()
182 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_load()
183 ap->last_ctl = tf->ctl; in pata_s3c_tf_load()
187 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { in pata_s3c_tf_load()
203 if (tf->flags & ATA_TFLAG_DEVICE) in pata_s3c_tf_load()
218 tf->lbal = ata_inb(ap->host, ioaddr->lbal_addr); in pata_s3c_tf_read()
223 if (tf->flags & ATA_TFLAG_LBA48) { in pata_s3c_tf_read()
230 ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); in pata_s3c_tf_read()
231 ap->last_ctl = tf->ctl; in pata_s3c_tf_read()
[all …]
A Dlibata-sff.c413 tf->hob_feature, in ata_sff_tf_load()
414 tf->hob_nsect, in ata_sff_tf_load()
415 tf->hob_lbal, in ata_sff_tf_load()
416 tf->hob_lbam, in ata_sff_tf_load()
417 tf->hob_lbah); in ata_sff_tf_load()
427 tf->feature, in ata_sff_tf_load()
428 tf->nsect, in ata_sff_tf_load()
429 tf->lbal, in ata_sff_tf_load()
430 tf->lbam, in ata_sff_tf_load()
431 tf->lbah); in ata_sff_tf_load()
[all …]
A Dpata_ns87415.c140 ap->ops->sff_exec_command(ap, &qc->tf); in ns87415_bmdma_setup()
267 tf->command = ns87560_check_status(ap); in ns87560_tf_read()
268 tf->feature = 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 Dlibata-core.c643 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
645 sect = tf->lbal; in ata_tf_read_block()
779 tf->lbam = cyl; in ata_build_rw_tf()
1013 if ((tf->lbam == 0) && (tf->lbah == 0)) { in ata_dev_classify()
1018 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { in ata_dev_classify()
1023 if ((tf->lbam == 0x69) && (tf->lbah == 0x96)) { in ata_dev_classify()
1028 if ((tf->lbam == 0x3c) && (tf->lbah == 0xc3)) { in ata_dev_classify()
1033 if ((tf->lbam == 0xcd) && (tf->lbah == 0xab)) { in ata_dev_classify()
1541 qc->tf = *tf; in ata_exec_internal_sg()
2020 tf.lbal = log; in ata_read_log_page()
[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()
169 fis[12] = tf->nsect; in ata_tf_to_fis()
172 fis[15] = tf->ctl; in ata_tf_to_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()
1470 memset(&tf, 0, sizeof(tf)); in ata_eh_analyze_ncq_error()
[all …]
A Dpata_via.c399 ap->last_ctl = tf->ctl; in via_tf_load()
418 tf->hob_feature, in via_tf_load()
419 tf->hob_nsect, in via_tf_load()
420 tf->hob_lbal, in via_tf_load()
421 tf->hob_lbam, in via_tf_load()
422 tf->hob_lbah); in via_tf_load()
432 tf->feature, in via_tf_load()
433 tf->nsect, in via_tf_load()
434 tf->lbal, in via_tf_load()
435 tf->lbam, in via_tf_load()
[all …]
A Dsata_inic162x.c506 cpb->device = qc->tf.device; in inic_qc_prep()
508 cpb->nsect = qc->tf.nsect; in inic_qc_prep()
509 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
510 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
511 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
574 struct ata_taskfile tf; in inic_qc_fill_rtf() local
583 inic_tf_read(qc->ap, &tf); in inic_qc_fill_rtf()
588 rtf->command = tf.command; in inic_qc_fill_rtf()
589 rtf->feature = tf.feature; in inic_qc_fill_rtf()
647 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->command = 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_dwc_460ex.c318 tf->command, get_prot_descript(tf->protocol), tf->flags, in sata_dwc_tf_dump()
319 tf->device); in sata_dwc_tf_dump()
322 tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); in sata_dwc_tf_dump()
325 tf->hob_feature, tf->hob_nsect, tf->hob_lbal, tf->hob_lbam, in sata_dwc_tf_dump()
326 tf->hob_lbah); in sata_dwc_tf_dump()
777 if (ata_is_dma(qc->tf.protocol)) { in sata_dwc_dma_xfer_complete()
810 qc->tf.command, status, ap->print_id, qc->tf.protocol); in sata_dwc_qc_complete()
978 struct ata_taskfile *tf, in sata_dwc_exec_command_by_tag() argument
995 ata_sff_exec_command(ap, tf); in sata_dwc_exec_command_by_tag()
1044 sata_dwc_tf_dump(ap, &qc->tf); in sata_dwc_bmdma_start_by_tag()
[all …]
A Dsata_sx4.c361 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_ata_pkt()
391 buf[i++] = tf->ctl; in pdc20621_ata_pkt()
417 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) in pdc20621_host_pkt()
476 if (qc->tf.flags & ATA_TFLAG_LBA48) in pdc20621_dma_prep()
514 if (qc->tf.flags & ATA_TFLAG_LBA48) in pdc20621_nodata_prep()
535 switch (qc->tf.protocol) { in pdc20621_qc_prep()
668 switch (qc->tf.protocol) { in pdc20621_qc_issue()
951 tf->protocol == ATAPI_PROT_DMA); in pdc_tf_load_mmio()
952 ata_sff_tf_load(ap, tf); in pdc_tf_load_mmio()
959 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/drivers/target/
A Dtarget_core_fabric_configfs.c764 &tf->tf_tpg_port_cit); in target_fabric_make_lun()
910 &tf->tf_tpg_base_cit); in target_fabric_make_tpg()
913 &tf->tf_tpg_lun_cit); in target_fabric_make_tpg()
918 &tf->tf_tpg_np_cit); in target_fabric_make_tpg()
923 &tf->tf_tpg_nacl_cit); in target_fabric_make_tpg()
928 &tf->tf_tpg_attrib_cit); in target_fabric_make_tpg()
933 &tf->tf_tpg_auth_cit); in target_fabric_make_tpg()
938 &tf->tf_tpg_param_cit); in target_fabric_make_tpg()
1056 wwn = tf->tf_ops->fabric_make_wwn(tf, group, name); in target_fabric_make_wwn()
1061 wwn->wwn_tf = tf; in target_fabric_make_wwn()
[all …]
/linux/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/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/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()
1473 struct ieee80211_tdls_data *tf; in ieee80211_tdls_find_sw_timing_ie() local
1709 tf->sa); in ieee80211_process_tdls_channel_switch_resp()
1765 tf->sa, params.status); in ieee80211_process_tdls_channel_switch_resp()
1886 tf->sa); in ieee80211_process_tdls_channel_switch_req()
[all …]
/linux/drivers/net/
A Dthunderbolt.c333 if (!tf->page) in tbnet_free_buffers()
351 tf->page = NULL; in tbnet_free_buffers()
486 if (tf->page) in tbnet_alloc_rx_buffers()
494 if (!tf->page) { in tbnet_alloc_rx_buffers()
539 return tf; in tbnet_get_tx_buffer()
545 struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame); in tbnet_tx_callback() local
566 if (!tf->page) { in tbnet_alloc_tx_buffers()
575 tf->page = NULL; in tbnet_alloc_tx_buffers()
789 tf = container_of(frame, typeof(*tf), frame); in tbnet_poll()
791 page = tf->page; in tbnet_poll()
[all …]
/linux/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()

Completed in 90 milliseconds

12345