Searched refs:tf (Results 1 - 25 of 45) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dsata_promise.h44 static inline unsigned int pdc_pkt_header(struct ata_taskfile *tf, argument
54 switch (tf->protocol) {
56 if (!(tf->flags & ATA_TFLAG_WRITE))
85 buf[15] = tf->ctl;
90 static inline unsigned int pdc_pkt_footer(struct ata_taskfile *tf, u8 *buf, argument
93 if (tf->flags & ATA_TFLAG_DEVICE) {
95 buf[i++] = tf->device;
100 buf[i++] = tf->command;
105 static inline unsigned int pdc_prep_lba28(struct ata_taskfile *tf, u8 *buf, unsigned int i) argument
111 buf[i++] = tf
128 pdc_prep_lba48(struct ata_taskfile *tf, u8 *buf, unsigned int i) argument
[all...]
H A Dsata_svw.c123 static void k2_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) argument
126 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR;
128 if (tf->ctl != ap->last_ctl) {
129 writeb(tf->ctl, ioaddr->ctl_addr);
130 ap->last_ctl = tf->ctl;
133 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) {
134 writew(tf->feature | (((u16)tf->hob_feature) << 8),
136 writew(tf->nsect | (((u16)tf
159 k2_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf) argument
[all...]
H A Dsata_vsc.c156 static void vsc_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) argument
159 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR;
166 if ((tf->ctl & ATA_NIEN) != (ap->last_ctl & ATA_NIEN)) {
167 ap->last_ctl = tf->ctl;
168 vsc_intr_mask_update(ap, tf->ctl & ATA_NIEN);
170 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) {
171 writew(tf->feature | (((u16)tf->hob_feature) << 8),
173 writew(tf->nsect | (((u16)tf
196 vsc_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf) argument
[all...]
H A Dlibata-core.c112 * @tf: Taskfile to convert
123 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 *fis, u8 pmp) argument
128 fis[2] = tf->command;
129 fis[3] = tf->feature;
131 fis[4] = tf->lbal;
132 fis[5] = tf->lbam;
133 fis[6] = tf->lbah;
134 fis[7] = tf->device;
136 fis[8] = tf->hob_lbal;
137 fis[9] = tf
163 ata_tf_from_fis(const u8 *fis, struct ata_taskfile *tf) argument
222 ata_rwcmd_protocol(struct ata_taskfile *tf, struct ata_device *dev) argument
267 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev) argument
315 ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, u64 block, u32 n_block, unsigned int tf_flags, unsigned int tag) argument
671 ata_dev_classify(const struct ata_taskfile *tf) argument
719 struct ata_taskfile tf; local
816 ata_tf_to_lba48(struct ata_taskfile *tf) argument
830 ata_tf_to_lba(struct ata_taskfile *tf) argument
853 struct ata_taskfile tf; local
880 struct ata_taskfile tf; local
908 struct ata_taskfile tf; local
946 struct ata_taskfile tf; local
1356 ata_exec_internal_sg(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, int dma_dir, struct scatterlist *sg, unsigned int n_elem) argument
1509 ata_exec_internal(struct ata_device *dev, struct ata_taskfile *tf, const u8 *cdb, int dma_dir, void *buf, unsigned int buflen) argument
1542 struct ata_taskfile tf; local
1623 struct ata_taskfile tf; local
2905 ata_tf_to_host(struct ata_port *ap, const struct ata_taskfile *tf) argument
3908 struct ata_taskfile tf; local
3945 struct ata_taskfile tf; local
[all...]
H A Dlibata-scsi.c453 * @tf: ptr to filled out taskfile
462 static void ata_dump_status(unsigned id, struct ata_taskfile *tf) argument
464 u8 stat = tf->command, err = tf->feature;
627 struct ata_taskfile *tf = &qc->result_tf; local
641 tf->command & (ATA_BUSY | ATA_DF | ATA_ERR | ATA_DRQ)) {
642 ata_to_sense_error(qc->ap->print_id, tf->command, tf->feature,
662 desc[3] = tf->feature; /* == error reg */
663 desc[5] = tf
697 struct ata_taskfile *tf = &qc->result_tf; local
911 struct ata_taskfile *tf = &qc->tf; local
1003 struct ata_taskfile *tf = &qc->tf; local
1122 struct ata_taskfile *tf = &qc->tf; local
2507 struct ata_taskfile *tf = &(qc->tf); local
[all...]
H A Dlibata-sff.c110 * @tf: ATA taskfile register set
118 void ata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) argument
121 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR;
123 if (tf->ctl != ap->last_ctl) {
124 iowrite8(tf->ctl, ioaddr->ctl_addr);
125 ap->last_ctl = tf->ctl;
129 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) {
130 iowrite8(tf->hob_feature, ioaddr->feature_addr);
131 iowrite8(tf->hob_nsect, ioaddr->nsect_addr);
132 iowrite8(tf
176 ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) argument
195 ata_tf_read(struct ata_port *ap, struct ata_taskfile *tf) argument
[all...]
H A Dpata_scc.c264 * @tf: ATA taskfile register set
269 static void scc_tf_load (struct ata_port *ap, const struct ata_taskfile *tf) argument
272 unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR;
274 if (tf->ctl != ap->last_ctl) {
275 out_be32(ioaddr->ctl_addr, tf->ctl);
276 ap->last_ctl = tf->ctl;
280 if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) {
281 out_be32(ioaddr->feature_addr, tf->hob_feature);
282 out_be32(ioaddr->nsect_addr, tf->hob_nsect);
283 out_be32(ioaddr->lbal_addr, tf
336 scc_tf_read(struct ata_port *ap, struct ata_taskfile *tf) argument
366 scc_exec_command(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dsata_sx4.c158 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
159 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
271 static inline void pdc20621_ata_sg(struct ata_taskfile *tf, u8 *buf, argument
293 static inline void pdc20621_host_sg(struct ata_taskfile *tf, u8 *buf, argument
315 static inline unsigned int pdc20621_ata_pkt(struct ata_taskfile *tf, argument
333 if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE)))
335 else if (tf->protocol == ATA_PROT_NODATA)
345 if (tf->protocol == ATA_PROT_NODATA)
363 buf[i++] = tf
368 pdc20621_host_pkt(struct ata_taskfile *tf, u8 *buf, unsigned int portno) argument
847 pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
855 pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dpata_pdc202xx_old.c148 struct ata_taskfile *tf = &qc->tf; local
166 if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATA_PROT_ATAPI_DMA)
170 if (tf->flags & ATA_TFLAG_WRITE)
194 struct ata_taskfile *tf = &qc->tf; local
203 if (tf->protocol == ATA_PROT_ATAPI_DMA || ( tf->flags & ATA_TFLAG_LBA48)) {
H A Dpdc_adma.c303 u8 pFLAGS = pORD | ((qc->tf.flags & ATA_TFLAG_WRITE) ? pDIRO : 0);
344 if (qc->tf.protocol != ATA_PROT_DMA) {
364 buf[i++] = qc->tf.device;
366 if ((qc->tf.flags & ATA_TFLAG_LBA48)) {
367 buf[i++] = qc->tf.hob_nsect;
369 buf[i++] = qc->tf.hob_lbal;
371 buf[i++] = qc->tf.hob_lbam;
373 buf[i++] = qc->tf.hob_lbah;
376 buf[i++] = qc->tf.nsect;
378 buf[i++] = qc->tf
[all...]
H A Dlibata.h62 extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev,
65 extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev);
69 struct ata_taskfile *tf, const u8 *cdb,
72 struct ata_taskfile *tf, const u8 *cdb,
H A Dsata_mv.c1086 struct ata_taskfile *tf; local
1090 if (ATA_PROT_DMA != qc->tf.protocol)
1095 if (!(qc->tf.flags & ATA_TFLAG_WRITE))
1111 tf = &qc->tf;
1119 switch (tf->command) {
1125 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0);
1130 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0);
1131 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0);
1135 BUG_ON(tf
1170 struct ata_taskfile *tf; local
1956 struct ata_taskfile tf; local
[all...]
H A Dlibata-eh.c451 switch (qc->tf.protocol) {
471 qc->tf.command, drv_stat, host_stat);
906 struct ata_taskfile tf; local
911 ata_tf_init(dev, &tf);
912 tf.command = ATA_CMD_READ_LOG_EXT;
913 tf.lbal = page;
914 tf.nsect = sectors;
915 tf.hob_nsect = sectors >> 8;
916 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_LBA48 | ATA_TFLAG_DEVICE;
917 tf
941 ata_eh_read_log_10h(struct ata_device *dev, int *tag, struct ata_taskfile *tf) argument
999 struct ata_taskfile tf; local
1093 struct ata_taskfile tf; local
1151 ata_eh_analyze_tf(struct ata_queued_cmd *qc, const struct ata_taskfile *tf) argument
[all...]
H A Dsata_promise.c139 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
140 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
464 switch (qc->tf.protocol) {
466 if (!(qc->tf.flags & ATA_TFLAG_WRITE))
500 if (qc->tf.protocol != ATA_PROT_ATAPI_DMA) {
541 switch (qc->tf.protocol) {
547 i = pdc_pkt_header(&qc->tf, qc->ap->prd_dma,
550 if (qc->tf.flags & ATA_TFLAG_LBA48)
551 i = pdc_prep_lba48(&qc->tf, pp->pkt, i);
553 i = pdc_prep_lba28(&qc->tf, p
803 pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
811 pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf) argument
[all...]
H A Dlibata-acpi.c471 struct ata_taskfile tf; local
486 ata_tf_init(dev, &tf);
488 /* convert gtf to tf */
489 tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE; /* TBD */
490 tf.protocol = ATA_PROT_NODATA;
491 tf.feature = gtf->tfa[0]; /* 0x1f1 */
492 tf.nsect = gtf->tfa[1]; /* 0x1f2 */
493 tf.lbal = gtf->tfa[2]; /* 0x1f3 */
494 tf.lbam = gtf->tfa[3]; /* 0x1f4 */
495 tf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/papd/
H A Dprintcap.c177 int tf; local
182 tf = 0;
199 tf = open(cap, 0);
202 tf = open(cp, 0);
204 if (tf==0)
205 tf = open(cap, 0);
207 tf = open(cap, 0);
209 if (tf < 0)
216 cnt = read(tf, ibuf, BUFSIZ);
218 close(tf);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/
H A Dprintcap.c177 int tf; local
182 tf = 0;
199 tf = open(cap, 0);
202 tf = open(cp, 0);
204 if (tf==0)
205 tf = open(cap, 0);
207 tf = open(cap, 0);
209 if (tf < 0)
216 cnt = read(tf, ibuf, BUFSIZ);
218 close(tf);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dtest042.tcl110 set tf $basename.$i.db
112 set tf $basename.0.db
116 $method $testdir $tf $nentries $iter $i $procs &"
119 $testdir $tf $nentries $iter $i $procs &]
128 set tf [file tail $file]
129 set db [eval {berkdb_open -env $env $tf}]
152 proc test042_dbinit { env nentries method oargs tf } {
158 -mode 0644 $omethod} $oargs $tf]
169 puts "\tTest042.a: put loop $tf"
H A Dreputilsnoenv.tcl119 proc replmsglen_noenv { machid {tf "to"}} {
129 if { $tf == "to" } {
139 proc replclear_noenv { machid {tf "to"}} {
149 if { $tf == "to" } {
174 if { $tf == "to" } {
188 # process, depending on 'tf'.
189 proc replready_noenv { machid tf } {
217 if { ($tf == "to" && $machid == $toid) || \
218 ($tf == "from" && $machid == $fromid) } {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/psf/
H A Detc2ps.sh8 # $0 begins with the filter name, e.g. df, tf. Each format is a separate
42 tf*)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/psf/
H A Detc2ps.sh8 # $0 begins with the filter name, e.g. df, tf. Each format is a separate
42 tf*)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Data.h386 static inline int is_atapi_taskfile(const struct ata_taskfile *tf) argument
388 return (tf->protocol == ATA_PROT_ATAPI) ||
389 (tf->protocol == ATA_PROT_ATAPI_NODATA) ||
390 (tf->protocol == ATA_PROT_ATAPI_DMA);
393 static inline int is_multi_taskfile(struct ata_taskfile *tf) argument
395 return (tf->command == ATA_CMD_READ_MULTI) ||
396 (tf->command == ATA_CMD_WRITE_MULTI) ||
397 (tf->command == ATA_CMD_READ_MULTI_EXT) ||
398 (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
399 (tf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/
H A Disdn_common.h36 extern void isdn_timer_ctrl(int tf, int onoff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/qnx4/
H A Dbitmap.c27 int *const tf)
30 int tot = *tf;
55 *tf = tot;
26 count_bits(register const char *bmPart, register int size, int *const tf) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/alpha/
H A Ddsputil_alpha_asm.S36 #define tf a4 define
220 zap t1, 0xaa, tf # 0x00ff00ff00ff00ff
250 minsw4 t0, tf, t0 # 0 6
260 minsw4 t3, tf, t3 # 1 6
266 minsw4 t6, tf, t6 # 2 6
273 minsw4 t9, tf, t9 # 3 6

Completed in 300 milliseconds

12