Home
last modified time | relevance | path

Searched refs:tf (Results 51 – 75 of 180) sorted by relevance

12345678

/openbmc/linux/drivers/ata/
H A Dsata_sil.c221 unsigned long tf; /* ATA taskfile register block */ member
273 ap->ops->sff_exec_command(ap, &qc->tf); in sil_bmdma_setup()
278 unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); in sil_bmdma_start()
447 if (unlikely(!qc || (qc->tf.flags & ATA_TFLAG_POLLING))) { in sil_host_intr()
468 if (ata_is_dma(qc->tf.protocol)) { in sil_host_intr()
495 if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol)) in sil_host_intr()
771 ioaddr->cmd_addr = mmio_base + sil_port[i].tf; in sil_init_one()
779 ata_port_pbar_desc(ap, SIL_MMIO_BAR, sil_port[i].tf, "tf"); in sil_init_one()
H A Dsata_fsl.c517 if (ata_is_atapi(qc->tf.protocol)) { in sata_fsl_qc_prep()
786 struct ata_taskfile tf; in sata_fsl_dev_classify() local
794 tf.lbah = (temp >> 24) & 0xff; in sata_fsl_dev_classify()
795 tf.lbam = (temp >> 16) & 0xff; in sata_fsl_dev_classify()
796 tf.lbal = (temp >> 8) & 0xff; in sata_fsl_dev_classify()
797 tf.nsect = temp & 0xff; in sata_fsl_dev_classify()
799 return ata_port_classify(ap, &tf); in sata_fsl_dev_classify()
924 struct ata_taskfile tf; in sata_fsl_softreset() local
941 ata_tf_init(link->device, &tf); in sata_fsl_softreset()
949 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
[all …]
H A Dsata_qstor.c269 if (qc->tf.protocol != ATA_PROT_DMA) in qs_qc_prep()
274 if ((qc->tf.flags & ATA_TFLAG_WRITE)) in qs_qc_prep()
276 if ((qc->tf.flags & ATA_TFLAG_LBA48)) in qs_qc_prep()
292 ata_tf_to_fis(&qc->tf, 0, 1, &buf[32]); in qs_qc_prep()
312 switch (qc->tf.protocol) { in qs_qc_issue()
376 if (qc && (!(qc->tf.flags & ATA_TFLAG_POLLING))) { in qs_intr_pkt()
419 if (!(qc->tf.flags & ATA_TFLAG_POLLING)) in qs_intr_mmio()
H A Dlibahci.c1341 struct ata_taskfile tf; in ahci_dev_classify() local
1345 tf.lbah = (tmp >> 24) & 0xff; in ahci_dev_classify()
1346 tf.lbam = (tmp >> 16) & 0xff; in ahci_dev_classify()
1347 tf.lbal = (tmp >> 8) & 0xff; in ahci_dev_classify()
1348 tf.nsect = (tmp) & 0xff; in ahci_dev_classify()
1462 struct ata_taskfile tf; in ahci_do_softreset() local
1481 ata_tf_init(link->device, &tf); in ahci_do_softreset()
1489 tf.ctl |= ATA_SRST; in ahci_do_softreset()
1501 tf.ctl &= ~ATA_SRST; in ahci_do_softreset()
1605 struct ata_taskfile tf; in ahci_do_hardreset() local
[all …]
H A Dsata_via.c77 static void svia_tf_load(struct ata_port *ap, const struct ata_taskfile *tf);
289 static void svia_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) in svia_tf_load() argument
293 if (tf->ctl != ap->last_ctl) { in svia_tf_load()
294 ttf = *tf; in svia_tf_load()
296 tf = &ttf; in svia_tf_load()
298 ata_sff_tf_load(ap, tf); in svia_tf_load()
383 if ((qc->tf.command == ATA_CMD_PACKET) && in vt6420_bmdma_start()
H A Dahci_qoriq.c99 struct ata_taskfile tf; in ahci_qoriq_hardreset() local
123 ata_tf_init(link->device, &tf); in ahci_qoriq_hardreset()
124 tf.status = ATA_BUSY; in ahci_qoriq_hardreset()
125 ata_tf_to_fis(&tf, 0, 0, d2h_fis); in ahci_qoriq_hardreset()
H A Dahci_xgene.c216 ctx->last_cmd[ap->port_no] = qc->tf.command; in xgene_ahci_qc_issue()
239 struct ata_taskfile *tf, __le16 *id) in xgene_ahci_read_id() argument
243 err_mask = ata_do_dev_read_id(dev, tf, id); in xgene_ahci_read_id()
359 struct ata_taskfile tf; in xgene_ahci_do_hardreset() local
366 ata_tf_init(link->device, &tf); in xgene_ahci_do_hardreset()
367 tf.status = ATA_BUSY; in xgene_ahci_do_hardreset()
368 ata_tf_to_fis(&tf, 0, 0, d2h_fis); in xgene_ahci_do_hardreset()
H A Dacard-ahci.c215 int is_atapi = ata_is_atapi(qc->tf.protocol); in acard_ahci_qc_prep()
226 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep()
241 if (qc->tf.flags & ATA_TFLAG_WRITE) in acard_ahci_qc_prep()
265 if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && in acard_ahci_qc_fill_rtf()
/openbmc/linux/drivers/target/
H A Dtarget_core_configfs.c174 return tf; in target_core_get_fabric()
196 if (!tf) { in target_core_register_fabric()
242 if (!tf) { in target_core_register_fabric()
254 &tf->tf_wwn_cit); in target_core_register_fabric()
256 config_group_init_type_name(&tf->tf_group, name, &tf->tf_wwn_cit); in target_core_register_fabric()
259 &tf->tf_discovery_cit); in target_core_register_fabric()
260 configfs_add_default_group(&tf->tf_disc_group, &tf->tf_group); in target_core_register_fabric()
264 return &tf->tf_group; in target_core_register_fabric()
479 if (!tf) { in target_register_template()
485 kfree(tf); in target_register_template()
[all …]
/openbmc/linux/include/linux/
H A Dsrcutiny.h84 char *tt, char *tf) in srcu_torture_stats_print() argument
90 tt, tf, idx, in srcu_torture_stats_print()
/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c1885 enum dc_transfer_func_predefined tf; in mod_color_calculate_degamma_params() local
1955 tf = input_tf->tf; in mod_color_calculate_degamma_params()
1957 if (tf == TRANSFER_FUNCTION_PQ) in mod_color_calculate_degamma_params()
1962 tf == TRANSFER_FUNCTION_BT709 || in mod_color_calculate_degamma_params()
1963 tf == TRANSFER_FUNCTION_GAMMA22 || in mod_color_calculate_degamma_params()
1964 tf == TRANSFER_FUNCTION_GAMMA24 || in mod_color_calculate_degamma_params()
1965 tf == TRANSFER_FUNCTION_GAMMA26) in mod_color_calculate_degamma_params()
1969 tf); in mod_color_calculate_degamma_params()
2127 enum dc_transfer_func_predefined tf; in mod_color_calculate_regamma_params() local
2185 tf = output_tf->tf; in mod_color_calculate_regamma_params()
[all …]
/openbmc/linux/drivers/media/tuners/
H A Dmax2165.c179 u8 tf; in max2165_set_rf() local
208 tf = t; in max2165_set_rf()
209 dprintk("tf = %X\n", tf); in max2165_set_rf()
210 tf |= tf_ntch << 4; in max2165_set_rf()
212 max2165_write_reg(priv, REG_TRACK_FILTER, tf); in max2165_set_rf()
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0024-Avoid-hardcoded-build-paths-into-ppc-libgcc.patch21 $(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep)
22 @src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/
H A Dtf-a-tests_2.8.0.bb10 SRC_URI_TRUSTED_FIRMWARE_A_TESTS ?= "git://git.trustedfirmware.org/TF-A/tf-a-tests.git;protocol=htt…
12 file://tf-a-tests-no-warn-rwx-segments.patch"
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_ata.c183 if (ata_is_ncq(qc->tf.protocol)) in sas_ata_qc_issue()
184 qc->tf.nsect = 0; in sas_ata_qc_issue()
186 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *)&task->ata_task.fis); in sas_ata_qc_issue()
188 if (ata_is_atapi(qc->tf.protocol)) { in sas_ata_qc_issue()
193 } else if (!ata_is_data(qc->tf.protocol)) { in sas_ata_qc_issue()
206 task->ata_task.use_ncq = ata_is_ncq(qc->tf.protocol); in sas_ata_qc_issue()
207 task->ata_task.dma_xfer = ata_is_dma(qc->tf.protocol); in sas_ata_qc_issue()
245 struct ata_taskfile tf; in sas_get_ata_command_set() local
250 ata_tf_from_fis(dev->frame_rcvd, &tf); in sas_get_ata_command_set()
252 return ata_dev_classify(&tf); in sas_get_ata_command_set()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c204 static u32 sh_mobile_i2c_iccl(unsigned long count_khz, u32 tLOW, u32 tf) in sh_mobile_i2c_iccl() argument
216 return (((count_khz * (tLOW + tf)) + 5000) / 10000); in sh_mobile_i2c_iccl()
219 static u32 sh_mobile_i2c_icch(unsigned long count_khz, u32 tHIGH, u32 tf) in sh_mobile_i2c_icch() argument
235 return (((count_khz * (tHIGH + tf)) + 5000) / 10000); in sh_mobile_i2c_icch()
267 u32 tHIGH, tLOW, tf; in sh_mobile_i2c_init() local
274 tf = 3; /* tf = 0.3 us */ in sh_mobile_i2c_init()
278 tf = 3; /* tf = 0.3 us */ in sh_mobile_i2c_init()
285 pd->iccl = sh_mobile_i2c_iccl(i2c_clk_khz, tLOW, tf); in sh_mobile_i2c_init()
286 pd->icch = sh_mobile_i2c_icch(i2c_clk_khz, tHIGH, tf); in sh_mobile_i2c_init()
H A Di2c-designware-common.c335 u32 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset) in i2c_dw_scl_hcnt() argument
371 return DIV_ROUND_CLOSEST_ULL((u64)ic_clk * (tSYMBOL + tf), MICRO) - in i2c_dw_scl_hcnt()
375 u32 i2c_dw_scl_lcnt(u32 ic_clk, u32 tLOW, u32 tf, int offset) in i2c_dw_scl_lcnt() argument
388 return DIV_ROUND_CLOSEST_ULL((u64)ic_clk * (tLOW + tf), MICRO) - in i2c_dw_scl_lcnt()
/openbmc/openbmc/poky/bitbake/lib/ply/
H A Dlex.py176 tf = open(filename,"w")
177tf.write("# %s.py. This file automatically created by PLY (version %s). Don't edit!\n" % (tabfile,…
178 tf.write("_tabversion = %s\n" % repr(__version__))
179 tf.write("_lextokens = %s\n" % repr(self.lextokens))
180 tf.write("_lexreflags = %s\n" % repr(self.lexreflags))
181 tf.write("_lexliterals = %s\n" % repr(self.lexliterals))
182 tf.write("_lexstateinfo = %s\n" % repr(self.lexstateinfo))
199 tf.write("_lexstatere = %s\n" % repr(tabre))
200 tf.write("_lexstateignore = %s\n" % repr(self.lexstateignore))
208 tf.write("_lexstateerrorf = %s\n" % repr(taberr))
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dliboe.py92 def touchfile(tf): argument
93 open(oe.path.join(src, tf), 'w+b').close()
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dqemu.py77 with open(f) as tf:
79 msg += next(tf)
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c133 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_GAMMA22 || in cm3_helper_translate_curve_to_hw_format()
134 output_tf->tf == TRANSFER_FUNCTION_HLG) { in cm3_helper_translate_curve_to_hw_format()
230 if (output_tf->tf == TRANSFER_FUNCTION_PQ || output_tf->tf == TRANSFER_FUNCTION_HLG) { in cm3_helper_translate_curve_to_hw_format()
235 if (output_tf->tf == TRANSFER_FUNCTION_PQ) in cm3_helper_translate_curve_to_hw_format()
394 if (output_tf->tf == TRANSFER_FUNCTION_PQ) { in cm3_helper_translate_curve_to_degamma_hw_format()
/openbmc/linux/fs/
H A Deventpoll.c2152 struct fd f, tf; in do_epoll_ctl() local
2163 tf = fdget(fd); in do_epoll_ctl()
2164 if (!tf.file) in do_epoll_ctl()
2169 if (!file_can_poll(tf.file)) in do_epoll_ctl()
2182 if (f.file == tf.file || !is_file_epoll(f.file)) in do_epoll_ctl()
2193 if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) || in do_epoll_ctl()
2224 is_file_epoll(tf.file)) { in do_epoll_ctl()
2231 if (is_file_epoll(tf.file)) { in do_epoll_ctl()
2232 tep = tf.file->private_data; in do_epoll_ctl()
2248 epi = ep_find(ep, tf.file, fd); in do_epoll_ctl()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/modules/inc/
H A Dmod_info_packet.h39 enum color_transfer_func tf);
/openbmc/linux/kernel/time/
H A Dtimer.c988 u32 tf; in lock_timer_base() local
995 tf = READ_ONCE(timer->flags); in lock_timer_base()
997 if (!(tf & TIMER_MIGRATING)) { in lock_timer_base()
998 base = get_timer_base(tf); in lock_timer_base()
1000 if (timer->flags == tf) in lock_timer_base()
1493 u32 tf; in del_timer_wait_running() local
1495 tf = READ_ONCE(timer->flags); in del_timer_wait_running()
1496 if (!(tf & (TIMER_MIGRATING | TIMER_IRQSAFE))) { in del_timer_wait_running()
1497 struct timer_base *base = get_timer_base(tf); in del_timer_wait_running()
/openbmc/linux/drivers/tty/serial/
H A Dmsm_serial.c843 void __iomem *tf; in msm_handle_tx_pio() local
846 tf = port->membase + UARTDM_TF; in msm_handle_tx_pio()
848 tf = port->membase + MSM_UART_TF; in msm_handle_tx_pio()
869 iowrite32_rep(tf, buf, 1); in msm_handle_tx_pio()
889 void __iomem *tf; in msm_handle_tx() local
894 tf = port->membase + UARTDM_TF; in msm_handle_tx()
903 iowrite32_rep(tf, buf, 1); in msm_handle_tx()
1604 void __iomem *tf; in __msm_console_write() local
1608 tf = port->membase + UARTDM_TF; in __msm_console_write()
1610 tf = port->membase + MSM_UART_TF; in __msm_console_write()
[all …]

12345678