/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_thermal.c | 55 uint32_t *speed) 75 *speed = min_t(uint32_t, tmp64, 255); 80 int smu7_fan_ctrl_get_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 97 *speed = 60 * crystal_clock_freq * 10000 / tach_period; 103 * smu7_fan_ctrl_set_static_mode - Set Fan Speed Control to static mode, so that the user can decide what speed to use. 201 * @speed: is the pwm value (0 - 255) to be set. 204 uint32_t speed) 213 speed = min_t(uint32_t, speed, 255); 224 tmp64 = (uint64_t)speed * duty10 54 smu7_fan_ctrl_get_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t *speed) argument 203 smu7_fan_ctrl_set_fan_speed_pwm(struct pp_hwmgr *hwmgr, uint32_t speed) argument 262 smu7_fan_ctrl_set_fan_speed_rpm(struct pp_hwmgr *hwmgr, uint32_t speed) argument [all...] |
/linux-master/drivers/hwmon/ |
H A D | gpio-fan.c | 39 struct gpio_fan_speed *speed; member in struct:gpio_fan_data 133 __set_fan_ctrl(fan_data, fan_data->speed[speed_index].ctrl_val); 143 if (fan_data->speed[i].ctrl_val == ctrl_val) 147 "missing speed array entry for GPIO value 0x%x\n", ctrl_val); 154 struct gpio_fan_speed *speed = fan_data->speed; local 158 if (speed[i].rpm >= rpm) 225 /* Disable manual control mode: set fan at full speed. */ 245 return sprintf(buf, "%d\n", fan_data->speed[0].rpm); 254 fan_data->speed[fan_dat 411 struct gpio_fan_speed *speed; local [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 39 status->speed = SPEED_10; 42 status->speed = SPEED_100; 45 status->speed = SPEED_1000; 98 status->speed = SPEED_1000; 100 status->speed = SPEED_2500; 131 netdev_err(port->ndev, "error: low speed and SFI mode\n"); 149 status->speed = SPEED_5000; 151 status->speed = SPEED_10000; 153 status->speed = SPEED_25000; 165 status->speed 457 sparx5_port_fifo_sz(struct sparx5 *sparx5, u32 portno, u32 speed) argument 600 sparx5_port_fwd_urg(struct sparx5 *sparx5, u32 speed) argument 685 int portmode, err, speed = conf->speed; local [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_atari.c | 393 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; 453 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; 507 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; 563 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; 619 long hSpeed = dmasound.hard.speed, sSpeed = dmasound.soft.speed; [all...] |
/linux-master/sound/firewire/ |
H A D | iso-resources.c | 48 static unsigned int packet_bandwidth(unsigned int max_payload_bytes, int speed) argument 56 if (speed <= SCODE_400) 57 s400_bytes = bytes * (1 << (SCODE_400 - speed)); 59 s400_bytes = DIV_ROUND_UP(bytes, 1 << (speed - SCODE_400)); 94 * @speed: the speed (e.g., SCODE_400) at which the packets will be sent 106 unsigned int max_payload_bytes, int speed) 114 r->bandwidth = packet_bandwidth(max_payload_bytes, speed); 105 fw_iso_resources_allocate(struct fw_iso_resources *r, unsigned int max_payload_bytes, int speed) argument
|
H A D | cmp.h | 18 * @speed: the connection's actual speed 27 int speed; member in struct:cmp_connection
|
/linux-master/drivers/cpufreq/ |
H A D | speedstep-ich.c | 236 unsigned int *speed = _speed; local 238 *speed = speedstep_get_frequency(speedstep_processor); 243 unsigned int speed; local 246 BUG_ON(smp_call_function_single(cpu, get_freq_data, &speed, 1)); 248 pr_debug("detected %u kHz as current frequency\n", speed); 249 return speed;
|
H A D | longhaul.c | 90 static char *print_speed(int speed) argument 92 if (speed < 1000) { 93 snprintf(speedbuffer, sizeof(speedbuffer), "%dMHz", speed); 97 if (speed%1000 == 0) 99 "%dGHz", speed/1000); 102 "%d.%dGHz", speed/1000, (speed%1000)/100); 249 int speed, mult; local 263 speed = calc_speed(mult); 264 if ((speed > highest_spee 408 int speed = cpu_khz / 1000; local 533 unsigned int j, speed, pos, kHz_step, numvscales; local [all...] |
H A D | powernow-k7.c | 174 unsigned int speed; local 188 speed = powernow_table[j].frequency; 197 if (speed < minimum_speed) 198 minimum_speed = speed; 199 if (speed > maximum_speed) 200 maximum_speed = speed; 207 fid_codes[fid] % 10, speed/1000, vid, 355 unsigned int speed, speed_mhz; local 373 speed = powernow_table[i].frequency; 374 speed_mhz = speed / 100 [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ethtool_lanes.sh | 65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null 92 local speed=$1; shift 97 if [[ $speed -eq ${arr[$i]} && $lanes -eq ${arr[i+1]} ]]; then 122 ethtool_set $swp1 speed $max_speed lanes $lanes 159 ethtool_set $swp1 speed $max_speed lanes $lanes autoneg off 160 ethtool_set $swp2 speed $max_speed lanes $lanes autoneg off
|
/linux-master/drivers/net/phy/ |
H A D | bcm84881.c | 6 // interface according to the operating speed between 10GBASE-R, 171 phydev->speed = SPEED_UNKNOWN; 205 * the speed according to this register so that downshift works. 219 phydev->speed = SPEED_100; 222 phydev->speed = SPEED_1000; 225 phydev->speed = SPEED_10000; 228 phydev->speed = SPEED_2500; 231 phydev->speed = SPEED_5000;
|
/linux-master/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-sgmii.c | 117 pcsx_sgmx_an_adv_reg.s.speed = 2; 192 * Configure an SGMII link to the specified speed after the SERTES 249 /* Do speed based setting for GMX */ 250 switch (link_info.s.speed) { 252 gmxx_prtx_cfg.s.speed = 0; 261 gmxx_prtx_cfg.s.speed = 0; 269 gmxx_prtx_cfg.s.speed = 1; 411 result.s.speed = 1000; 421 result.s.speed = 1000; 467 result.s.speed [all...] |
H A D | cvmx-helper-rgmii.c | 108 gmx_cfg.s.speed = 1; 277 result.s.speed = 1000; 308 /* Ignore speed sets in the simulator */ 345 * idle. Preferably we should only change speed when it is 346 * idle. If it doesn't become idle we will still do the speed 372 /* Set the link speed. Anything unknown is set to 1Gbps */ 373 if (link_info.s.speed == 10) { 375 new_gmx_cfg.s.speed = 0; 376 } else if (link_info.s.speed == 100) { 378 new_gmx_cfg.s.speed [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | gf100.c | 72 gf100_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) argument 74 gf100_pcie_set_cap_speed(pci, speed == NVKM_PCIE_SPEED_5_0); 75 g84_pcie_set_link_speed(pci, speed);
|
/linux-master/drivers/pcmcia/ |
H A D | pxa2xx_base.c | 115 static uint32_t pxa2xx_pcmcia_mcmem(int sock, int speed, int clock) argument 119 val = ((pxa2xx_mcxx_setup(speed, clock) 121 | ((pxa2xx_mcxx_asst(speed, clock) 123 | ((pxa2xx_mcxx_hold(speed, clock) 129 static int pxa2xx_pcmcia_mcio(int sock, int speed, int clock) argument 133 val = ((pxa2xx_mcxx_setup(speed, clock) 135 | ((pxa2xx_mcxx_asst(speed, clock) 137 | ((pxa2xx_mcxx_hold(speed, clock) 144 static int pxa2xx_pcmcia_mcatt(int sock, int speed, int clock) argument 148 val = ((pxa2xx_mcxx_setup(speed, cloc [all...] |
/linux-master/drivers/bluetooth/ |
H A D | hci_serdev.c | 183 unsigned int speed; local 186 /* Init speed if any */ 188 speed = hu->init_speed; 190 speed = hu->proto->init_speed; 192 speed = 0; 194 if (speed) 195 serdev_device_set_baudrate(hu->serdev, speed); 197 /* Operational speed if any */ 199 speed = hu->oper_speed; 201 speed [all...] |
/linux-master/include/linux/ |
H A D | dtlk.h | 73 unsigned char speed; /* nS; 0-9 */ member in struct:dtlk_settings
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.h | 16 int ivtv_set_speed(struct ivtv *itv, int speed);
|
/linux-master/drivers/gnss/ |
H A D | serial.h | 17 speed_t speed; member in struct:gnss_serial
|
/linux-master/drivers/accessibility/speakup/ |
H A D | speakup_dtlk.h | 48 u_char speed; /* nS; 0-9 */ member in struct:synth_settings
|
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | Makefile | 19 ALL_TARGETS := intel-speed-select 40 ISST_IN := $(OUTPUT)intel-speed-select-in.o 43 $(Q)$(MAKE) $(build)=intel-speed-select 44 $(OUTPUT)intel-speed-select: $(ISST_IN)
|
/linux-master/include/uapi/linux/usb/ |
H A D | g_uvc.h | 34 enum usb_device_speed speed; member in union:uvc_event::__anon299
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 50 int speed, int duplex, 57 port_config->speed = speed; 63 phy_set_speed(port->serdes, speed); 46 lan966x_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/arch/powerpc/kernel/ |
H A D | udbg_16550.c | 95 void __init udbg_uart_setup(unsigned int speed, unsigned int clock) argument 104 if (speed == 0) 105 speed = 9600; 108 dll = base_bauds / speed; 126 unsigned int dll, dlm, divisor, prescaler, speed; local 148 /* calculate speed */ 149 speed = (clock / prescaler) / (divisor * 16); 152 if (speed > (clock / 16)) 153 speed = 9600; 155 return speed; [all...] |
/linux-master/drivers/net/pcs/ |
H A D | pcs-xpcs.c | 359 static void xpcs_config_usxgmii(struct dw_xpcs *xpcs, int speed) argument 363 switch (speed) { 537 int speed = SPEED_UNKNOWN; local 580 if (new_speed > speed) 581 speed = new_speed; 584 return speed; 595 state->speed = SPEED_10000; 598 state->speed = xpcs_get_max_xlgmii_speed(xpcs, state); 601 state->speed = SPEED_UNKNOWN; 697 * speed/duple 1026 int speed, duplex; local 1163 xpcs_link_up_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument 1177 xpcs_link_up_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument 1206 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |