/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 658 enum pci_bus_speed bus_speed = PCI_SPEED_UNKNOWN; in shpc_get_cur_bus_speed() local 670 bus_speed = PCI_SPEED_33MHz; in shpc_get_cur_bus_speed() 673 bus_speed = PCI_SPEED_66MHz; in shpc_get_cur_bus_speed() 676 bus_speed = PCI_SPEED_66MHz_PCIX; in shpc_get_cur_bus_speed() 679 bus_speed = PCI_SPEED_100MHz_PCIX; in shpc_get_cur_bus_speed() 682 bus_speed = PCI_SPEED_133MHz_PCIX; in shpc_get_cur_bus_speed() 685 bus_speed = PCI_SPEED_66MHz_PCIX_ECC; in shpc_get_cur_bus_speed() 688 bus_speed = PCI_SPEED_100MHz_PCIX_ECC; in shpc_get_cur_bus_speed() 691 bus_speed = PCI_SPEED_133MHz_PCIX_ECC; in shpc_get_cur_bus_speed() 694 bus_speed = PCI_SPEED_66MHz_PCIX_266; in shpc_get_cur_bus_speed() [all …]
|
D | ibmphp_core.c | 612 u8 bus_speed; in ibmphp_update_slot_info() local 634 bus_speed = slot_cur->bus_on->current_speed; in ibmphp_update_slot_info() 637 switch (bus_speed) { in ibmphp_update_slot_info() 642 bus_speed += 0x01; in ibmphp_update_slot_info() 646 bus_speed = PCI_SPEED_UNKNOWN; in ibmphp_update_slot_info() 650 bus_speed += 0x01; in ibmphp_update_slot_info() 653 bus_speed = PCI_SPEED_UNKNOWN; in ibmphp_update_slot_info() 656 bus->cur_bus_speed = bus_speed; in ibmphp_update_slot_info()
|
/drivers/i2c/busses/ |
D | i2c-rcar.c | 160 u32 bus_speed, in rcar_i2c_clock_calculate() argument 230 if (scl <= bus_speed) in rcar_i2c_clock_calculate() 238 scl, bus_speed, clk_get_rate(priv->clk), round, cdf, scgd); in rcar_i2c_clock_calculate() 533 u32 bus_speed; in rcar_i2c_probe() local 546 bus_speed = 100000; /* default 100 kHz */ in rcar_i2c_probe() 547 ret = of_property_read_u32(dev->of_node, "clock-frequency", &bus_speed); in rcar_i2c_probe() 548 if (ret < 0 && pdata && pdata->bus_speed) in rcar_i2c_probe() 549 bus_speed = pdata->bus_speed; in rcar_i2c_probe() 557 ret = rcar_i2c_clock_calculate(priv, bus_speed, dev); in rcar_i2c_probe()
|
D | i2c-sh_mobile.c | 123 unsigned long bus_speed; member 244 if (pd->bus_speed == STANDARD_MODE) { in sh_mobile_i2c_init() 248 } else if (pd->bus_speed == FAST_MODE) { in sh_mobile_i2c_init() 254 pd->bus_speed); in sh_mobile_i2c_init() 668 u32 bus_speed; in sh_mobile_i2c_probe() local 694 ret = of_property_read_u32(dev->dev.of_node, "clock-frequency", &bus_speed); in sh_mobile_i2c_probe() 695 pd->bus_speed = ret ? STANDARD_MODE : bus_speed; in sh_mobile_i2c_probe() 710 if (pdata && pdata->bus_speed) in sh_mobile_i2c_probe() 711 pd->bus_speed = pdata->bus_speed; in sh_mobile_i2c_probe() 763 adap->nr, pd->bus_speed, pd->iccl, pd->icch); in sh_mobile_i2c_probe()
|
D | i2c-ismt.c | 191 static unsigned int bus_speed; variable 192 module_param(bus_speed, uint, S_IRUGO); 193 MODULE_PARM_DESC(bus_speed, "Bus Speed in kHz (0 = BIOS default)"); 711 switch (bus_speed) { in ismt_hw_init() 748 bus_speed = 80; in ismt_hw_init() 751 bus_speed = 100; in ismt_hw_init() 754 bus_speed = 400; in ismt_hw_init() 757 bus_speed = 1000; in ismt_hw_init() 760 dev_dbg(dev, "SMBus clock is running at %d kHz\n", bus_speed); in ismt_hw_init()
|
D | i2c-bcm-kona.c | 719 unsigned int bus_speed; in bcm_kona_i2c_assign_bus_speed() local 721 &bus_speed); in bcm_kona_i2c_assign_bus_speed() 727 switch (bus_speed) { in bcm_kona_i2c_assign_bus_speed() 743 pr_err("%d hz bus speed not supported\n", bus_speed); in bcm_kona_i2c_assign_bus_speed()
|
/drivers/ide/ |
D | ali14xx.c | 118 int bus_speed = ide_vlb_clk ? ide_vlb_clk : 50; in ali14xx_set_pio_mode() local 125 param3 = param1 = (time2 * bus_speed + 999) / 1000; in ali14xx_set_pio_mode() 126 param4 = param2 = (time1 * bus_speed + 999) / 1000 - param1; in ali14xx_set_pio_mode()
|
D | ht6560b.c | 203 int bus_speed = ide_vlb_clk ? ide_vlb_clk : 50; in ht_pio2timings() local 221 active_cycles = (active_time * bus_speed + 999) / 1000; in ht_pio2timings() 222 recovery_cycles = (recovery_time * bus_speed + 999) / 1000; in ht_pio2timings()
|
D | alim15x3.c | 105 int bus_speed = ide_pci_clk ? ide_pci_clk : 33; in ali_set_pio_mode() local 106 unsigned long T = 1000000 / bus_speed; /* PCI clock based */ in ali_set_pio_mode() 169 int bus_speed = ide_pci_clk ? ide_pci_clk : 33; in ali_set_dma_mode() local 170 unsigned long T = 1000000 / bus_speed; /* PCI clock based */ in ali_set_dma_mode()
|
D | cmd640.c | 520 int bus_speed; in cmd640_set_mode() local 523 bus_speed = ide_vlb_clk ? ide_vlb_clk : 50; in cmd640_set_mode() 525 bus_speed = ide_pci_clk ? ide_pci_clk : 33; in cmd640_set_mode() 535 clock_time = 1000 / bus_speed; in cmd640_set_mode()
|
D | cy82c693.c | 86 int bus_speed = ide_pci_clk ? ide_pci_clk : 33; in cy82c693_set_pio_mode() local 87 const unsigned long T = 1000000 / bus_speed; in cy82c693_set_pio_mode()
|
D | aec62xx.c | 259 int bus_speed = ide_pci_clk ? ide_pci_clk : 33; in aec62xx_init_one() local 262 if (bus_speed <= 33) in aec62xx_init_one()
|
D | cmd64x.c | 58 int bus_speed = ide_pci_clk ? ide_pci_clk : 33; in cmd64x_program_timings() local 59 const unsigned long T = 1000000 / bus_speed; in cmd64x_program_timings()
|
/drivers/mmc/core/ |
D | sdio.c | 475 unsigned int bus_speed, timing; in sdio_set_bus_speed_mode() local 486 bus_speed = SDIO_SPEED_SDR12; in sdio_set_bus_speed_mode() 490 bus_speed = SDIO_SPEED_SDR104; in sdio_set_bus_speed_mode() 496 bus_speed = SDIO_SPEED_DDR50; in sdio_set_bus_speed_mode() 503 bus_speed = SDIO_SPEED_SDR50; in sdio_set_bus_speed_mode() 510 bus_speed = SDIO_SPEED_SDR25; in sdio_set_bus_speed_mode() 518 bus_speed = SDIO_SPEED_SDR12; in sdio_set_bus_speed_mode() 529 speed |= bus_speed; in sdio_set_bus_speed_mode() 534 if (bus_speed) { in sdio_set_bus_speed_mode()
|
D | mmc.c | 1174 goto bus_speed; in mmc_select_timing() 1192 bus_speed: in mmc_select_timing()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4853 hw->bus_speed = e1000_bus_speed_unknown; in e1000_get_bus_info() 4862 hw->bus_speed = (hw->bus_type == e1000_bus_type_pci) ? in e1000_get_bus_info() 4865 hw->bus_speed = (status & E1000_STATUS_PCI66) ? in e1000_get_bus_info() 4870 hw->bus_speed = e1000_bus_speed_66; in e1000_get_bus_info() 4873 hw->bus_speed = e1000_bus_speed_100; in e1000_get_bus_info() 4876 hw->bus_speed = e1000_bus_speed_133; in e1000_get_bus_info() 4879 hw->bus_speed = e1000_bus_speed_reserved; in e1000_get_bus_info()
|
D | e1000_main.c | 1224 ((hw->bus_speed == e1000_bus_speed_133) ? 133 : in e1000_probe() 1225 (hw->bus_speed == e1000_bus_speed_120) ? 120 : in e1000_probe() 1226 (hw->bus_speed == e1000_bus_speed_100) ? 100 : in e1000_probe() 1227 (hw->bus_speed == e1000_bus_speed_66) ? 66 : 33), in e1000_probe()
|
D | e1000_hw.h | 1363 e1000_bus_speed bus_speed; member
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 463 u16 bus_speed; member
|
D | s2io.c | 1046 static int bus_speed[8] = {33, 133, 133, 200, 266, 133, 200, 266}; variable 1064 config->bus_speed = bus_speed[mode]; in s2io_print_pci_mode() 1132 int count = (nic->config.bus_speed * 125)/2; in init_tti() 1680 int count = (nic->config.bus_speed * 125)/4; in init_nic() 1799 if (nic->config.bus_speed == 266) { in init_nic()
|