/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
|
/kernel/linux/linux-6.6/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-6.6/drivers/memory/ |
H A D | omap-gpmc.c | 383 static inline void gpmc_cs_modify_reg(int cs, int reg, u32 mask, bool value) in gpmc_cs_modify_reg() argument 388 if (value) in gpmc_cs_modify_reg() 423 * @max: Maximum parameter value (before optional @shift). 427 * @shift: Parameter value left shifts @shift, which is then printed instead of value. 429 * raw format: gpmc,name = <value> 430 * tick format: gpmc,name = <value> /‍* x ns -- y ns; x ticks *‍/ 431 * Where x ns -- y ns result in the same tick value. 441 /* value transform */ in get_gpmc_timing_reg() 605 * @max: Maximum parameter value 2429 gpmc_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) gpmc_gpio_direction_output() argument 2435 gpmc_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) gpmc_gpio_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/b53/ |
H A D | b53_common.c | 869 u16 value = 0; in b53_phy_read16() local 873 ret = priv->ops->phy_read16(priv, addr, reg, &value); in b53_phy_read16() 876 reg * 2, &value); in b53_phy_read16() 878 return ret ? ret : value; in b53_phy_read16()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 332 /* fix up the value for auto (3 => 0) as zero is mapped in e1000_set_link_ksettings() 841 u32 value; in e1000_reg_test() local 865 value = (er32(STATUS) & toggle); in e1000_reg_test() 868 if (value != after) { in e1000_reg_test() 870 after, value); in e1000_reg_test() 957 /* reset index to actual value */ in e1000_reg_test() 1546 /* set bit 29 (value of MULR requests is now 2) */ in e1000_setup_loopback_test() 1595 /* set bit 29 (value of MULR requests is now 0) */ in e1000_loopback_cleanup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 212 #define QEDE_FORCED_SPEED_MAP(value) \ 214 .speed = SPEED_##value, \ 215 .cap_arr = qede_forced_speed_##value, \ 216 .arr_size = ARRAY_SIZE(qede_forced_speed_##value), \ 816 * coalescing value, so no need to iterate over in qede_get_coalesce() 871 "Can't support requested %s coalesce value [max supported value %d]\n", in qede_set_coalesce() 899 * coalescing value, so no need to iterate over in qede_set_coalesce() 1535 /* 'next page' entries are counted in the producer value */ in qede_selftest_transmit_traffic() 1769 "Invalid rx copy break value, rang in qede_set_tunable() [all...] |
/kernel/linux/linux-6.6/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. */ 1277 int value) in mdio_write() 1282 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location << 18) | value; in mdio_write() 1290 RTL_W16 (BasicModeCtrl, value); in mdio_write() 1293 RTL_W16 (mii_2_8139_map[location], value); in mdio_write() 1276 mdio_write(struct net_device *dev, int phy_id, int location, int value) mdio_write() argument
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_dmap.c | 98 static int cntlz(u32 value); 711 * size or requests that specify no hint value. 1250 * value. in dbAllocNear() 1571 * minlen - minimum value of contiguous blocks 1980 * bits and adjust the block number with this value. in dbAllocDmapLev() 2002 * the dmap to change (i.e. the value of the root of the dmap's 2026 /* save the current value of the root (i.e. maximum free string) in dbAllocDmap() 2058 * change (i.e. the value of the root of the dmap's dmtree), this 2081 /* save the current value of the root (i.e. maximum free string) in dbFreeDmap() 2187 * to setting the leaf value t in dbAllocBits() 3110 cntlz(u32 value) cntlz() argument [all...] |
/kernel/linux/linux-6.6/fs/quota/ |
H A D | dquot.c | 2927 s64 value = percpu_counter_sum(&dqstats.counter[type]); in do_proc_dqstats() local 2930 if (value < 0 && (type == DQST_ALLOC_DQUOTS || in do_proc_dqstats() 2932 value = 0; in do_proc_dqstats() 2935 dqstats.stat[type] = value; in do_proc_dqstats()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | atmel_serial.c | 114 int may_wakeup; /* cached value of device_may_wakeup for times we need to disable it */ 211 static inline void atmel_uart_writel(struct uart_port *port, u32 reg, u32 value) in atmel_uart_writel() argument 213 __raw_writel(value, port->membase + reg); in atmel_uart_writel() 221 static inline void atmel_uart_write_char(struct uart_port *port, u8 value) in atmel_uart_write_char() argument 223 __raw_writeb(value, port->membase + ATMEL_US_THR); in atmel_uart_write_char() 407 dev_err(port->dev, "ISO7816 fidi = %u, value not supported\n", fidi); in atmel_config_iso7816() 2288 * If the current value of the Clock Divisor surpasses the 16 bit in atmel_set_termios() 2291 * If the IP is UART however, keep the highest possible value for in atmel_set_termios() 2334 * a higher value for CD. in atmel_set_termios() 2860 * Threshold to a reasonably high value respectin in atmel_serial_probe_fifos() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | switch.c | 724 * devices we use hard-coded value. in tb_init_port() 1514 * tb_switch_wait_for_bit() - Wait for specified value of bits in offset 1515 * @sw: Router to read the offset value from 1518 * @value: Value of the bits to wait for 1521 * Wait till the specified bits in specified offset reach specified value. 1522 * Returns %0 in case of success, %-ETIMEDOUT if the @value was not reached 1526 u32 value, int timeout_msec) in tb_switch_wait_for_bit() 1538 if ((val & bit) == value) in tb_switch_wait_for_bit() 1671 * value of /sys/bus/thunderbolt/devices/.../authorized. in tb_switch_set_authorized() 3203 * value o 1525 tb_switch_wait_for_bit(struct tb_switch *sw, u32 offset, u32 bit, u32 value, int timeout_msec) tb_switch_wait_for_bit() argument 3445 tb_switch_pcie_bridge_write(struct tb_switch *sw, unsigned int bridge, unsigned int pcie_offset, u32 value) tb_switch_pcie_bridge_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 2678 static int nbu2ss_ep_set_halt(struct usb_ep *_ep, int value) in nbu2ss_ep_set_halt() argument 2702 if (value == 0) { in nbu2ss_ep_set_halt() 2703 _nbu2ss_set_endpoint_stall(udc, ep_adrs, value); in nbu2ss_ep_set_halt() 2712 if (value == 0) in nbu2ss_ep_set_halt()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 549 static void OUTMC( struct radeonfb_info *rinfo, u8 indx, u32 value) in OUTMC() argument 552 OUTREG( MC_IND_DATA, value); in OUTMC() 957 * value for various X86 bridges). in radeon_pm_setup_for_suspend() 1099 static void radeon_pm_program_mode_reg(struct radeonfb_info *rinfo, u16 value, in radeon_pm_program_mode_reg() argument 1107 mem_sdram_mode |= (value<<MEM_SDRAM_MODE_REG__MEM_MODE_REG__SHIFT) in radeon_pm_program_mode_reg() 1556 * here we rewrite with the same value, ... I suppose we clear in radeon_pm_m10_disable_spread_spectrum() 1572 * value, not sure what for... in radeon_pm_m10_disable_spread_spectrum() 1585 * here we rewrite with the same value, ... I suppose we clear/set in radeon_pm_m10_enable_lvds_spread_spectrum()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.c | 920 static int usba_ep_set_halt(struct usb_ep *_ep, int value) in usba_ep_set_halt() argument 928 value ? "set" : "clear"); in usba_ep_set_halt() 948 || ((value && ep->is_in && (usba_ep_readl(ep, STA) in usba_ep_set_halt() 952 if (value) in usba_ep_set_halt() 2203 "Using default max fifo-size value\n"); in atmel_udc_of_init() 2212 "Using default max nb-banks value\n"); in atmel_udc_of_init()
|
H A D | omap_udc.c | 1045 static int omap_ep_set_halt(struct usb_ep *_ep, int value) in omap_ep_set_halt() argument 1057 else if (value) { in omap_ep_set_halt() 1078 if (value) { in omap_ep_set_halt() 1110 value ? "set" : "clear", status); in omap_ep_set_halt()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | octeon-hcd.c | 387 #define USB_SET_FIELD32(address, _union, field, value) \ 392 c.s.field = value; \ 516 * for 32bit CSRs and logs the value in a readable format if 531 * swizzle for 32bit CSRs and logs the value in a readable format 536 * @value: Value to write 539 u64 address, u32 value) in cvmx_usb_write_csr32() 541 cvmx_write64_uint32(address ^ 4, value); in cvmx_usb_write_csr32() 1006 * or has some sort of error condition. The return value of this 1007 * call has "changed" bits to signal of the value of some fields 1051 * speed=0-1023, high speed=0-1024). This value 538 cvmx_usb_write_csr32(struct octeon_hcd *usb, u64 address, u32 value) cvmx_usb_write_csr32() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1412 wb_arb_params->cli_watermark[0]); /* assume 4 watermark sets have the same value */ in dcn30_set_mcif_arb_params() 2240 uint32_t value = REG_READ(CC_DC_PIPE_DIS); in read_pipe_fuses() local 2242 value = value & 0x3f; in read_pipe_fuses() 2243 return value; in read_pipe_fuses()
|
/kernel/linux/linux-6.6/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()
|