Searched refs:speed (Results 51 - 75 of 1250) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c55 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 Dgpio-fan.c39 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 Dsparx5_port.c39 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 Ddmasound_atari.c393 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 Diso-resources.c48 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 Dcmp.h18 * @speed: the connection's actual speed
27 int speed; member in struct:cmp_connection
/linux-master/drivers/cpufreq/
H A Dspeedstep-ich.c236 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 Dlonghaul.c90 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 Dpowernow-k7.c174 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 Dethtool_lanes.sh65 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 Dbcm84881.c6 // 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 Dcvmx-helper-sgmii.c117 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 Dcvmx-helper-rgmii.c108 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 Dgf100.c72 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 Dpxa2xx_base.c115 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 Dhci_serdev.c183 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 Ddtlk.h73 unsigned char speed; /* nS; 0-9 */ member in struct:dtlk_settings
/linux-master/drivers/media/pci/ivtv/
H A Divtv-ioctl.h16 int ivtv_set_speed(struct ivtv *itv, int speed);
/linux-master/drivers/gnss/
H A Dserial.h17 speed_t speed; member in struct:gnss_serial
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_dtlk.h48 u_char speed; /* nS; 0-9 */ member in struct:synth_settings
/linux-master/tools/power/x86/intel-speed-select/
H A DMakefile19 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 Dg_uvc.h34 enum usb_device_speed speed; member in union:uvc_event::__anon299
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c50 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 Dudbg_16550.c95 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 Dpcs-xpcs.c359 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...]

Completed in 271 milliseconds

1234567891011>>