Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 66) sorted by relevance

123

/drivers/char/tpm/st33zp24/
Dspi.c74 int latency; member
136 nbr_dummy_bytes = phy->latency; in st33zp24_spi_send()
174 nbr_dummy_bytes = phy->latency; in read8_reg()
215 int latency = 1, status = 0; in evaluate_latency() local
218 while (!status && latency < MAX_SPI_LATENCY) { in evaluate_latency()
219 phy->latency = latency; in evaluate_latency()
221 latency++; in evaluate_latency()
223 return latency - 1; in evaluate_latency()
345 phy->latency = evaluate_latency(phy); in tpm_st33_spi_probe()
346 if (phy->latency <= 0) in tpm_st33_spi_probe()
/drivers/cpufreq/
Dpowernow-k7.c100 static unsigned int latency; variable
226 fidvidctl.bits.SGTC = latency; in change_FID()
241 fidvidctl.bits.SGTC = latency; in change_VID()
406 if (latency < pc.bits.sgtc) in powernow_acpi_init()
407 latency = pc.bits.sgtc; in powernow_acpi_init()
482 latency = psb->settlingtime; in powernow_decode_bios()
483 if (latency < 100) { in powernow_decode_bios()
487 "Correcting.\n", latency); in powernow_decode_bios()
488 latency = 100; in powernow_decode_bios()
552 sgtc = 100 * m * latency; in fixup_sgtc()
[all …]
Dcpufreq_governor.c310 unsigned int latency; in cpufreq_governor_init() local
346 latency = policy->cpuinfo.transition_latency / 1000; in cpufreq_governor_init()
347 if (latency == 0) in cpufreq_governor_init()
348 latency = 1; in cpufreq_governor_init()
352 MIN_LATENCY_MULTIPLIER * latency); in cpufreq_governor_init()
354 latency * LATENCY_MULTIPLIER)); in cpufreq_governor_init()
Dexynos5440-cpufreq.c103 unsigned int latency; member
305 dvfs_info->latency); in exynos_cpufreq_cpu_init()
379 if (of_property_read_u32(np, "clock-latency", &dvfs_info->latency)) in exynos_cpufreq_probe()
380 dvfs_info->latency = DEF_TRANS_LATENCY; in exynos_cpufreq_probe()
DKconfig122 'interactive' governor for latency-sensitive workloads.
180 do fast frequency switching (i.e, very low latency frequency
194 designed for latency-sensitive workloads.
196 This governor attempts to reduce the latency of clock
218 step-by-step latency issues between the minimum and maximum frequency
Dscpi-cpufreq.c76 return info->latency; in scpi_get_transition_latency()
Ds3c2410-cpufreq.c94 .latency = 10000000,
/drivers/media/pci/mantis/
Dmantis_pci.c51 u8 latency; in mantis_pci_init() local
97 pci_read_config_byte(pdev, PCI_LATENCY_TIMER, &latency); in mantis_pci_init()
98 mantis->latency = latency; in mantis_pci_init()
109 mantis->latency, in mantis_pci_init()
/drivers/acpi/
Dprocessor_idle.c283 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; in acpi_processor_get_power_info_fadt()
284 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; in acpi_processor_get_power_info_fadt()
459 cx.latency = obj->integer.value; in acpi_processor_get_power_info_cst()
582 if (x->latency > y->latency) in acpi_cst_latency_cmp()
584 if (x->latency < y->latency) in acpi_cst_latency_cmp()
595 tmp = x->latency; in acpi_cst_latency_swap()
596 x->latency = y->latency; in acpi_cst_latency_swap()
597 y->latency = tmp; in acpi_cst_latency_swap()
630 if (cx->type >= last_type && cx->latency < last_latency) in acpi_processor_power_verify()
632 last_latency = cx->latency; in acpi_processor_power_verify()
[all …]
/drivers/media/pci/tw68/
Dtw68-core.c52 static unsigned int latency = UNSET; variable
53 module_param(latency, int, 0444);
54 MODULE_PARM_DESC(latency, "pci latency timer");
247 if (UNSET != latency) { in tw68_initdev()
249 dev->name, latency); in tw68_initdev()
250 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, latency); in tw68_initdev()
/drivers/usb/isp1760/
Disp1760-if.c34 u8 latency, limit; in isp1761_pci_init() local
60 pci_read_config_byte(dev, PCI_LATENCY_TIMER, &latency); in isp1761_pci_init()
61 if (latency) { in isp1761_pci_init()
63 if (limit && limit < latency) in isp1761_pci_init()
/drivers/block/rsxx/
Dconfig.c42 cfg->data.intr_coal.latency = 0; in initialize_config()
207 card->config.data.intr_coal.latency); in rsxx_load_config()
Drsxx_cfg.h51 __u32 latency;/* Max wait time (in ns) */ member
/drivers/gpu/drm/i915/
Dintel_pm.c229 const struct cxsr_latency *latency; in intel_get_cxsr_latency() local
236 latency = &cxsr_latency_table[i]; in intel_get_cxsr_latency()
237 if (is_desktop == latency->is_desktop && in intel_get_cxsr_latency()
238 is_ddr3 == latency->is_ddr3 && in intel_get_cxsr_latency()
239 fsb == latency->fsb_freq && mem == latency->mem_freq) in intel_get_cxsr_latency()
240 return latency; in intel_get_cxsr_latency()
626 const struct cxsr_latency *latency; in pineview_update_wm() local
630 latency = intel_get_cxsr_latency(IS_PINEVIEW_G(dev), dev_priv->is_ddr3, in pineview_update_wm()
632 if (!latency) { in pineview_update_wm()
647 pixel_size, latency->display_sr); in pineview_update_wm()
[all …]
/drivers/tty/serial/8250/
D8250_omap.c109 u32 latency; member
467 priv->latency = priv->calc_latency; in omap_8250_set_termios()
555 pm_qos_update_request(&priv->pm_qos_request, priv->latency); in omap8250_uart_qos_work()
1177 priv->latency = PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE; in omap8250_probe()
1180 priv->latency); in omap8250_probe()
1377 priv->latency = PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE; in omap8250_runtime_suspend()
1402 priv->latency = priv->calc_latency; in omap8250_runtime_resume()
/drivers/media/pci/saa7134/
Dsaa7134-core.c63 static unsigned int latency = UNSET; variable
64 module_param(latency, int, 0444);
65 MODULE_PARM_DESC(latency,"pci latency timer");
920 latency = 0x0A; in saa7134_initdev()
940 if (UNSET != latency) { in saa7134_initdev()
942 dev->name,latency); in saa7134_initdev()
943 pci_write_config_byte(pci_dev, PCI_LATENCY_TIMER, latency); in saa7134_initdev()
/drivers/usb/serial/
Dftdi_sio.c77 unsigned int latency; /* latency setting in use */ member
1435 int l = priv->latency; in write_latency_timer()
1475 priv->latency = buf[0]; in read_latency_timer()
1711 return sprintf(buf, "%i\n", priv->latency); in latency_timer_show()
1724 priv->latency = v; in latency_timer_store()
1849 priv->latency = 16; in ftdi_sio_port_probe()
1891 int latency = ndi_latency_timer; in ftdi_NDI_device_setup() local
1893 if (latency == 0) in ftdi_NDI_device_setup()
1894 latency = 1; in ftdi_NDI_device_setup()
1895 if (latency > 99) in ftdi_NDI_device_setup()
[all …]
/drivers/net/fddi/skfp/
Dsmt.c87 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency);
1043 smt_fill_latency(smc,&sif->latency); /* set station latency */ in smt_send_sif_config()
1294 static void smt_fill_latency(struct s_smc *smc, struct smt_p_latency *latency) in smt_fill_latency() argument
1296 SMTSETPARA(latency,SMT_P_LATENCY) ; in smt_fill_latency()
1298 latency->lt_phyout_idx1 = phy_index(smc,0) ; in smt_fill_latency()
1299 latency->lt_latency1 = 10 ; /* in octets (byte clock) */ in smt_fill_latency()
1305 latency->lt_phyout_idx2 = phy_index(smc,1) ; in smt_fill_latency()
1306 latency->lt_latency2 = 10 ; /* in octets (byte clock) */ in smt_fill_latency()
1309 latency->lt_phyout_idx2 = 0 ; in smt_fill_latency()
1310 latency->lt_latency2 = 0 ; in smt_fill_latency()
/drivers/xen/
Dxen-acpi-processor.c99 dst_cx->latency = cx->latency; in push_cxx_to_hypervisor()
128 cx->type, cx->desc, (u32)cx->latency); in push_cxx_to_hypervisor()
/drivers/scsi/bfa/
Dbfa_core.c1614 attr->intr_attr.latency = iocfc->cfginfo->intr_attr.latency ? in bfa_iocfc_get_attr()
1615 be16_to_cpu(iocfc->cfginfo->intr_attr.latency) : in bfa_iocfc_get_attr()
1616 be16_to_cpu(iocfc->cfgrsp->intr_attr.latency); in bfa_iocfc_get_attr()
1629 iocfc->cfginfo->intr_attr.latency = cpu_to_be16(attr->latency); in bfa_iocfc_israttr_set()
1642 m->latency = iocfc->cfginfo->intr_attr.latency; in bfa_iocfc_israttr_set()
1645 bfa_trc(bfa, attr->latency); in bfa_iocfc_israttr_set()
/drivers/devfreq/event/
DKconfig11 (e.g., raw data, utilization, latency, bandwidth). The events
/drivers/i2c/busses/
Di2c-omap.c195 u32 latency; /* maximum mpu wkup latency */ member
197 long latency);
613 omap->latency = (1000000 * omap->threshold) / in omap_i2c_resize_fifo()
763 omap->set_mpu_wkup_lat(omap->dev, omap->latency); in omap_i2c_xfer()
1404 omap->latency = (1000000 * omap->fifo_size) / in omap_i2c_probe()
/drivers/tty/serial/
Domap-serial.c169 u32 latency; member
839 pm_qos_update_request(&up->pm_qos_request, up->latency); in serial_omap_uart_qos_work()
885 up->latency = up->calc_latency; in serial_omap_set_termios()
1681 up->latency = PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE; in serial_omap_probe()
1684 PM_QOS_CPU_DMA_LATENCY, up->latency); in serial_omap_probe()
1828 up->latency = PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE; in serial_omap_runtime_suspend()
1849 up->latency = up->calc_latency; in serial_omap_runtime_resume()
/drivers/media/pci/bt8xx/
Dbttv-cards.c95 static unsigned int latency = UNSET; variable
115 module_param(latency, int, 0444);
132 MODULE_PARM_DESC(latency,"pci latency timer");
4889 latency = 0x0A; in bttv_check_chipset()
4907 if (UNSET != latency) in bttv_check_chipset()
4908 pr_info("pci latency fixup [%d]\n", latency); in bttv_check_chipset()
4923 if (!triton1 && !vsfx && UNSET == latency) in bttv_handle_chipset()
4932 if (UNSET != latency) in bttv_handle_chipset()
4934 btv->c.nr, latency); in bttv_handle_chipset()
4950 if (UNSET != latency) in bttv_handle_chipset()
[all …]
/drivers/pci/pcie/
Daspm.c304 u32 latency, l1_switch_latency = 0; in pcie_aspm_check_latency() local
331 latency = max_t(u32, link->latency_up.l1, link->latency_dw.l1); in pcie_aspm_check_latency()
333 (latency + l1_switch_latency > acceptable->l1)) in pcie_aspm_check_latency()

123