Home
last modified time | relevance | path

Searched refs:value (Results 24076 - 24100 of 36034) sorted by relevance

1...<<961962963964965966967968969970>>...1442

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dcounters.c210 port_counter->hstats->value[i] += counter->stats->value[i]; in counter_history_stat_update()
372 sum += counter->stats->value[index]; in get_running_counters_hwstat_sum()
384 * rdma_counter_get_hwstat_value() - Get the sum value of all counters on a
397 sum += port_counter->hstats->value[index]; in rdma_counter_get_hwstat_value()
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-lm3533.c119 enum led_brightness value) in lm3533_led_set()
123 dev_dbg(led->cdev.dev, "%s - %d\n", __func__, value); in lm3533_led_set()
125 if (value == 0) in lm3533_led_set()
128 return lm3533_ctrlbank_set_brightness(&led->cb, value); in lm3533_led_set()
180 * and updates *t to reflect the mapped value.
118 lm3533_led_set(struct led_classdev *cdev, enum led_brightness value) lm3533_led_set() argument
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dcypress_ps2.c38 static int cypress_ps2_sendbyte(struct psmouse *psmouse, int value) in cypress_ps2_sendbyte() argument
42 if (ps2_sendbyte(ps2dev, value & 0xff, CYTP_CMD_TIMEOUT) < 0) { in cypress_ps2_sendbyte()
45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte()
54 value & 0xff); in cypress_ps2_sendbyte()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_atcam.c405 aentry->delta_info.value, in mlxsw_sp_acl_atcam_region_entry_insert()
434 aentry->delta_info.value, in mlxsw_sp_acl_atcam_region_entry_remove()
463 aentry->delta_info.value, in mlxsw_sp_acl_atcam_region_entry_action_replace()
499 aentry->delta_info.value = in __mlxsw_sp_acl_atcam_entry_add()
/kernel/linux/linux-5.10/drivers/iio/dac/
H A Dad5592r-base.c45 static void ad5592r_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in ad5592r_gpio_set() argument
51 if (value) in ad5592r_gpio_set()
84 unsigned offset, int value) in ad5592r_gpio_direction_output()
91 if (value) in ad5592r_gpio_direction_output()
169 /* Writing this magic value resets the device */ in ad5592r_reset()
83 ad5592r_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) ad5592r_gpio_direction_output() argument
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Ducd9000.c133 static int ucd90320_write_byte(struct i2c_client *client, int page, u8 value) in ucd90320_write_byte() argument
140 ret = pmbus_write_byte(client, page, value); in ucd90320_write_byte()
274 int value) in ucd9000_gpio_set()
286 if (value) { in ucd9000_gpio_set()
273 ucd9000_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) ucd9000_gpio_set() argument
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dti-ads7950.c52 /* val = value, dec = left shift, bits = number of bits of the mask */
407 int value) in ti_ads7950_set()
413 if (value) in ti_ads7950_set()
500 unsigned int offset, int value) in ti_ads7950_direction_output()
502 ti_ads7950_set(chip, offset, value); in ti_ads7950_direction_output()
577 * more cycle to send the value. The conversion process is driven by in ti_ads7950_probe()
595 /* Use hard coded value for reference voltage in ACPI case */ in ti_ads7950_probe()
406 ti_ads7950_set(struct gpio_chip *chip, unsigned int offset, int value) ti_ads7950_set() argument
499 ti_ads7950_direction_output(struct gpio_chip *chip, unsigned int offset, int value) ti_ads7950_direction_output() argument
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dpio.c320 u32 value; in b43legacy_setup_pioqueue() local
336 value = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_setup_pioqueue()
337 value &= ~B43legacy_MACCTL_BE; in b43legacy_setup_pioqueue()
338 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, value); in b43legacy_setup_pioqueue()
495 * The xmit function has overwritten the rc's value with the actual in b43legacy_pio_handle_txstatus()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326.c15 /* The egress WM value 0x01a01fff should be used only when the
18 * enabled, the WM value should be set to 0x014a03F0.
260 static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) in bist_wr() argument
272 if (value > 255) in bist_wr()
273 pr_err("Suspicious write out of range value: 0x%x\n", value); in bist_wr()
275 data = ((0x01 << 24) | ((address & 0xff) << 16) | (value << 8) | in bist_wr()
533 /* Write the correct WM value when the port is enabled. */ in mac_enable()
550 /* Reset the port, this also writes the correct WM value */ in mac_disable()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Dhost.h383 u32 value; member
561 u8 value[128]; member
572 } value; member
870 u8 value[LBS_EEPROM_READ_LEN]; member
/kernel/linux/linux-5.10/drivers/pinctrl/meson/
H A Dpinctrl-meson.c23 * 4) GPIO direction, output value, input value
70 * Return: 0 on success, a negative value on error
573 int value) in meson_gpio_direction_output()
576 gpio, value); in meson_gpio_direction_output()
579 static void meson_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in meson_gpio_set() argument
581 meson_pinconf_set_drive(gpiochip_get_data(chip), gpio, value); in meson_gpio_set() local
572 meson_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, int value) meson_gpio_direction_output() argument
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-coh901.c218 static void u300_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in u300_gpio_set() argument
227 if (value) in u300_gpio_set()
251 int value) in u300_gpio_direction_output()
274 u300_gpio_set(chip, offset, value); in u300_gpio_direction_output()
553 dev_dbg(gpio->dev, "set up pin %d as output, value: %d\n", in u300_gpio_init_pin()
250 u300_gpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) u300_gpio_direction_output() argument
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-at91-usart.c71 #define at91_usart_spi_writel(port, reg, value) \
72 writel_relaxed((value), (port)->regs + US_##reg)
76 #define at91_usart_spi_writeb(port, reg, value) \
77 writeb_relaxed((value), (port)->regs + US_##reg)
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dcore.h115 * @map_dir: Set to the value of dir_in when the DMA buffer is mapped.
245 * value for this parameter if none is specified.
251 * value for this if none is specified.
257 * will automatically detect the value for this if none is
263 * the attached device and the value of phy_type.
276 * Actual maximum value is autodetected and also
281 * Actual maximum value is autodetected and also
286 * Actual maximum value is autodetected and also
290 * Actual maximum value is autodetected and also
294 * Actual maximum value i
1229 dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) dwc2_writel() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dhx8357.c264 u8 *value, u8 len) in hx8357_spi_write_array()
266 return hx8357_spi_write_then_read(lcdev, value, len, NULL, 0); in hx8357_spi_write_array()
270 u8 value) in hx8357_spi_write_byte()
272 return hx8357_spi_write_then_read(lcdev, &value, 1, NULL, 0); in hx8357_spi_write_byte()
263 hx8357_spi_write_array(struct lcd_device *lcdev, u8 *value, u8 len) hx8357_spi_write_array() argument
269 hx8357_spi_write_byte(struct lcd_device *lcdev, u8 value) hx8357_spi_write_byte() argument
/kernel/linux/linux-5.10/drivers/usb/mtu3/
H A Dmtu3_gadget.c363 static int mtu3_gadget_ep_set_halt(struct usb_ep *ep, int value) in mtu3_gadget_ep_set_halt() argument
381 if (value) { in mtu3_gadget_ep_set_halt()
397 dev_dbg(mtu->dev, "%s %s stall\n", ep->name, value ? "set" : "clear"); in mtu3_gadget_ep_set_halt()
399 mtu3_ep_stall_set(mep, value); in mtu3_gadget_ep_set_halt()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_meta.c421 u32 value = *sreg; in nft_meta_set_eval() local
426 skb->mark = value; in nft_meta_set_eval()
429 skb->priority = value; in nft_meta_set_eval()
446 skb->secmark = value; in nft_meta_set_eval()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dadav80x.c319 unsigned int deemph = ucontrol->value.integer.value[0]; in adav80x_put_deemph()
335 ucontrol->value.integer.value[0] = adav80x->deemph; in adav80x_get_deemph()
H A Dcs4271.c286 ucontrol->value.integer.value[0] = cs4271->deemph; in cs4271_get_deemph()
296 cs4271->deemph = ucontrol->value.integer.value[0]; in cs4271_put_deemph()
H A Des8328.c149 ucontrol->value.integer.value[0] = es8328->deemph; in es8328_get_deemph()
158 unsigned int deemph = ucontrol->value.integer.value[0]; in es8328_put_deemph()
H A Dwm8731.c122 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph()
132 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8731_put_deemph()
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_stream.c18 * snd_hdac_get_stream_stripe_ctl - get stripe control value
29 max_sdo_lines, value, sdo_line; in snd_hdac_get_stream_stripe_ctl() local
37 value = (channels * bits_per_sample * in snd_hdac_get_stream_stripe_ctl()
40 value = (channels * bits_per_sample) / sdo_line; in snd_hdac_get_stream_stripe_ctl()
42 if (value >= bus->sdo_limit) in snd_hdac_get_stream_stripe_ctl()
46 /* stripe value: 0 for 1SDO, 1 for 2SDO, 2 for 4SDO lines */ in snd_hdac_get_stream_stripe_ctl()
289 /* this value needs to be the same as the one programmed */ in snd_hdac_stream_setup()
314 /* when LPIB delay correction gives a small negative value, in snd_hdac_stream_setup()
559 * @format_val: format value parameter
562 * and passed format value
[all...]
/kernel/linux/linux-5.10/sound/soc/atmel/
H A Datmel-pdmic.c90 "mic-offset value %d is larger than the max value %d, the max value is specified\n", in atmel_pdmic_dt_init()
95 "mic-offset value %d is less than the min value %d, the min value is specified\n", in atmel_pdmic_dt_init()
296 ucontrol->value.integer.value[0] = i; in pdmic_get_mic_volsw()
312 val = ucontrol->value.integer.value[ in pdmic_put_mic_volsw()
[all...]
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dfdt_ro.c120 uint32_t value; in fdt_find_max_phandle() local
130 value = fdt_get_phandle(fdt, offset); in fdt_find_max_phandle()
132 if (value > max) in fdt_find_max_phandle()
133 max = value; in fdt_find_max_phandle()
/kernel/linux/linux-5.10/security/tomoyo/
H A Dutil.c175 * tomoyo_parse_ulong - Parse an "unsigned long" value.
182 * The @src is updated to point the first character after the value
217 * tomoyo_print_ulong - Print an "unsigned long" value.
221 * @value: An "unsigned long" value.
222 * @type: Type of @value.
227 const unsigned long value, const u8 type) in tomoyo_print_ulong()
230 snprintf(buffer, buffer_len, "%lu", value); in tomoyo_print_ulong()
232 snprintf(buffer, buffer_len, "0%lo", value); in tomoyo_print_ulong()
234 snprintf(buffer, buffer_len, "0x%lX", value); in tomoyo_print_ulong()
226 tomoyo_print_ulong(char *buffer, const int buffer_len, const unsigned long value, const u8 type) tomoyo_print_ulong() argument
[all...]

Completed in 44 milliseconds

1...<<961962963964965966967968969970>>...1442