Home
last modified time | relevance | path

Searched defs:VAL (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/arch/loongarch/kernel/
Dhw_breakpoint.c36 #define READ_WB_REG_CASE(OFF, N, REG, T, VAL) \ argument
41 #define WRITE_WB_REG_CASE(OFF, N, REG, T, VAL) \ argument
46 #define GEN_READ_WB_REG_CASES(OFF, REG, T, VAL) \ argument
56 #define GEN_WRITE_WB_REG_CASES(OFF, REG, T, VAL) \ argument
/linux-6.6.21/arch/arm64/kernel/
Dhw_breakpoint.c59 #define READ_WB_REG_CASE(OFF, N, REG, VAL) \ argument
64 #define WRITE_WB_REG_CASE(OFF, N, REG, VAL) \ argument
69 #define GEN_READ_WB_REG_CASES(OFF, REG, VAL) \ argument
87 #define GEN_WRITE_WB_REG_CASES(OFF, REG, VAL) \ argument
/linux-6.6.21/arch/loongarch/include/asm/
Dhw_breakpoint.h57 #define LOONGARCH_CSR_WATCH_READ(N, REG, T, VAL) \ argument
65 #define LOONGARCH_CSR_WATCH_WRITE(N, REG, T, VAL) \ argument
/linux-6.6.21/include/uapi/linux/
Dbtf.h92 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
93 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
94 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/linux-6.6.21/tools/include/uapi/linux/
Dbtf.h92 #define BTF_INT_ENCODING(VAL) (((VAL) & 0x0f000000) >> 24) argument
93 #define BTF_INT_OFFSET(VAL) (((VAL) & 0x00ff0000) >> 16) argument
94 #define BTF_INT_BITS(VAL) ((VAL) & 0x000000ff) argument
/linux-6.6.21/arch/arm/include/asm/
Dhw_breakpoint.h109 #define ARM_DBG_READ(N, M, OP2, VAL) do {\ argument
113 #define ARM_DBG_WRITE(N, M, OP2, VAL) do {\ argument
/linux-6.6.21/arch/arm64/include/asm/
Dhw_breakpoint.h99 #define AARCH64_DBG_READ(N, REG, VAL) do {\ argument
103 #define AARCH64_DBG_WRITE(N, REG, VAL) do {\ argument
/linux-6.6.21/arch/arm/kernel/
Dhw_breakpoint.c48 #define READ_WB_REG_CASE(OP2, M, VAL) \ argument
53 #define WRITE_WB_REG_CASE(OP2, M, VAL) \ argument
58 #define GEN_READ_WB_REG_CASES(OP2, VAL) \ argument
76 #define GEN_WRITE_WB_REG_CASES(OP2, VAL) \ argument
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hdr.h641 #define QLC_DEV_SET_REF_CNT(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
642 #define QLC_DEV_CLR_REF_CNT(VAL, FN) ((VAL) &= ~(1 << (FN * 4))) argument
643 #define QLC_DEV_SET_RST_RDY(VAL, FN) ((VAL) |= (1 << (FN * 4))) argument
644 #define QLC_DEV_SET_QSCNT_RDY(VAL, FN) ((VAL) |= (2 << (FN * 4))) argument
645 #define QLC_DEV_CLR_RST_QSCNT(VAL, FN) ((VAL) &= ~(3 << (FN * 4))) argument
647 #define QLC_DEV_GET_DRV(VAL, FN) (0xf & ((VAL) >> (FN * 4))) argument
648 #define QLC_DEV_SET_DRV(VAL, FN) ((VAL) << (FN * 4)) argument
678 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
Dqlcnic_83xx_hw.h405 #define QLC_83XX_GET_FUNC_PRIVILEGE(VAL, FN) (0x3 & ((VAL) >> (FN * 2))) argument
406 #define QLC_83XX_SET_FUNC_OPMODE(VAL, FN) ((VAL) << (FN * 2)) argument
/linux-6.6.21/drivers/net/ethernet/freescale/fs_enet/
Dmii-fec.c48 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
Dmac-fcc.c72 #define mk_mii_write(REG, VAL) (0x50020000 | ((REG & 0x1f) << 18) | (VAL & 0xffff)) argument
/linux-6.6.21/include/linux/
Ddma-mapping.h597 #define dma_unmap_addr_set(PTR, ADDR_NAME, VAL) (((PTR)->ADDR_NAME) = (VAL)) argument
599 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) (((PTR)->LEN_NAME) = (VAL)) argument
604 #define dma_unmap_addr_set(PTR, ADDR_NAME, VAL) do { } while (0) argument
606 #define dma_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) argument
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hdr.h950 #define NETXEN_DIMM_MEMTYPE(VAL) ((VAL >> 3) & 0xf) argument
951 #define NETXEN_DIMM_NUMROWS(VAL) ((VAL >> 7) & 0xf) argument
952 #define NETXEN_DIMM_NUMCOLS(VAL) ((VAL >> 11) & 0xf) argument
953 #define NETXEN_DIMM_NUMRANKS(VAL) ((VAL >> 15) & 0x3) argument
954 #define NETXEN_DIMM_DATAWIDTH(VAL) ((VAL >> 18) & 0x3) argument
955 #define NETXEN_DIMM_NUMBANKS(VAL) ((VAL >> 21) & 0xf) argument
956 #define NETXEN_DIMM_TYPE(VAL) ((VAL >> 25) & 0x3f) argument
991 #define ISR_LEGACY_INT_TRIGGERED(VAL) (((VAL) & 0x300) == 0x200) argument
/linux-6.6.21/drivers/scsi/
Dsun3x_esp.c50 #define dma_write32(VAL, REG) \ argument
Dmac_esp.c50 #define esp_write8(VAL, REG) mac_esp_write8(esp, VAL, REG) argument
Dsun_esp.c34 #define dma_write32(VAL, REG) \ argument
/linux-6.6.21/drivers/hwmon/
Dsmsc47b397.c42 #define VAL 0x2f /* The value to read/write */ macro
/linux-6.6.21/drivers/watchdog/
Dit87_wdt.c40 #define VAL 0x2f macro
Dit8712f_wdt.c57 #define VAL 0x2f /* The value to read/write */ macro
/linux-6.6.21/drivers/gpu/drm/panel/
Dpanel-novatek-nt39016.c70 #define RV(REG, VAL) { .reg = (REG), .def = (VAL), .delay_us = 2 } argument
/linux-6.6.21/arch/sparc/include/asm/
Dtsb.h113 #define TSB_STORE(ADDR, VAL) \ argument
/linux-6.6.21/drivers/gpio/
Dgpio-it87.c38 #define VAL 0x2f macro
/linux-6.6.21/drivers/comedi/drivers/
Ds626.h447 #define S626_I2C_B2(ATTR, VAL) (((ATTR) << 6) | ((VAL) << 24)) argument
448 #define S626_I2C_B1(ATTR, VAL) (((ATTR) << 4) | ((VAL) << 16)) argument
449 #define S626_I2C_B0(ATTR, VAL) (((ATTR) << 2) | ((VAL) << 8)) argument
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-rockchip.c215 #define PIN_BANK_MUX_ROUTE_FLAGS(ID, PIN, FUNC, REG, VAL, FLAG) \ argument
225 #define RK_MUXROUTE_SAME(ID, PIN, FUNC, REG, VAL) \ argument
228 #define RK_MUXROUTE_GRF(ID, PIN, FUNC, REG, VAL) \ argument
231 #define RK_MUXROUTE_PMU(ID, PIN, FUNC, REG, VAL) \ argument

12