/kernel/linux/linux-5.10/drivers/block/zram/ |
H A D | zram_drv.c | 152 unsigned long value) in zram_fill_page() 155 memset_l(ptr, value, len / sizeof(unsigned long)); in zram_fill_page() 1277 unsigned long value; in __zram_bvec_read() local 1280 value = handle ? zram_get_element(zram, index) : 0; in __zram_bvec_read() 1282 zram_fill_page(mem, PAGE_SIZE, value); in __zram_bvec_read() 1928 * '>= 0' device_id upon success, and negative value otherwise. 151 zram_fill_page(void *ptr, unsigned long len, unsigned long value) zram_fill_page() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 92 LOG_GAMMA_WRITE("%llu\n", coordinates_x[i].x.value); in log_x_points_distribution() 250 /* one-time pre-compute dePQ values - only for max pixel value 125 FP16 */ 1399 struct fixed31_32 value = dc_fixpt_from_fraction(i, in build_evenly_distributed_points() local 1402 p->r = value; in build_evenly_distributed_points() 1403 p->g = value; in build_evenly_distributed_points() 1404 p->b = value; in build_evenly_distributed_points()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1000 static u16 vsc9959_wm_enc(u16 value) in vsc9959_wm_enc() argument 1002 WARN_ON(value >= 16 * BIT(8)); in vsc9959_wm_enc() 1004 if (value >= BIT(8)) in vsc9959_wm_enc() 1005 return BIT(8) | (value / 16); in vsc9959_wm_enc() 1007 return value; in vsc9959_wm_enc()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_hydra.c | 166 __le32 value; member 722 u32 value = 0; in kvaser_usb_hydra_get_single_capability() local 758 value = le32_to_cpu(cmd->cap_res.value); in kvaser_usb_hydra_get_single_capability() 768 if (BIT(i) & (value & mask)) { in kvaser_usb_hydra_get_single_capability()
|
H A D | kvaser_usb_leaf.c | 326 __le32 value; member 768 u32 value = 0; in kvaser_usb_leaf_get_single_capability() local 799 value = le32_to_cpu(cmd->u.leaf.cap_res.value); in kvaser_usb_leaf_get_single_capability() 809 if (BIT(i) & (value & mask)) { in kvaser_usb_leaf_get_single_capability()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool_fdir.c | 403 * Returns 0 on success, negative error value on failure 409 u64 value, mask; in ice_parse_rx_flow_user_data() local 415 value = be64_to_cpu(*((__force __be64 *)fsp->h_ext.data)); in ice_parse_rx_flow_user_data() 425 /* 0x1fe is the maximum value for offsets stored in the internal in ice_parse_rx_flow_user_data() 431 value > ICE_USERDEF_FLEX_FLTR_M) in ice_parse_rx_flow_user_data() 434 data->flex_word = value & ICE_USERDEF_FLEX_WORD_M; in ice_parse_rx_flow_user_data() 435 data->flex_offset = (value & ICE_USERDEF_FLEX_OFFS_M) >> in ice_parse_rx_flow_user_data() 690 * Return error value or 0 on success. 1183 * returns 0 on success and negative value on error 1258 * returns 0 on success and negative value o [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | pmtu.sh | 35 # value on A 138 # Set up vti4 interface passing MTU value at link creation, check MTU is 885 value="${2}" 888 [ "${expected}" = "any" ] && [ -n "${value}" ] && return 0 889 [ "${value}" = "${expected}" ] && return 0 890 [ -z "${value}" ] && err " PMTU exception wasn't created after ${event}" && return 1 892 err " found PMTU exception with incorrect MTU ${value}, expected ${expected}, after ${event}" 1398 # with the right PMTU value 1472 # This can fail, or MTU can be adjusted to a proper value 1488 err " vti MTU ${mtu} doesn't match configured value [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | applespi.c | 228 * @cmd: value: 0x0102 241 * @unknown: value: 0x01 (length?) 256 * @const1: value: 0x01B0 258 * @const2: value: 0x0001 (backlight off), 0x01F4 (backlight on) 906 enum led_brightness value) in applespi_set_bl_level() 914 if (value == 0) { in applespi_set_bl_level() 915 applespi->want_bl_level = value; in applespi_set_bl_level() 923 ((value * KBD_BL_LEVEL_ADJ) / KBD_BL_LEVEL_SCALE + in applespi_set_bl_level() 933 unsigned int code, int value) in applespi_event() 905 applespi_set_bl_level(struct led_classdev *led_cdev, enum led_brightness value) applespi_set_bl_level() argument 932 applespi_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) applespi_event() argument
|
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 236 * register value = (A/1e9 + B * UI) / COUNT_ACC 243 * depending whether the register minimum or maximum value is 263 * shift for keeping value range suitable for 32-bit integer arithmetic 283 /* max value of a is 95 */ in cio2_rx_timing() 289 /* Calculate the the delay value for termination enable of clock lane HS Rx */ 315 if (!qm.value) { in cio2_csi2_calc_timing() 319 freq = qm.value; in cio2_csi2_calc_timing() 338 dev_dbg(dev, "freq ct value is %d\n", timing->clk_termen); in cio2_csi2_calc_timing() 339 dev_dbg(dev, "freq cs value is %d\n", timing->clk_settle); in cio2_csi2_calc_timing() 340 dev_dbg(dev, "freq dt value i in cio2_csi2_calc_timing() 512 u32 value; cio2_hw_exit() local [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 389 * the return value of regulator_is_enabled in omap_hsmmc_disable_boot_regulators() 1630 u32 hctl, capa, value; in omap_hsmmc_conf_bus_power() local 1641 value = OMAP_HSMMC_READ(host->base, HCTL) & ~SDVS_MASK; in omap_hsmmc_conf_bus_power() 1642 OMAP_HSMMC_WRITE(host->base, HCTL, value | hctl); in omap_hsmmc_conf_bus_power() 1644 value = OMAP_HSMMC_READ(host->base, CAPA); in omap_hsmmc_conf_bus_power() 1645 OMAP_HSMMC_WRITE(host->base, CAPA, value | capa); in omap_hsmmc_conf_bus_power() 1916 /* Set this to a value that allows allocating an entire descriptor in omap_hsmmc_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 177 MSSShift = 16, /* MSS value position */ 178 MSSMask = 0x7ff, /* MSS value: 11 bits */ 212 RxCfgFIFOShift = 13, /* Shift, to get Rx FIFO thresh value */ 213 RxCfgDMAShift = 8, /* Shift, to get Rx Max DMA value */ 223 TimerIntr = (1 << 14), /* Asserted when TCTR reaches TimerInt value */ 260 TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits */ 938 /* only lower 24 bits valid; write any value to clear */ in __cp_get_stats() 1313 int value) in mdio_write() 1319 cpw16(BasicModeCtrl, value); in mdio_write() 1322 cpw16(mii_2_8139_map[location], value); in mdio_write() 1312 mdio_write(struct net_device *dev, int phy_id, int location, int value) mdio_write() argument 1453 cp_set_msglevel(struct net_device *dev, u32 value) cp_set_msglevel() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.h | 56 * Use default noise value of -127 ... this is below the range of measurable 60 * always negative ... using a negative value as the default keeps all 67 * a value of 0 means RTS on all data/management packets 68 * a value > max MSDU size means no RTS 70 * than RTS value. 169 * Driver reads 16-bit value from bits 31-16 of CSR_EEPROM_REG. 303 * constant (i.e. same value applies to all channels/bands) while the 824 u32 ct_kill_threshold; /* value in hw-dependent units */ 1057 * host interrupt timeout value 2020 u32 value; in il_rd() local 2032 il_wr(struct il_priv *il, u32 reg, u32 value) il_wr() argument [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 54 * bit 23..25 - PDIS value (if input) 64 * value = low 67 * SLPM value = same as normal 434 static void nmk_write_masked(void __iomem *reg, u32 mask, u32 value) in nmk_write_masked() argument 439 val = ((val & ~mask) | (value & mask)); in nmk_write_masked() 860 int value; in nmk_gpio_get_input() local 864 value = !!(readl(nmk_chip->addr + NMK_GPIO_DAT) & BIT(offset)); in nmk_gpio_get_input() 868 return value; in nmk_gpio_get_input()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | stex.c | 71 /* MU register value */ 922 u32 value; in stex_ss_mu_intr() local 931 value = le32_to_cpu(*scratch); in stex_ss_mu_intr() 932 if (unlikely(!(value & SS_STS_NORMAL))) in stex_ss_mu_intr() 941 tag = (u16)value; in stex_ss_mu_intr() 959 if (likely(value & SS_STS_DONE)) { /* normal case */ in stex_ss_mu_intr()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 1673 /* Mark to update preamble value forever, 2008.03.18 by lanhsin */ in update_capinfo() 1742 /* change this value if having IOT issues. */ in update_wireless_mode() 2011 u8 value; in rtw_get_gpio() local 2024 /* According the direction to read register value */ in rtw_get_gpio() 2026 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL + 1) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio() 2028 value = (rtw_read8(adapter, REG_GPIO_PIN_CTRL) & BIT(gpio_num)) >> gpio_num; in rtw_get_gpio() 2031 DBG_871X("%s direction =%d value =%d\n", __func__, direction, value); in rtw_get_gpio() 2033 return value; in rtw_get_gpio() 2056 /* If GPIO is output direction, setting value in rtw_set_gpio_output_value() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | s3c-fb.c | 370 * @pix: The value to be aligned. 390 * @size: OSD size register value 406 * @alpha: alpha register value 664 /* Set alpha value width */ in s3c_fb_set_par() 687 * @value: The computed palette value. 689 * Change the value of a palette register, either by directly writing to 699 u32 value) in s3c_fb_update_palette() 707 __func__, win->index, reg, palreg, value); in s3c_fb_update_palette() 709 win->palette_buffer[reg] = value; in s3c_fb_update_palette() 696 s3c_fb_update_palette(struct s3c_fb *sfb, struct s3c_fb_win *win, unsigned int reg, u32 value) s3c_fb_update_palette() argument [all...] |
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | conntrack.c | 40 u32 value; member 46 struct ovs_key_ct_labels value; member 493 * value if 'skb' is freed. 1230 err = ovs_ct_set_mark(ct, key, info->mark.value, in ovs_ct_commit() 1236 err = ovs_ct_init_labels(ct, key, &info->labels.value, in ovs_ct_commit() 1242 err = ovs_ct_set_labels(ct, key, &info->labels.value, in ovs_ct_commit() 1287 * value if 'skb' is freed.
|
/kernel/linux/linux-5.10/sound/pci/ca0106/ |
H A D | ca0106_main.c | 149 MODULE_PARM_DESC(index, "Index value for the CA0106 soundcard."); 399 u32 value) in snd_ca0106_i2c_write() 405 if ((reg > 0x7f) || (value > 0x1ff)) { in snd_ca0106_i2c_write() 410 tmp = reg << 25 | value << 16; in snd_ca0106_i2c_write() 412 dev_dbg(emu->card->dev, "I2C-write:reg=0x%x, value=0x%x\n", reg, value); in snd_ca0106_i2c_write() 1363 #define SPI_REG(reg, value) (((reg) << SPI_REG_SHIFT) | (value)) 397 snd_ca0106_i2c_write(struct snd_ca0106 *emu, u32 reg, u32 value) snd_ca0106_i2c_write() argument
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | hdac_hdmi.c | 265 * Device List Length is a 0 based integer value indicating the in hdac_hdmi_port_select_set() 909 const char *cvt_name = e->texts[ucontrol->value.enumerated.item[0]]; in hdac_hdmi_set_pin_port_mux() 1482 memset(ucontrol->value.bytes.data, 0, sizeof(ucontrol->value.bytes.data)); in hdac_hdmi_eld_ctl_get() 1505 if (eld->eld_size > ARRAY_SIZE(ucontrol->value.bytes.data) || in hdac_hdmi_eld_ctl_get() 1515 memcpy(ucontrol->value.bytes.data, eld->eld_buffer, in hdac_hdmi_eld_ctl_get()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-top.c | 1375 struct callchain_param *callchain = opt->value; in parse_callchain_opt() 1392 static int perf_top_config(const char *var, const char *value, void *cb __maybe_unused) in perf_top_config() argument 1396 return perf_default_config(var, value, cb); in perf_top_config() 1399 symbol_conf.cumulate_callchain = perf_config_bool(var, value); in perf_top_config() 1410 struct perf_top *top = opt->value; in parse_percent_limit()
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | bpf_trace.c | 805 u64 *value, u64 *enabled, u64 *running) in get_map_perf_counter() 823 return perf_event_read_local(ee->event, value, enabled, running); in get_map_perf_counter() 828 u64 value = 0; in BPF_CALL_2() local 831 err = get_map_perf_counter(map, flags, &value, NULL, NULL); in BPF_CALL_2() 838 return value; in BPF_CALL_2() 804 get_map_perf_counter(struct bpf_map *map, u64 flags, u64 *value, u64 *enabled, u64 *running) get_map_perf_counter() argument
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | super.c | 871 * this struct is used in reiserfs_getopt () for containing the value for 875 char *value; member 878 * when this value is found, 0 is no bits are to be changed. 883 * when this value is found, 0 is no bits are to be changed. 907 * when this value is found, 0 is no bits are to be changed. 913 * when this value is found, 0 is no bits are to be changed. 927 {.value = NULL} 934 {.value = NULL} 1094 for (arg = opt->values; arg->value; arg++) { in reiserfs_getopt() 1095 if (!strcmp(p, arg->value)) { in reiserfs_getopt() [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | sock_map.c | 577 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, in sock_map_update_elem_sys() argument 586 ufd = *(u64 *)value; in sock_map_update_elem_sys() 588 ufd = *(u32 *)value; in sock_map_update_elem_sys() 619 void *value, u64 flags) in sock_map_update_elem() 621 struct sock *sk = (struct sock *)value; in sock_map_update_elem() 618 sock_map_update_elem(struct bpf_map *map, void *key, void *value, u64 flags) sock_map_update_elem() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | sta.c | 380 /* Firmware requires that value for this 1-byte field must in cw1200_config() 859 int cw1200_set_rts_threshold(struct ieee80211_hw *hw, u32 value) in cw1200_set_rts_threshold() argument 868 if (value != (u32) -1) in cw1200_set_rts_threshold() 869 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold() 873 if (priv->rts_threshold == value) in cw1200_set_rts_threshold() 883 priv->rts_threshold = value; in cw1200_set_rts_threshold() 1137 * the RCPI/RSSI value correctly on WSM_EVENT_RCPI_RSS in cw1200_setup_mac()
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
H A D | qlge.h | 83 /* In some cases, the device interprets a value of 0x0000 as 65536. These 86 #define QLGE_FIT16(value) ((u16)(value)) 1214 #define IB_MAC_IOCB_RSP_COS_SHIFT 12 /* class of service value */ 1383 u16 prod_idx; /* current value for prod idx */ 1502 u8 value[4]; member 1998 u32 intr_en_mask; /* value/mask used to enable this intr */ 1999 u32 intr_dis_mask; /* value/mask used to disable this intr */ 2000 u32 intr_read_mask; /* value/mask used to read this intr */ 2220 * update the relevant index register and then copy the value t [all...] |