/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 324 /* fix up the value for auto (3 => 0) as zero is mapped in e1000_set_link_ksettings() 829 u32 value; in e1000_reg_test() local 853 value = (er32(STATUS) & toggle); in e1000_reg_test() 856 if (value != after) { in e1000_reg_test() 858 after, value); in e1000_reg_test() 942 /* reset index to actual value */ in e1000_reg_test() 1531 /* set bit 29 (value of MULR requests is now 2) */ in e1000_setup_loopback_test() 1577 /* set bit 29 (value of MULR requests is now 0) */ in e1000_loopback_cleanup()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 1160 u8 value, bool wait) in mxt_t6_command() 1169 ret = mxt_write_reg(data->client, reg, value); in mxt_t6_command() 1234 static void mxt_update_crc(struct mxt_data *data, u8 cmd, u8 value) in mxt_update_crc() argument 1243 mxt_t6_command(data, cmd, value, true); in mxt_update_crc() 2314 /* Next value */ in mxt_convert_debug_pages() 1159 mxt_t6_command(struct mxt_data *data, u16 cmd_offset, u8 value, bool wait) mxt_t6_command() argument
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-cards.c | 1592 /* TV Audio : set GPIO 2, 18, 19 value to 0, 1, 0 */ 1593 /* FM Audio : set GPIO 2, 18, 19 value to 0, 0, 0 */ 1594 /* Line-in Audio : set GPIO 2, 18, 19 value to 0, 1, 1 */ 1595 /* Mute Audio : set GPIO 2 value to 1 */ 3638 u8 value; in cx88_pci_quirks() local 3670 pci_read_config_byte(pci, CX88X_DEVCTRL, &value); in cx88_pci_quirks() 3671 value |= ctrl; in cx88_pci_quirks() 3672 pci_write_config_byte(pci, CX88X_DEVCTRL, value); in cx88_pci_quirks()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | 8139too.c | 404 TxDMAShift = 8, /* DMA burst value (0-7) is shifted X many bits */ 405 TxRetryShift = 4, /* TXRR value (0-15) is shifted X many bits */ 606 unsigned int default_port : 4; /* Last dev->if_port value. */ 1276 int value) in mdio_write() 1281 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location << 18) | value; in mdio_write() 1289 RTL_W16 (BasicModeCtrl, value); in mdio_write() 1292 RTL_W16 (mii_2_8139_map[location], value); in mdio_write() 1275 mdio_write(struct net_device *dev, int phy_id, int location, int value) mdio_write() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie.c | 2769 u32 value; in mwifiex_pcie_reg_dump() local 2781 if (mwifiex_read_reg(adapter, reg->fw_status, &value)) { in mwifiex_pcie_reg_dump() 2789 mwifiex_read_reg(adapter, pcie_scratch_reg[i], &value); in mwifiex_pcie_reg_dump() 2790 ptr += sprintf(ptr, "reg:0x%x, value=0x%x\n", in mwifiex_pcie_reg_dump() 2791 pcie_scratch_reg[i], value); in mwifiex_pcie_reg_dump()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | hw.c | 543 u32 value = _LLT_INIT_ADDR(address) | in _rtl92ce_llt_write() local 546 rtl_write_dword(rtlpriv, REG_LLT_INIT, value); in _rtl92ce_llt_write() 549 value = rtl_read_dword(rtlpriv, REG_LLT_INIT); in _rtl92ce_llt_write() 550 if (_LLT_NO_ACTIVE == _LLT_OP_VALUE(value)) in _rtl92ce_llt_write() 906 "The SECR-value %x\n", sec_reg_value); in rtl92ce_enable_hw_security_config()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | reg.h | 1001 #define GET_RX_PAGE_SIZE(value) ((value) & 0xF) 1002 #define GET_TX_PAGE_SIZE(value) (((value) & 0xF0) >> 4)
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | dpt_i2o.c | 1756 u32 value; in adpt_ioctl() local 1757 value = (u32)adpt_read_blink_led(pHba); in adpt_ioctl() 1758 if (copy_to_user(argp, &value, sizeof(value))) { in adpt_ioctl() 3004 * Query one scalar group value or a whole scalar group.
|
/kernel/linux/linux-5.10/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-npcm7xx.c | 85 int value); 178 /* Set GPIO to Output with initial value */ 180 unsigned int offset, int value) in npcmgpio_direction_output() 186 value); in npcmgpio_direction_output() 192 return bank->direction_output(chip, offset, value); in npcmgpio_direction_output() 179 npcmgpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) npcmgpio_direction_output() argument
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | atmel_serial.c | 112 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ 210 static inline void atmel_uart_writel(struct uart_port *port, u32 reg, u32 value) in atmel_uart_writel() argument 212 __raw_writel(value, port->membase + reg); in atmel_uart_writel() 220 static inline void atmel_uart_write_char(struct uart_port *port, u8 value) in atmel_uart_write_char() argument 222 __raw_writeb(value, port->membase + ATMEL_US_THR); in atmel_uart_write_char() 401 dev_err(port->dev, "ISO7816 fidi = %u, value not supported\n", fidi); in atmel_config_iso7816() 2824 * Threshold to a reasonably high value respecting this 16 data in atmel_serial_probe_fifos()
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | gadget.c | 1507 * value is the correct combination. 1839 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) in __dwc3_gadget_ep_set_halt() argument 1854 if (value) { in __dwc3_gadget_ep_set_halt() 1922 static int dwc3_gadget_ep_set_halt(struct usb_ep *ep, int value) in dwc3_gadget_ep_set_halt() argument 1932 ret = __dwc3_gadget_ep_set_halt(dep, value, false); in dwc3_gadget_ep_set_halt() 2211 * Check the return value for successful resume, or error. For a in dwc3_gadget_pullup() 3142 /* Note: NoStream rejection event param value is 0 and not 0xFFFF */ in dwc3_gadget_endpoint_stream_event() 3442 * Currently we always use the reset value. If any platform in dwc3_gadget_conndone_interrupt() 3443 * wants to set this to a different value, we need to add a in dwc3_gadget_conndone_interrupt() 3512 * BESL value i in dwc3_gadget_conndone_interrupt() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 1040 static int omap_ep_set_halt(struct usb_ep *_ep, int value) in omap_ep_set_halt() argument 1052 else if (value) { in omap_ep_set_halt() 1073 if (value) { in omap_ep_set_halt() 1105 value ? "set" : "clear", status); in omap_ep_set_halt()
|
H A D | atmel_usba_udc.c | 917 static int usba_ep_set_halt(struct usb_ep *_ep, int value) in usba_ep_set_halt() argument 925 value ? "set" : "clear"); in usba_ep_set_halt() 945 || ((value && ep->is_in && (usba_ep_readl(ep, STA) in usba_ep_set_halt() 949 if (value) in usba_ep_set_halt() 2198 "Using default max fifo-size value\n"); in atmel_udc_of_init() 2207 "Using default max nb-banks value\n"); in atmel_udc_of_init()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 550 static void OUTMC( struct radeonfb_info *rinfo, u8 indx, u32 value) in OUTMC() argument 553 OUTREG( MC_IND_DATA, value); in OUTMC() 958 * value for various X86 bridges). in radeon_pm_setup_for_suspend() 1100 static void radeon_pm_program_mode_reg(struct radeonfb_info *rinfo, u16 value, in radeon_pm_program_mode_reg() argument 1108 mem_sdram_mode |= (value<<MEM_SDRAM_MODE_REG__MEM_MODE_REG__SHIFT) in radeon_pm_program_mode_reg() 1557 * here we rewrite with the same value, ... I suppose we clear in radeon_pm_m10_disable_spread_spectrum() 1573 * value, not sure what for... in radeon_pm_m10_disable_spread_spectrum() 1586 * here we rewrite with the same value, ... I suppose we clear/set in radeon_pm_m10_enable_lvds_spread_spectrum()
|
/kernel/linux/linux-5.10/sound/pci/riptide/ |
H A D | riptide.c | 120 MODULE_PARM_DESC(index, "Index value for Riptide soundcard."); 657 int value; in atoh() local 660 value = hex_to_bin(c); in atoh() 661 if (value >= 0) in atoh() 662 sum += mult * value; in atoh()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | parse-events.c | 823 " \tmap:[<arraymap>].value<indices>=[value]\n" in parse_events_config_bpf() 836 * perf record -e bpf.c/call-graph=fp,map:array.value[0]=1/ ... 839 * 'map:array.value[0]=1' is 'obj config', should be processed 987 ? strdup("expected numeric value") in check_type_val() 988 : strdup("expected string value"), in check_type_val() 1516 * return value when called with fail == 0 ;) in parse_events_add_pmu() 2276 struct evlist *evlist = *(struct evlist **)opt->value; in parse_events_option() 2293 struct evlist **evlistp = opt->value; in parse_events_option_new_evlist() 2398 struct evlist *evlist = *(struct evlist **)opt->value; in parse_filter() [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_dmap.c | 98 static int cntlz(u32 value); 711 * size or requests that specify no hint value. 1318 * value. in dbAllocNear() 1639 * minlen - minimum value of contiguous blocks 2048 * bits and adjust the block number with this value. in dbAllocDmapLev() 2070 * the dmap to change (i.e. the value of the root of the dmap's 2094 /* save the current value of the root (i.e. maximum free string) in dbAllocDmap() 2126 * change (i.e. the value of the root of the dmap's dmtree), this 2149 /* save the current value of the root (i.e. maximum free string) in dbFreeDmap() 2255 * to setting the leaf value t in dbAllocBits() 3174 cntlz(u32 value) cntlz() argument [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | huge_memory.c | 227 unsigned long value; in single_hugepage_flag_store() local 230 ret = kstrtoul(buf, 10, &value); in single_hugepage_flag_store() 233 if (value > 1) in single_hugepage_flag_store() 236 if (value) in single_hugepage_flag_store() 830 * Return: vm_fault_t value. 921 * Return: vm_fault_t value. 2565 * has. If the return value is one, even if different processes are
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | dquot.c | 2966 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats() local 2969 if (value < 0 && (type == DQST_ALLOC_DQUOTS || in do_proc_dqstats() 2971 value = 0; in do_proc_dqstats() 2974 dqstats.stat[type] = value; in do_proc_dqstats()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | vpe.c | 451 static void write_reg(struct vpe_dev *dev, int offset, u32 value) in write_reg() argument 453 iowrite32(value, dev->base + offset); in write_reg() 457 static int get_field(u32 value, u32 mask, int shift) in get_field() argument 459 return (value & (mask << shift)) >> shift; in get_field() 1140 /* Select initial value based on format */ in add_in_dtd() 1969 * switching to a different context. default value is 1 buffer per context
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | af9005.h | 3453 u8 * value); 3457 u8 value); 3465 u8 pos, u8 len, u8 * value); 3467 u8 pos, u8 len, u8 value);
|
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
H A D | octeon-hcd.c | 385 #define USB_SET_FIELD32(address, _union, field, value) \ 390 c.s.field = value; \ 514 * for 32bit CSRs and logs the value in a readable format if 529 * swizzle for 32bit CSRs and logs the value in a readable format 534 * @value: Value to write 537 u64 address, u32 value) in cvmx_usb_write_csr32() 539 cvmx_write64_uint32(address ^ 4, value); in cvmx_usb_write_csr32() 1004 * or has some sort of error condition. The return value of this 1005 * call has "changed" bits to signal of the value of some fields 1049 * speed=0-1023, high speed=0-1024). This value 536 cvmx_usb_write_csr32(struct octeon_hcd *usb, u64 address, u32 value) cvmx_usb_write_csr32() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
H A D | acornscsi.c | 195 static inline void sbic_arm_write(AS_Host *host, unsigned int reg, unsigned int value) in sbic_arm_write() argument 198 writeb(value, host->base + SBIC_REGVAL); in sbic_arm_write() 216 #define dmac_write(host,reg,value) \ 217 ({ writeb((value), (host)->base + DMAC_OFFSET + ((reg) << 2)); }) 630 * Params : syncxfer SYNCXFER register value 670 * Purpose : calculate value for 33c93s SYNC register 673 * Returns : value for SYNC register
|
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 2682 static int nbu2ss_ep_set_halt(struct usb_ep *_ep, int value) in nbu2ss_ep_set_halt() argument 2706 if (value == 0) { in nbu2ss_ep_set_halt() 2707 _nbu2ss_set_endpoint_stall(udc, ep_adrs, value); in nbu2ss_ep_set_halt() 2716 if (value == 0) in nbu2ss_ep_set_halt()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
H A D | vpe.c | 451 static void write_reg(struct vpe_dev *dev, int offset, u32 value) in write_reg() argument 453 iowrite32(value, dev->base + offset); in write_reg() 457 static int get_field(u32 value, u32 mask, int shift) in get_field() argument 459 return (value & (mask << shift)) >> shift; in get_field() 1140 /* Select initial value based on format */ in add_in_dtd() 1967 * switching to a different context. default value is 1 buffer per context
|