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

12

/haiku-fatelf/src/libs/tiff/
H A Dtif_aux.c67 uint16 **tf = td->td_transferfunction; local
70 tf[0] = tf[1] = tf[2] = 0;
76 if (!(tf[0] = (uint16 *)_TIFFmalloc(nbytes)))
78 tf[0][0] = 0;
81 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
85 if (!(tf[1] = (uint16 *)_TIFFmalloc(nbytes)))
87 _TIFFmemcpy(tf[1], tf[
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/ide/
H A Data.c210 device->tf.queued48.sector_count_0_7 = length & 0xff;
211 device->tf.queued48.sector_count_8_15 = (length >> 8) & 0xff;
212 device->tf.queued48.tag = qrequest->tag;
213 device->tf.queued48.lba_0_7 = pos & 0xff;
214 device->tf.queued48.lba_8_15 = (pos >> 8) & 0xff;
215 device->tf.queued48.lba_16_23 = (pos >> 16) & 0xff;
216 device->tf.queued48.lba_24_31 = (pos >> 24) & 0xff;
217 device->tf.queued48.lba_32_39 = (pos >> 32) & 0xff;
218 device->tf.queued48.lba_40_47 = (pos >> 40) & 0xff;
219 device->tf
[all...]
H A Datapi.c47 &device->tf, ide_mask_error) != B_OK) {
55 error = device->tf.read.error;
104 &device->tf, ide_mask_error | ide_mask_ireason);
112 if (!device->tf.packet_res.cmd_or_data
113 || device->tf.packet_res.input_or_output
187 if (device->tf.packet_res.cmd_or_data) {
193 if ((device->tf.packet_res.input_or_output ^ qrequest->is_write) == 0) {
212 &device->tf, ide_mask_byte_count);
214 length = device->tf.packet_res.byte_count_0_7
215 | ((int)device->tf
[all...]
H A Dbasic_protocol.c154 if (bus->controller->write_command_block_regs(bus->channel_cookie, &device->tf,
159 orig_command = device->tf.write.command;
163 device->tf.write.command = IDE_CMD_DEVICE_RESET;
165 &device->tf, ide_mask_command);
166 device->tf.write.command = orig_command;
221 if (bus->controller->write_command_block_regs(bus->channel_cookie, &device->tf,
264 if (bus->controller->write_command_block_regs(bus->channel_cookie, &device->tf,
301 SHOW_FLOW(3, "Writing command 0x%02x", (int)device->tf.write.command);
303 &device->tf, ide_mask_command) != B_OK)
384 device->tf
[all...]
H A Dide_internal.h103 ide_task_file tf; // task file member in struct:ide_device_info
271 ide_task_file tf; local
273 bus->controller->read_command_block_regs(bus->channel_cookie, &tf,
276 return bus->devices[tf.lba.device];
288 &device->tf, ide_mask_sector_count);
290 return device->tf.queued.release;
H A Dqueuing.c340 device->tf.write.command = IDE_CMD_NOP;
342 device->tf.write.features = IDE_CMD_NOP_NOP;
359 &device->tf, ide_mask_error)) {
365 if ((device->tf.read.error & ide_error_abrt) == 0)
H A Ddevices.c198 device->tf.write.command = atapi ? IDE_CMD_IDENTIFY_PACKET_DEVICE
203 if (bus->controller->read_command_block_regs(bus->channel_cookie, &device->tf,
209 device->tf.lba.device = device->is_device1;
/haiku-fatelf/3rdparty/mmu_man/scripts/
H A Dbootstrap-haiku.sh30 tf=/tmp/haiku-files.org_raw_$$
31 wget -O $tf http://haiku-files.org/raw/ >/dev/null 2>&1 || error "wget error"
32 url="$(grep -m1 'http:.*nightly-.*gcc2hybrid-raw.zip' "$tf" | sed 's/.*href="//;s/".*//')"
35 rm "$tf"
H A DHardwareChecker.sh358 tf=/tmp/hw_checker_$$.html
363 check_all > "$tf"
365 open "$tf"
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_auxx.c40 uint16 **tf = td->td_transferfunction; local
43 tf[0] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16));
44 tf[0][0] = 0;
47 tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5);
50 tf[1] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16));
51 _TIFFmemcpy(tf[1], tf[0], n * sizeof (uint16));
52 tf[2] = (uint16 *)_TIFFmalloc(tif, n * sizeof (uint16));
53 _TIFFmemcpy(tf[2], tf[
[all...]
/haiku-fatelf/src/libs/ncurses/
H A Dtar-copy.sh70 LIST=`tar tf $TMP 2>&1`
/haiku-fatelf/headers/os/drivers/bus/
H A DIDE.h43 (void *channel_cookie, union ide_task_file *tf, ide_reg_mask mask);
45 (void *channel_cookie, union ide_task_file *tf, ide_reg_mask mask);
/haiku-fatelf/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.c32 write_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
34 return sATAAdapter->write_command_block_regs((ata_adapter_channel_info *)channel_cookie, tf, mask);
39 read_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
41 return sATAAdapter->read_command_block_regs((ata_adapter_channel_info *)channel_cookie, tf, mask);
/haiku-fatelf/src/add-ons/kernel/busses/ide/generic_ide_pci/
H A Dgeneric_ide_pci.c32 write_command_block_regs(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
34 return ide_adapter->write_command_block_regs((ide_adapter_channel_info *)channel_cookie, tf, mask);
39 read_command_block_regs(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
41 return ide_adapter->read_command_block_regs((ide_adapter_channel_info *)channel_cookie, tf, mask);
/haiku-fatelf/src/add-ons/kernel/busses/ata/ide_isa/
H A Dide_isa.c112 write_command_block_regs(void *channel_cookie, ata_task_file *tf, argument
125 tf->raw.r[i + 7], i);
126 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i + 7]);
130 TRACE("write_comamnd_block_regs(): %x->LO(%x)\n", tf->raw.r[i], i);
131 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i]);
140 read_command_block_regs(void *channel_cookie, ata_task_file *tf, argument
152 tf->raw.r[i] = channel->isa->read_io_8(ioaddr + 1 + i);
153 TRACE("read_command_block_regs(%x): %x\n", i, (int)tf->raw.r[i]);
/haiku-fatelf/src/add-ons/kernel/busses/ide/ide_isa/
H A Dide_isa.c115 write_command_block_regs(void *channel_cookie, ide_task_file *tf, argument
128 tf->raw.r[i + 7], i);
129 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i + 7]);
133 TRACE("write_comamnd_block_regs(): %x->LO(%x)\n", tf->raw.r[i], i);
134 channel->isa->write_io_8(ioaddr + 1 + i, tf->raw.r[i]);
143 read_command_block_regs(void *channel_cookie, ide_task_file *tf, argument
155 tf->raw.r[i] = channel->isa->read_io_8(ioaddr + 1 + i);
156 TRACE("read_command_block_regs(%x): %x\n", i, (int)tf->raw.r[i]);
/haiku-fatelf/src/add-ons/kernel/busses/ata/promise_tx2/
H A Dpromise_tx2.c41 write_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
43 return sATAAdapter->write_command_block_regs((ata_adapter_channel_info *)channel_cookie, tf, mask);
48 read_command_block_regs(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
50 return sATAAdapter->read_command_block_regs((ata_adapter_channel_info *)channel_cookie, tf, mask);
/haiku-fatelf/headers/private/drivers/
H A Data_adapter.h138 ata_task_file *tf, ata_reg_mask mask);
140 ata_task_file *tf, ata_reg_mask mask);
H A Dide_adapter.h139 ide_task_file *tf, ide_reg_mask mask);
141 ide_task_file *tf, ide_reg_mask mask);
/haiku-fatelf/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.c281 task_file_write(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
283 return sATAAdapter->write_command_block_regs(channel_cookie,tf,mask);
288 task_file_read(void *channel_cookie, ata_task_file *tf, ata_reg_mask mask) argument
290 return sATAAdapter->read_command_block_regs(channel_cookie,tf,mask);
/haiku-fatelf/src/add-ons/kernel/busses/ide/legacy_sata/
H A Dlegacy_sata.c283 task_file_write(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
285 return ide_adapter->write_command_block_regs(channel_cookie,tf,mask);
290 task_file_read(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
292 return ide_adapter->read_command_block_regs(channel_cookie,tf,mask);
/haiku-fatelf/src/add-ons/kernel/busses/ide/promise_tx2/
H A Dpromise_tx2.c34 write_command_block_regs(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
36 return ide_adapter->write_command_block_regs((ide_adapter_channel_info *)channel_cookie, tf, mask);
41 read_command_block_regs(void *channel_cookie, ide_task_file *tf, ide_reg_mask mask) argument
43 return ide_adapter->read_command_block_regs((ide_adapter_channel_info *)channel_cookie, tf, mask);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_trylock/
H A D1-2.c127 void * tf(void * arg) function
342 if (tf((void *)td) != NULL)
357 ret = pthread_create(&child_th, NULL, tf, td);
H A D2-1.c115 void * tf(void * arg) function
318 if (tf((void *)td) != NULL)
333 ret = pthread_create(&child_th, NULL, tf, td);
H A D4-2.c125 void * tf(void * arg) function
330 if (tf((void *)td) != NULL)
345 ret = pthread_create(&child_th, NULL, tf, td);

Completed in 147 milliseconds

12