/openbmc/linux/drivers/w1/slaves/ |
H A D | w1_ds28e17.c | 34 module_param_named(speed, i2c_speed, int, 0600); 78 u8 speed; member 100 usleep_range(timebases[data->speed] * (data->stretch) * count, in w1_f19_i2c_busy_wait() 101 timebases[data->speed] * (data->stretch) * count in w1_f19_i2c_busy_wait() 112 udelay(timebases[data->speed]); in w1_f19_i2c_busy_wait() 521 data->speed = result; in w1_f19_get_i2c_speed() 543 w1_buf[1] = speed; in __w1_f19_set_i2c_speed() 547 data->speed = speed; in __w1_f19_set_i2c_speed() 562 result = __w1_f19_set_i2c_speed(sl, speed); in w1_f19_set_i2c_speed() 625 static DEVICE_ATTR_RW(speed); [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k7.c | 174 unsigned int speed; in get_ranges() local 197 if (speed < minimum_speed) in get_ranges() 198 minimum_speed = speed; in get_ranges() 199 if (speed > maximum_speed) in get_ranges() 200 maximum_speed = speed; in get_ranges() 374 speed_mhz = speed / 1000; in powernow_acpi_init() 384 if (speed % 1000 > 0) in powernow_acpi_init() 407 if (speed < minimum_speed) in powernow_acpi_init() 408 minimum_speed = speed; in powernow_acpi_init() 409 if (speed > maximum_speed) in powernow_acpi_init() [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | designware_i2c.c | 81 unsigned int speed) in __dw_i2c_set_bus_speed() argument 87 if (speed >= I2C_MAX_SPEED) in __dw_i2c_set_bus_speed() 89 else if (speed >= I2C_FAST_SPEED) in __dw_i2c_set_bus_speed() 391 __dw_i2c_set_bus_speed(i2c_base, NULL, speed); in __dw_i2c_init() 433 unsigned int speed) in dw_i2c_set_bus_speed() argument 435 adap->speed = speed; in dw_i2c_set_bus_speed() 436 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); in dw_i2c_set_bus_speed() 439 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() argument 441 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init() 468 dw_i2c_init(adap, adap->speed, adap->slaveaddr); in dw_i2c_probe() [all …]
|
H A D | ihs_i2c.c | 20 uint speed; member 282 static int ihs_i2c_set_bus_speed(struct udevice *bus, uint speed) in ihs_i2c_set_bus_speed() argument 286 if (speed != priv->speed && priv->speed != 0) in ihs_i2c_set_bus_speed() 289 priv->speed = speed; in ihs_i2c_set_bus_speed() 354 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in ihs_i2c_init() argument 399 unsigned int speed) in ihs_i2c_set_bus_speed() argument 401 if (speed != adap->speed) in ihs_i2c_set_bus_speed() 403 return speed; in ihs_i2c_set_bus_speed()
|
H A D | ast2600_i2c.c | 273 debug("Setting speed for I2C%d to <%u>\n", dev->seq, speed); in ast2600_i2c_set_speed() 274 if (!speed) { in ast2600_i2c_set_speed() 290 if ((apb_clk / speed) <= 32) { in ast2600_i2c_set_speed() 292 divisor = DIV_ROUND_UP(apb_clk, speed); in ast2600_i2c_set_speed() 293 } else if ((base_clk1 / speed) <= 32) { in ast2600_i2c_set_speed() 295 divisor = DIV_ROUND_UP(base_clk1, speed); in ast2600_i2c_set_speed() 296 } else if ((base_clk2 / speed) <= 32) { in ast2600_i2c_set_speed() 298 divisor = DIV_ROUND_UP(base_clk2, speed); in ast2600_i2c_set_speed() 299 } else if ((base_clk3 / speed) <= 32) { in ast2600_i2c_set_speed() 301 divisor = DIV_ROUND_UP(base_clk3, speed); in ast2600_i2c_set_speed() [all …]
|
H A D | lpc32xx_i2c.c | 54 unsigned int speed, unsigned int chip) in __i2c_set_bus_speed() argument 58 if (speed == 0) in __i2c_set_bus_speed() 63 half_period = (get_periph_clk_rate() / speed) / 2; in __i2c_set_bus_speed() 67 half_period = (get_hclk_clk_rate() / speed) / 2; in __i2c_set_bus_speed() 254 unsigned int speed) in lpc32xx_i2c_set_bus_speed() argument 256 return __i2c_set_bus_speed(lpc32xx_i2c[adap->hwadapnr], speed, in lpc32xx_i2c_set_bus_speed() 286 __i2c_init(dev->base, dev->speed, 0, dev->index); 330 static int lpc32xx_i2c_set_bus_speed(struct udevice *bus, unsigned int speed) 333 return __i2c_set_bus_speed(dev->base, speed, dev->index); 340 __i2c_init(dev->base, dev->speed, 0, dev->index);
|
/openbmc/linux/drivers/usb/usbip/ |
H A D | vhci_sysfs.c | 49 vdev->speed, vdev->devid); in port_show_vhci() 274 enum usb_device_speed speed) in valid_args() argument 280 switch (speed) { in valid_args() 289 usb_speed_string(speed)); in valid_args() 313 __u32 port = 0, pdev_nr = 0, rhport = 0, devid = 0, speed = 0; in attach_store() local 337 sockfd, devid, speed); in attach_store() 340 if (!valid_args(&pdev_nr, &rhport, speed)) in attach_store() 352 if (speed == USB_SPEED_SUPER) in attach_store() 418 devid, speed, usb_speed_string(speed)); in attach_store() 421 vdev->speed = speed; in attach_store() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_thermal.h | 56 uint32_t *speed); 58 uint32_t speed); 60 uint32_t *speed); 62 uint32_t speed);
|
H A D | vega10_thermal.h | 58 uint32_t *speed); 63 uint32_t speed); 68 uint32_t speed); 70 uint32_t *speed);
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | apm-xgene-phy.txt | 20 supported link speed on the host. Range from 0 to 26 supported link speed on the host. Default is 0. 29 (up to 3) supported link speed on the host. Range is 32 each (up to 3) supported link speed on the host. 37 speed on the host. Range is 0 to 273000 in unit of 41 speed on the host. Range is 0 to 127400 in unit uV. 46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each 47 supported link speed on the host.
|
/openbmc/linux/Documentation/hwmon/ |
H A D | dme1737.rst | 203 zone[1-3]_auto_point2_temp full-speed temp 204 zone[1-3]_auto_point1_temp low-speed temp 224 full-speed full-speed full-speed 230 low-speed low-speed low-speed 231 - min-speed low-speed 232 min-speed min-speed min-speed 233 - min-speed min-speed 285 the low-speed temp, auto_point2 is the 288 to full-speed (100% duty-cycle). 339 low-speed duty-cycle. [all …]
|
H A D | adt7462.rst | 21 This chip is a bit of a beast. It has 8 counters for measuring fan speed. It 28 that allows fan speed to be adjusted automatically based on any of the three 34 Each of the measured inputs (voltage, temperature, fan speed) has 64 - point1: Set the pwm speed at a lower temperature bound. 65 - point2: Set the pwm speed at a higher temperature bound. 67 The ADT7462 will scale the pwm between the lower and higher pwm speed when 69 from 0 (off) to 255 (full speed). Fan speed will be set to maximum when the
|
H A D | nct6775.rst | 144 - this file stores PWM duty cycle or DC value (fan speed) in range: 146 0 (lowest speed) to 255 (full) 151 * 0 Fan control disabled (fans set to maximum speed) 221 milliseconds before fan speed is increased 224 milliseconds before fan speed is decreased 234 This modes tries to keep the fan speed constant. 237 Target fan speed 240 Target speed tolerance 254 critical temperature mode, in which the fans should run at full speed. 271 milliseconds before fan speed is increased [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stih410-b2260.dts | 94 /* Low speed expansion connector */ 105 /* Low speed expansion connector */ 111 /* Low speed expansion connector */ 118 /* Low speed expansion connector */ 124 /* Low speed expansion connector */ 130 /* high speed expansion connector */ 137 /* high speed expansion connector */ 150 /* high speed expansion connector */
|
/openbmc/phosphor-fan-presence/control/example/ |
H A D | zones.yaml | 22 # should delay after setting fans to full speed on 33 # full_speed: [Full speed for the zone.] 34 # default_floor: [Default floor speed for the zone that fan speeds can 36 # increase_delay: [Number of seconds to delay additional speed increases 37 # that are less than the speed increase that's currently 40 # requested speed decreases may occur when no speed
|
/openbmc/linux/drivers/staging/media/av7110/ |
H A D | video-command.rst | 76 /* 0 or 1000 specifies normal speed, 79 >1: playback at speed/1000 of the normal speed, 80 <-1: reverse playback at (-speed/1000) of the normal speed. */ 81 __s32 speed;
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/Cpu/ |
H A D | OperatingConfig.interface.yaml | 7 description: The base clock speed of the processor in MHz. 15 members, first is the base clock speed in MHz, and second is an array 16 identifying the set of core IDs to configure at that base speed. 27 The maximum clock speed to which the processor can be configured in 48 clock speed in MHz, and second is number of cores which can run at 49 that speed.
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | g84.c | 81 g84_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in g84_pcie_set_link_speed() argument 85 if (speed == NVKM_PCIE_SPEED_5_0) in g84_pcie_set_link_speed() 95 g84_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in g84_pcie_set_link() argument 97 g84_pcie_set_cap_speed(pci, speed == NVKM_PCIE_SPEED_5_0); in g84_pcie_set_link() 98 g84_pcie_set_link_speed(pci, speed); in g84_pcie_set_link()
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_rm31.c | 248 s32 speed, temp, power, t_max = 0; in cpu_fans_tick() local 368 int speed, dspeed, fan_min; in backside_fan_tick() local 382 backside_pid.target = speed; in backside_fan_tick() 392 speed = wf_pid_run(&backside_pid, temp); in backside_fan_tick() 395 FIX32TOPRINT(temp), speed); in backside_fan_tick() 410 speed = max(speed, fan_min); in backside_fan_tick() 455 int speed; in slots_fan_tick() local 473 speed = wf_pid_run(&slots_pid, temp); in slots_fan_tick() 476 FIX32TOPRINT(temp), speed); in slots_fan_tick() 478 slots_speed = speed; in slots_fan_tick() [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | broadcom.c | 103 phydev->speed = SPEED_10; in bcm54xx_parse_status() 107 phydev->speed = SPEED_10; in bcm54xx_parse_status() 111 phydev->speed = SPEED_100; in bcm54xx_parse_status() 115 phydev->speed = SPEED_100; in bcm54xx_parse_status() 119 phydev->speed = SPEED_1000; in bcm54xx_parse_status() 123 phydev->speed = SPEED_1000; in bcm54xx_parse_status() 128 phydev->speed = SPEED_10; in bcm54xx_parse_status() 316 phydev->speed = 10; in bcm5482_parse_serdes_sr() 319 phydev->speed = 100; in bcm5482_parse_serdes_sr() 322 phydev->speed = 1000; in bcm5482_parse_serdes_sr()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | mt9v011.c | 204 unsigned height, width, hblank, vblank, speed; in calc_fps() local 213 speed = mt9v011_read(sd, R0A_MT9V011_CLK_SPEED); in calc_fps() 236 u64 t_time, speed; in calc_speed() local 255 speed = t_time; in calc_speed() 256 do_div(speed, row_time * line_time); in calc_speed() 259 if (speed < 2) in calc_speed() 260 speed = 0; in calc_speed() 262 speed -= 2; in calc_speed() 265 if (speed > 15) in calc_speed() 268 return (u16)speed; in calc_speed() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | sungem_phy.c | 315 phy->speed = SPEED_10; in genmii_setup_aneg() 346 phy->speed = speed; in genmii_setup_forced() 357 switch(speed) { in genmii_setup_forced() 401 phy->speed = SPEED_10; in genmii_read_link() 471 phy->speed = SPEED_10; in bcm54xx_setup_aneg() 515 phy->speed = speed; in bcm54xx_setup_forced() 526 switch(speed) { in bcm54xx_setup_forced() 747 phy->speed = SPEED_10; in marvell_setup_aneg() 798 phy->speed = speed; in marvell_setup_forced() 807 switch(speed) { in marvell_setup_forced() [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | soc_common.c | 126 speed = spds[i]; in calc_speed() 127 if (speed == 0) in calc_speed() 128 speed = dflt; in calc_speed() 130 return speed; in calc_speed() 564 unsigned short speed = map->speed; in soc_common_pcmcia_set_io_map() local 586 if (speed == 0) in soc_common_pcmcia_set_io_map() 589 speed = 0; in soc_common_pcmcia_set_io_map() 619 unsigned short speed = map->speed; in soc_common_pcmcia_set_mem_map() local 637 if (speed == 0) in soc_common_pcmcia_set_mem_map() 638 speed = 300; in soc_common_pcmcia_set_mem_map() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-mtk-sch.c | 59 return speed == USB_SPEED_FULL || speed == USB_SPEED_LOW; in is_fs_or_ls() 70 interval = usb_decode_interval(epd, speed); in decode_ep() 79 usb_speed_string(speed), usb_endpoint_num(epd), in decode_ep() 91 switch (speed) { in get_bw_boundary() 132 if (udev->speed >= USB_SPEED_SUPER) { in get_bw_info() 254 if (is_fs_or_ls(udev->speed)) { in create_sch_ep() 265 sch_ep->speed = udev->speed; in create_sch_ep() 300 if (sch_ep->speed == USB_SPEED_HIGH) { in setup_sch_info() 317 } else if (sch_ep->speed >= USB_SPEED_SUPER) { in setup_sch_info() 351 } else if (is_fs_or_ls(sch_ep->speed)) { in setup_sch_info() [all …]
|
/openbmc/linux/arch/arm/mach-rpc/ |
H A D | dma.c | 207 int tcr, speed; in iomd_set_dma_speed() local 210 speed = 3; in iomd_set_dma_speed() 212 speed = 2; in iomd_set_dma_speed() 214 speed = 1; in iomd_set_dma_speed() 216 speed = 0; in iomd_set_dma_speed() 219 speed &= 3; in iomd_set_dma_speed() 223 tcr = (tcr & ~0x03) | speed; in iomd_set_dma_speed() 227 tcr = (tcr & ~0x0c) | (speed << 2); in iomd_set_dma_speed() 231 tcr = (tcr & ~0x30) | (speed << 4); in iomd_set_dma_speed() 235 tcr = (tcr & ~0xc0) | (speed << 6); in iomd_set_dma_speed() [all …]
|