Home
last modified time | relevance | path

Searched refs:bus_speed (Results 1 – 19 of 19) sorted by relevance

/linux-6.3-rc2/drivers/pci/hotplug/
A Dshpchp_hpc.c631 bus_speed = PCI_SPEED_33MHz; in shpc_get_cur_bus_speed()
634 bus_speed = PCI_SPEED_66MHz; in shpc_get_cur_bus_speed()
637 bus_speed = PCI_SPEED_66MHz_PCIX; in shpc_get_cur_bus_speed()
640 bus_speed = PCI_SPEED_100MHz_PCIX; in shpc_get_cur_bus_speed()
643 bus_speed = PCI_SPEED_133MHz_PCIX; in shpc_get_cur_bus_speed()
678 bus->cur_bus_speed = bus_speed; in shpc_get_cur_bus_speed()
855 bus_speed = PCI_SPEED_133MHz_PCIX; in shpc_get_max_bus_speed()
859 bus_speed = PCI_SPEED_66MHz_PCIX; in shpc_get_max_bus_speed()
861 bus_speed = PCI_SPEED_66MHz; in shpc_get_max_bus_speed()
863 bus_speed = PCI_SPEED_33MHz; in shpc_get_max_bus_speed()
[all …]
A Dibmphp_core.c502 u8 bus_speed; in ibmphp_update_slot_info() local
505 bus_speed = slot_cur->bus_on->current_speed; in ibmphp_update_slot_info()
508 switch (bus_speed) { in ibmphp_update_slot_info()
513 bus_speed += 0x01; in ibmphp_update_slot_info()
517 bus_speed = PCI_SPEED_UNKNOWN; in ibmphp_update_slot_info()
521 bus_speed += 0x01; in ibmphp_update_slot_info()
524 bus_speed = PCI_SPEED_UNKNOWN; in ibmphp_update_slot_info()
527 bus->cur_bus_speed = bus_speed; in ibmphp_update_slot_info()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-uniphier.c314 u32 bus_speed; in uniphier_i2c_probe() local
330 if (of_property_read_u32(dev->of_node, "clock-frequency", &bus_speed)) in uniphier_i2c_probe()
331 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_i2c_probe()
333 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_i2c_probe()
334 dev_err(dev, "invalid clock-frequency %d\n", bus_speed); in uniphier_i2c_probe()
355 priv->clk_cycle = clk_rate / bus_speed; in uniphier_i2c_probe()
A Di2c-bcm-iproc.c190 unsigned int bus_speed; member
991 unsigned int bus_speed; in bcm_iproc_i2c_cfg_speed() local
994 "clock-frequency", &bus_speed); in bcm_iproc_i2c_cfg_speed()
998 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()
1001 if (bus_speed < I2C_MAX_STANDARD_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()
1003 bus_speed); in bcm_iproc_i2c_cfg_speed()
1007 } else if (bus_speed < I2C_MAX_FAST_MODE_FREQ) { in bcm_iproc_i2c_cfg_speed()
1008 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()
1010 bus_speed = I2C_MAX_FAST_MODE_FREQ; in bcm_iproc_i2c_cfg_speed()
1013 iproc_i2c->bus_speed = bus_speed; in bcm_iproc_i2c_cfg_speed()
[all …]
A Di2c-sh_mobile.c117 unsigned long bus_speed; member
271 if (pd->bus_speed == I2C_MAX_STANDARD_MODE_FREQ) { in sh_mobile_i2c_init()
275 } else if (pd->bus_speed == I2C_MAX_FAST_MODE_FREQ) { in sh_mobile_i2c_init()
281 pd->bus_speed); in sh_mobile_i2c_init()
296 clks_per_cycle = clk_get_rate(pd->clk) / pd->bus_speed; in sh_mobile_i2c_v2_init()
877 u32 bus_speed; in sh_mobile_i2c_probe() local
903 ret = of_property_read_u32(dev->dev.of_node, "clock-frequency", &bus_speed); in sh_mobile_i2c_probe()
904 pd->bus_speed = (ret || !bus_speed) ? I2C_MAX_STANDARD_MODE_FREQ : bus_speed; in sh_mobile_i2c_probe()
954 dev_info(&dev->dev, "I2C adapter %d, bus speed %lu Hz\n", adap->nr, pd->bus_speed); in sh_mobile_i2c_probe()
A Di2c-uniphier-f.c519 u32 bus_speed; in uniphier_fi2c_probe() local
535 if (of_property_read_u32(dev->of_node, "clock-frequency", &bus_speed)) in uniphier_fi2c_probe()
536 bus_speed = I2C_MAX_STANDARD_MODE_FREQ; in uniphier_fi2c_probe()
538 if (!bus_speed || bus_speed > I2C_MAX_FAST_MODE_FREQ) { in uniphier_fi2c_probe()
539 dev_err(dev, "invalid clock-frequency %d\n", bus_speed); in uniphier_fi2c_probe()
560 priv->clk_cycle = clk_rate / bus_speed; in uniphier_fi2c_probe()
A Di2c-ismt.c196 static unsigned int bus_speed; variable
197 module_param(bus_speed, uint, S_IRUGO);
198 MODULE_PARM_DESC(bus_speed, "Bus Speed in kHz (0 = BIOS default)");
742 switch (bus_speed) { in ismt_hw_init()
779 bus_speed = 80; in ismt_hw_init()
782 bus_speed = 100; in ismt_hw_init()
785 bus_speed = 400; in ismt_hw_init()
788 bus_speed = 1000; in ismt_hw_init()
791 dev_dbg(dev, "SMBus clock is running at %d kHz\n", bus_speed); in ismt_hw_init()
A Di2c-synquacer.c538 u32 bus_speed; in synquacer_i2c_probe() local
545 bus_speed = i2c_acpi_find_bus_speed(&pdev->dev); in synquacer_i2c_probe()
546 if (!bus_speed) in synquacer_i2c_probe()
548 &bus_speed); in synquacer_i2c_probe()
600 if (bus_speed < I2C_MAX_FAST_MODE_FREQ) in synquacer_i2c_probe()
A Di2c-bcm-kona.c706 unsigned int bus_speed; in bcm_kona_i2c_assign_bus_speed() local
708 &bus_speed); in bcm_kona_i2c_assign_bus_speed()
714 switch (bus_speed) { in bcm_kona_i2c_assign_bus_speed()
730 pr_err("%d hz bus speed not supported\n", bus_speed); in bcm_kona_i2c_assign_bus_speed()
/linux-6.3-rc2/drivers/mmc/core/
A Dsdio.c519 unsigned int bus_speed, timing; in sdio_set_bus_speed_mode() local
531 bus_speed = SDIO_SPEED_SDR12; in sdio_set_bus_speed_mode()
535 bus_speed = SDIO_SPEED_SDR104; in sdio_set_bus_speed_mode()
541 bus_speed = SDIO_SPEED_DDR50; in sdio_set_bus_speed_mode()
548 bus_speed = SDIO_SPEED_SDR50; in sdio_set_bus_speed_mode()
555 bus_speed = SDIO_SPEED_SDR25; in sdio_set_bus_speed_mode()
563 bus_speed = SDIO_SPEED_SDR12; in sdio_set_bus_speed_mode()
574 speed |= bus_speed; in sdio_set_bus_speed_mode()
A Dmmc.c1541 goto bus_speed; in mmc_select_timing()
1563 bus_speed: in mmc_select_timing()
/linux-6.3-rc2/Documentation/i2c/busses/
A Di2c-ismt.rst16 * bus_speed (unsigned int)
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000/
A De1000_hw.c4810 hw->bus_speed = e1000_bus_speed_unknown; in e1000_get_bus_info()
4819 hw->bus_speed = (hw->bus_type == e1000_bus_type_pci) ? in e1000_get_bus_info()
4822 hw->bus_speed = (status & E1000_STATUS_PCI66) ? in e1000_get_bus_info()
4827 hw->bus_speed = e1000_bus_speed_66; in e1000_get_bus_info()
4830 hw->bus_speed = e1000_bus_speed_100; in e1000_get_bus_info()
4833 hw->bus_speed = e1000_bus_speed_133; in e1000_get_bus_info()
4836 hw->bus_speed = e1000_bus_speed_reserved; in e1000_get_bus_info()
A De1000_main.c1210 ((hw->bus_speed == e1000_bus_speed_133) ? 133 : in e1000_probe()
1211 (hw->bus_speed == e1000_bus_speed_120) ? 120 : in e1000_probe()
1212 (hw->bus_speed == e1000_bus_speed_100) ? 100 : in e1000_probe()
1213 (hw->bus_speed == e1000_bus_speed_66) ? 66 : 33), in e1000_probe()
A De1000_hw.h1338 e1000_bus_speed bus_speed; member
/linux-6.3-rc2/drivers/scsi/
A Dmyrb.h308 } __packed bus_speed:2; /* Byte 106 Bits 2-3 */ member
A Dmyrb.c974 if (enquiry2->scsi_cap.bus_speed == MYRB_SCSI_SPEED_ULTRA) in myrb_get_hba_config()
/linux-6.3-rc2/drivers/net/ethernet/neterion/
A Ds2io.h464 u16 bus_speed; member
A Ds2io.c1037 static int bus_speed[8] = {33, 133, 133, 200, 266, 133, 200, 266}; variable
1055 config->bus_speed = bus_speed[mode]; in s2io_print_pci_mode()
1125 int count = (nic->config.bus_speed * 125)/2; in init_tti()
1673 int count = (nic->config.bus_speed * 125)/4; in init_nic()
1792 if (nic->config.bus_speed == 266) { in init_nic()

Completed in 114 milliseconds