Searched refs:tf (Results 26 - 50 of 126) sorted by relevance

123456

/linux-master/drivers/ata/
H A Dpata_pdc202xx_old.c39 const struct ata_taskfile *tf)
41 iowrite8(tf->command, ap->ioaddr.command_addr);
179 struct ata_taskfile *tf = &qc->tf; local
199 if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATAPI_PROT_DMA) {
202 if (tf->flags & ATA_TFLAG_WRITE)
229 struct ata_taskfile *tf = &qc->tf; local
238 if (tf
38 pdc202xx_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dpata_netcell.c24 struct ata_taskfile *tf, __le16 *id)
26 unsigned int err_mask = ata_do_dev_read_id(adev, tf, id);
23 netcell_read_id(struct ata_device *adev, struct ata_taskfile *tf, __le16 *id) argument
H A Dsata_sx4.c209 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, argument
348 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE)))
350 else if (tf->protocol == ATA_PROT_NODATA)
360 if (tf->protocol == ATA_PROT_NODATA)
378 buf[i++] = tf->ctl;
383 static inline void pdc20621_host_pkt(struct ata_taskfile *tf, u8 *buf, argument
402 if ((tf
902 pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
910 pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dpata_via.c382 * @tf: ATA taskfile register set
390 static void via_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) argument
394 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR;
397 if (tf->ctl != ap->last_ctl) {
398 iowrite8(tf->ctl, ioaddr->ctl_addr);
399 ap->last_ctl = tf->ctl;
404 if (tf->flags & ATA_TFLAG_DEVICE) {
405 iowrite8(tf->device, ioaddr->device_addr);
406 vp->cached_device = tf->device;
410 if (is_addr && (tf
[all...]
H A Dpdc_adma.c263 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0);
303 if (qc->tf.protocol != ATA_PROT_DMA)
321 buf[i++] = qc->tf.device;
323 if ((qc->tf.flags & ATA_TFLAG_LBA48)) {
324 buf[i++] = qc->tf.hob_nsect;
326 buf[i++] = qc->tf.hob_lbal;
328 buf[i++] = qc->tf.hob_lbam;
330 buf[i++] = qc->tf.hob_lbah;
333 buf[i++] = qc->tf.nsect;
335 buf[i++] = qc->tf
[all...]
H A Dlibata-pmp.c42 struct ata_taskfile tf; local
45 ata_tf_init(pmp_dev, &tf);
46 tf.command = ATA_CMD_PMP_READ;
47 tf.protocol = ATA_PROT_NODATA;
48 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE | ATA_TFLAG_LBA48;
49 tf.feature = reg;
50 tf.device = link->pmp;
52 err_mask = ata_exec_internal(pmp_dev, &tf, NULL, DMA_NONE, NULL, 0,
57 *r_val = tf.nsect | tf
79 struct ata_taskfile tf; local
[all...]
H A Dsata_promise.c143 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
144 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
493 switch (qc->tf.protocol) {
495 if (!(qc->tf.flags & ATA_TFLAG_WRITE))
514 dev_sel = qc->tf.device;
522 buf[17] = qc->tf.nsect;
524 buf[19] = qc->tf.lbal;
527 if (qc->tf.protocol != ATAPI_PROT_DMA)
535 buf[23] = qc->tf.lbam;
537 buf[25] = qc->tf
1025 pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
1031 pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dlibata.h47 extern u64 ata_tf_to_lba(const struct ata_taskfile *tf);
48 extern u64 ata_tf_to_lba48(const struct ata_taskfile *tf);
51 extern u64 ata_tf_read_block(const struct ata_taskfile *tf,
54 struct ata_taskfile *tf, const u8 *cdb,
66 struct ata_taskfile *tf, bool set_active);
126 const struct ata_taskfile *tf);
H A Dsata_sil24.c482 static void sil24_read_tf(struct ata_port *ap, int tag, struct ata_taskfile *tf) argument
490 ata_tf_from_fis(fis, tf);
598 const struct ata_taskfile *tf,
610 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis);
655 struct ata_taskfile tf; local
669 ata_tf_init(link->device, &tf); /* doesn't really matter */
670 rc = sil24_exec_polled_cmd(ap, pmp, &tf, 0, PRB_CTRL_SRST,
680 sil24_read_tf(ap, 0, &tf);
681 *class = ata_port_classify(ap, &tf);
792 u8 prot = qc->tf
597 sil24_exec_polled_cmd(struct ata_port *ap, int pmp, const struct ata_taskfile *tf, int is_cmd, u32 ctrl, unsigned int timeout_msec) argument
[all...]
H A Dsata_dwc_460ex.c515 trace_ata_bmdma_start(ap, &qc->tf, tag);
534 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) {
555 __func__, get_prot_descript(qc->tf.protocol));
557 if (ata_is_dma(qc->tf.protocol)) {
575 } else if (ata_is_pio(qc->tf.protocol)) {
645 get_prot_descript(qc->tf.protocol));
646 if (ata_is_dma(qc->tf.protocol)) {
724 if (ata_is_dma(qc->tf.protocol)) {
755 qc->tf.command, status, ap->print_id, qc->tf
922 sata_dwc_exec_command_by_tag(struct ata_port *ap, struct ata_taskfile *tf, u8 tag, u32 cmd_issued) argument
[all...]
H A Dlibata-eh.c1389 struct ata_taskfile tf; local
1392 ata_tf_init(dev, &tf);
1394 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;
1395 tf.command = ATA_CMD_PACKET;
1396 tf.protocol = ATAPI_PROT_NODATA;
1398 err_mask = ata_exec_internal(dev, &tf, cdb, DMA_NONE, NULL, 0, 0);
1400 *r_sense_key = tf.error >> 4;
1421 struct ata_taskfile tf; local
1434 ata_tf_init(dev, &tf);
1435 tf
1480 struct ata_taskfile tf; local
1575 const struct ata_taskfile *tf = &qc->result_tf; local
3010 struct ata_taskfile tf; local
3301 struct ata_taskfile tf; local
[all...]
H A Dsata_mv.c1432 if (ata_is_ncq(qc->tf.protocol))
1864 ap->ops->sff_exec_command(ap, &qc->tf);
1878 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE);
1956 struct ata_taskfile *tf = &qc->tf; local
1970 if ((tf->flags & ATA_TFLAG_WRITE) && is_multi_taskfile(tf)) {
1972 switch (tf->command) {
1974 tf->command = ATA_CMD_PIO_WRITE;
1977 tf
2004 struct ata_taskfile *tf = &qc->tf; local
2105 struct ata_taskfile *tf = &qc->tf; local
[all...]
H A Dsata_nv.c220 __le16 tf[12]; /* 8-31 */ member in struct:nv_adma_cpb
316 static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf);
761 static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf) argument
772 ata_sff_tf_read(ap, tf);
775 static unsigned int nv_adma_tf_to_cpb(struct ata_taskfile *tf, __le16 *cpb) argument
779 if (tf->flags & ATA_TFLAG_ISADDR) {
780 if (tf->flags & ATA_TFLAG_LBA48) {
781 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->hob_feature | WNB);
782 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->hob_nsect);
783 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf
[all...]
H A Dpata_arasan_cf.c373 if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol))
381 u32 rw = acdev->qc->tf.flags & ATA_TFLAG_WRITE;
435 u32 write = acdev->qc->tf.flags & ATA_TFLAG_WRITE;
639 if (qc->tf.flags & ATA_TFLAG_WRITE)
678 struct ata_taskfile *tf = &qc->tf; local
680 u32 write = tf->flags & ATA_TFLAG_WRITE;
685 ap->ops->sff_exec_command(ap, tf);
695 if (!ata_is_dma(qc->tf.protocol))
704 switch (qc->tf
[all...]
H A Dsata_sil.c221 unsigned long tf; /* ATA taskfile register block */ member in struct:__anon158
232 /* tf ctl bmdma bmdma2 fifo scr sien mode sfis */
273 ap->ops->sff_exec_command(ap, &qc->tf);
278 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE);
447 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) {
462 * need to check ata_is_atapi(qc->tf.protocol) again.
468 if (ata_is_dma(qc->tf.protocol)) {
495 if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol))
771 ioaddr->cmd_addr = mmio_base + sil_port[i].tf;
779 ata_port_pbar_desc(ap, SIL_MMIO_BAR, sil_port[i].tf, "t
[all...]
H A Dsata_fsl.c514 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis);
517 if (ata_is_atapi(qc->tf.protocol)) {
528 if (qc->tf.protocol == ATA_PROT_NCQ)
786 struct ata_taskfile tf; local
794 tf.lbah = (temp >> 24) & 0xff;
795 tf.lbam = (temp >> 16) & 0xff;
796 tf.lbal = (temp >> 8) & 0xff;
797 tf.nsect = temp & 0xff;
799 return ata_port_classify(ap, &tf);
924 struct ata_taskfile tf; local
[all...]
H A Dahci_qoriq.c99 struct ata_taskfile tf; local
123 ata_tf_init(link->device, &tf);
124 tf.status = ATA_BUSY;
125 ata_tf_to_fis(&tf, 0, 0, d2h_fis);
/linux-master/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_info_packet.h39 enum color_transfer_func tf);
/linux-master/kernel/
H A Dwatch_queue.c310 struct watch_notification_type_filter *tf; local
334 tf = memdup_array_user(_filter->filters, filter.nr_filters, sizeof(*tf));
335 if (IS_ERR(tf))
336 return PTR_ERR(tf);
340 if ((tf[i].info_filter & ~tf[i].info_mask) ||
341 tf[i].info_mask & WATCH_INFO_LENGTH)
344 if (tf[i].type >= WATCH_TYPE__NR)
360 if (tf[
[all...]
/linux-master/include/linux/
H A Dsrcutiny.h84 char *tt, char *tf)
90 tt, tf, idx,
83 srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf) argument
H A Dlibata.h602 struct ata_taskfile tf; member in struct:ata_queued_cmd
909 unsigned int (*read_id)(struct ata_device *dev, struct ata_taskfile *tf,
957 void (*sff_tf_load)(struct ata_port *ap, const struct ata_taskfile *tf);
958 void (*sff_tf_read)(struct ata_port *ap, struct ata_taskfile *tf);
960 const struct ata_taskfile *tf);
1046 static inline int is_multi_taskfile(struct ata_taskfile *tf) argument
1048 return (tf->command == ATA_CMD_READ_MULTI) ||
1049 (tf->command == ATA_CMD_WRITE_MULTI) ||
1050 (tf->command == ATA_CMD_READ_MULTI_EXT) ||
1051 (tf
1805 ata_tf_init(struct ata_device *dev, struct ata_taskfile *tf) argument
[all...]
/linux-master/net/6lowpan/
H A Diphc.c503 /* get the ecn values from iphc tf format and set it to ipv6hdr */
504 static inline void lowpan_iphc_tf_set_ecn(struct ipv6hdr *hdr, const u8 *tf) argument
507 u8 ecn = tf[0] & 0xc0;
513 /* get the dscp values from iphc tf format and set it to ipv6hdr */
514 static inline void lowpan_iphc_tf_set_dscp(struct ipv6hdr *hdr, const u8 *tf) argument
517 u8 dscp = tf[0] & 0x3f;
525 /* get the flow label values from iphc tf format and set it to ipv6hdr */
548 u8 tf[4]; local
554 if (lowpan_fetch_skb(skb, tf, 4))
563 lowpan_iphc_tf_set_ecn(hdr, tf);
1020 u8 tc = lowpan_iphc_get_tc(hdr), tf[4], val; local
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dtdls.c469 struct ieee80211_tdls_data *tf; local
477 tf = skb_put(skb, offsetof(struct ieee80211_tdls_data, u));
478 memcpy(tf->da, peer, ETH_ALEN);
479 memcpy(tf->sa, priv->curr_addr, ETH_ALEN);
480 tf->ether_type = cpu_to_be16(ETH_P_TDLS);
481 tf->payload_type = WLAN_TDLS_SNAP_RFTYPE;
485 tf->category = WLAN_CATEGORY_TDLS;
486 tf->action_code = WLAN_TDLS_SETUP_REQUEST;
487 skb_put(skb, sizeof(tf->u.setup_req));
488 tf
[all...]
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_sw_fence.c582 struct timed_fence tf; local
585 timed_fence_init(&tf, target = jiffies);
586 if (!i915_sw_fence_done(&tf.fence)) {
591 timed_fence_fini(&tf);
595 timed_fence_init(&tf, target = jiffies + delay);
596 if (i915_sw_fence_done(&tf.fence)) {
602 i915_sw_fence_wait(&tf.fence);
605 if (!i915_sw_fence_done(&tf.fence)) {
615 timed_fence_fini(&tf);
622 timed_fence_fini(&tf);
[all...]
/linux-master/tools/perf/util/
H A Dprobe-finder.c1229 static bool trace_event_finder_overlap(struct trace_event_finder *tf) argument
1233 for (i = 0; i < tf->ntevs; i++) {
1234 if (tf->pf.addr == tf->tevs[i].point.address)
1243 struct trace_event_finder *tf = local
1255 if (trace_event_finder_overlap(tf))
1259 if (tf->ntevs == tf->max_tevs) {
1261 tf->max_tevs);
1264 tev = &tf
1364 struct trace_event_finder tf = { local
[all...]

Completed in 251 milliseconds

123456