/linux-6.14.4/arch/arm64/include/asm/ |
D | arm_pmuv3.h | 14 #define RETURN_READ_PMEVCNTRN(n) \ argument 16 static inline unsigned long read_pmevcntrn(int n) in read_pmevcntrn() 22 #define WRITE_PMEVCNTRN(n) \ argument 24 static inline void write_pmevcntrn(int n, unsigned long val) in write_pmevcntrn() 29 #define WRITE_PMEVTYPERN(n) \ argument 31 static inline void write_pmevtypern(int n, unsigned long val) in write_pmevtypern() 36 #define RETURN_READ_PMEVTYPERN(n) \ argument 38 static inline unsigned long read_pmevtypern(int n) in read_pmevtypern() 65 static inline void write_pmcr(u64 val) in write_pmcr() 75 static inline void write_pmselr(u32 val) in write_pmselr() [all …]
|
D | percpu.h | 174 #define this_cpu_write_1(pcp, val) \ argument 176 #define this_cpu_write_2(pcp, val) \ argument 178 #define this_cpu_write_4(pcp, val) \ argument 180 #define this_cpu_write_8(pcp, val) \ argument 183 #define this_cpu_add_1(pcp, val) \ argument 185 #define this_cpu_add_2(pcp, val) \ argument 187 #define this_cpu_add_4(pcp, val) \ argument 189 #define this_cpu_add_8(pcp, val) \ argument 192 #define this_cpu_add_return_1(pcp, val) \ argument 194 #define this_cpu_add_return_2(pcp, val) \ argument [all …]
|
/linux-6.14.4/kernel/ |
D | notifier.c | 18 struct notifier_block *n, in notifier_chain_register() 40 struct notifier_block *n) in notifier_chain_unregister() 66 unsigned long val, void *v, in notifier_call_chain() 142 struct notifier_block *n) in atomic_notifier_chain_register() 165 struct notifier_block *n) in atomic_notifier_chain_register_unique_prio() 187 struct notifier_block *n) in atomic_notifier_chain_unregister() 218 unsigned long val, void *v) in atomic_notifier_call_chain() 250 struct notifier_block *n, in __blocking_notifier_chain_register() 280 struct notifier_block *n) in blocking_notifier_chain_register() 297 struct notifier_block *n) in blocking_notifier_chain_register_unique_prio() [all …]
|
/linux-6.14.4/drivers/phy/marvell/ |
D | phy-mvebu-cp110-comphy.c | 21 #define MVEBU_COMPHY_SERDES_CFG0(n) (0x0 + (n) * 0x1000) argument 23 #define MVEBU_COMPHY_SERDES_CFG0_GEN_RX(n) ((n) << 3) argument 24 #define MVEBU_COMPHY_SERDES_CFG0_GEN_TX(n) ((n) << 7) argument 29 #define MVEBU_COMPHY_SERDES_CFG1(n) (0x4 + (n) * 0x1000) argument 34 #define MVEBU_COMPHY_SERDES_CFG2(n) (0x8 + (n) * 0x1000) argument 36 #define MVEBU_COMPHY_SERDES_STATUS0(n) (0x18 + (n) * 0x1000) argument 40 #define MVEBU_COMPHY_PWRPLL_CTRL(n) (0x804 + (n) * 0x1000) argument 41 #define MVEBU_COMPHY_PWRPLL_CTRL_RFREQ(n) ((n) << 0) argument 42 #define MVEBU_COMPHY_PWRPLL_PHY_MODE(n) ((n) << 5) argument 43 #define MVEBU_COMPHY_IMP_CAL(n) (0x80c + (n) * 0x1000) argument [all …]
|
/linux-6.14.4/arch/loongarch/include/asm/ |
D | percpu.h | 71 static __always_inline unsigned long __percpu_xchg(void *ptr, unsigned long val, int size) in __percpu_xchg() 119 #define _protect_cmpxchg_local(pcp, o, n) \ argument 128 #define _pcp_protect(operation, pcp, val) \ argument 138 #define _percpu_add(pcp, val) \ argument 141 #define _percpu_add_return(pcp, val) _percpu_add(pcp, val) argument 143 #define _percpu_and(pcp, val) \ argument 146 #define _percpu_or(pcp, val) \ argument 149 #define _percpu_xchg(pcp, val) ((typeof(pcp)) \ argument 152 #define this_cpu_add_4(pcp, val) _percpu_add(pcp, val) argument 153 #define this_cpu_add_8(pcp, val) _percpu_add(pcp, val) argument [all …]
|
/linux-6.14.4/drivers/net/ethernet/neterion/ |
D | s2io-regs.h | 77 #define ADAPTER_UDPI(val) vBIT(val,36,4) argument 96 #define GET_PCI_MODE(val) ((val & vBIT(0xF, 0, 4)) >> 60) argument 182 #define TX_TRAFFIC_INT_n(n) s2BIT(n) argument 186 #define RX_TRAFFIC_INT_n(n) s2BIT(n) argument 192 #define PIC_CNTL_SHARED_SPLITS(n) vBIT(n,11,5) argument 224 #define SCHED_INT_CTRL_INT2MSI(val) vBIT(val,10,6) argument 228 #define TXREQTO_VAL(val) vBIT(val,0,32) argument 232 #define STATREQTO_VAL(n) TBD argument 255 #define STAT_BC(n) vBIT(n,4,12) argument 263 #define STAT_TRSF_PER(n) TBD argument [all …]
|
/linux-6.14.4/drivers/media/platform/qcom/camss/ |
D | camss-csiphy-3ph-1-0.c | 18 #define CSIPHY_3PH_LNn_CFG1(n) (0x000 + 0x100 * (n)) argument 20 #define CSIPHY_3PH_LNn_CFG2(n) (0x004 + 0x100 * (n)) argument 22 #define CSIPHY_3PH_LNn_CFG3(n) (0x008 + 0x100 * (n)) argument 23 #define CSIPHY_3PH_LNn_CFG4(n) (0x00c + 0x100 * (n)) argument 26 #define CSIPHY_3PH_LNn_CFG5(n) (0x010 + 0x100 * (n)) argument 29 #define CSIPHY_3PH_LNn_TEST_IMP(n) (0x01c + 0x100 * (n)) argument 31 #define CSIPHY_3PH_LNn_MISC1(n) (0x028 + 0x100 * (n)) argument 33 #define CSIPHY_3PH_LNn_CFG6(n) (0x02c + 0x100 * (n)) argument 35 #define CSIPHY_3PH_LNn_CFG7(n) (0x030 + 0x100 * (n)) argument 37 #define CSIPHY_3PH_LNn_CFG8(n) (0x034 + 0x100 * (n)) argument [all …]
|
/linux-6.14.4/drivers/hwmon/ |
D | gl520sm.c | 113 int val, i; in gl520_update_device() local 197 #define VDD_FROM_REG(val) DIV_ROUND_CLOSEST((val) * 95, 4) argument 198 #define VDD_CLAMP(val) clamp_val(val, 0, 255 * 95 / 4) argument 199 #define VDD_TO_REG(val) DIV_ROUND_CLOSEST(VDD_CLAMP(val) * 4, 95) argument 201 #define IN_FROM_REG(val) ((val) * 19) argument 202 #define IN_CLAMP(val) clamp_val(val, 0, 255 * 19) argument 203 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) argument 208 int n = to_sensor_dev_attr(attr)->index; in in_input_show() local 221 int n = to_sensor_dev_attr(attr)->index; in in_min_show() local 234 int n = to_sensor_dev_attr(attr)->index; in in_max_show() local [all …]
|
/linux-6.14.4/arch/arm/include/asm/ |
D | arm_pmuv3.h | 95 #define RETURN_READ_PMEVCNTRN(n) \ argument 97 static inline unsigned long read_pmevcntrn(int n) in read_pmevcntrn() 103 #define WRITE_PMEVCNTRN(n) \ argument 105 static inline void write_pmevcntrn(int n, unsigned long val) in write_pmevcntrn() 110 #define WRITE_PMEVTYPERN(n) \ argument 112 static inline void write_pmevtypern(int n, unsigned long val) in write_pmevtypern() 136 static inline void write_pmcr(u32 val) in write_pmcr() 146 static inline void write_pmselr(u32 val) in write_pmselr() 151 static inline void write_pmccntr(u64 val) in write_pmccntr() 161 static inline void write_pmicntr(u64 val) {} in write_pmicntr() [all …]
|
D | cp15.h | 59 unsigned long val; in get_cr() local 64 static inline void set_cr(unsigned long val) in set_cr() 73 unsigned int val; in get_auxcr() local 78 static inline void set_auxcr(unsigned int val) in set_auxcr() 85 #define CPACC_FULL(n) (3 << (n * 2)) argument 86 #define CPACC_SVC(n) (1 << (n * 2)) argument 87 #define CPACC_DISABLE(n) (0 << (n * 2)) argument 91 unsigned int val; in get_copro_access() local 97 static inline void set_copro_access(unsigned int val) in set_copro_access()
|
/linux-6.14.4/drivers/net/can/spi/ |
D | mcp251x.c | 49 #define INSTRUCTION_LOAD_TXB(n) (0x40 + 2 * (n)) argument 50 #define INSTRUCTION_READ_RXB(n) (((n) == 0) ? 0x90 : 0x94) argument 55 #define INSTRUCTION_RTS(n) (0x80 | ((n) & 0x07)) argument 61 # define BFPCTRL_BFM(n) (BFPCTRL_B0BFM << (n)) argument 65 # define BFPCTRL_BFE(n) (BFPCTRL_B0BFE << (n)) argument 69 # define BFPCTRL_BFS(n) (BFPCTRL_B0BFS << (n)) argument 75 # define TXRTSCTRL_RTSM(n) (TXRTSCTRL_B0RTSM << (n)) argument 80 # define TXRTSCTRL_RTS(n) (TXRTSCTRL_B0RTS << (n)) argument 134 #define TXBCTRL(n) (((n) * 0x10) + 0x30 + TXBCTRL_OFF) argument 139 #define TXBSIDH(n) (((n) * 0x10) + 0x30 + TXBSIDH_OFF) argument [all …]
|
/linux-6.14.4/sound/soc/ti/ |
D | davinci-mcasp.h | 81 #define DAVINCI_MCASP_XRSRCTL_REG(n) (DAVINCI_MCASP_XRSRCTL_BASE_REG + \ argument 85 #define DAVINCI_MCASP_TXBUF_REG(n) (0x200 + (n << 2)) argument 87 #define DAVINCI_MCASP_RXBUF_REG(n) (0x280 + (n << 2)) argument 112 #define PIN_BIT_AXR(n) (n) argument 131 #define TXROT(val) (val) argument 133 #define TXSSZ(val) (val<<4) argument 134 #define TXPBIT(val) (val<<8) argument 135 #define TXPAD(val) (val<<13) argument 137 #define FSXDLY(val) (val<<16) argument 142 #define RXROT(val) (val) argument [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | cmpxchg.h | 87 __xchg_u8_local(volatile void *p, unsigned long val) in __xchg_u8_local() 103 __xchg_u8_relaxed(u8 *p, unsigned long val) in __xchg_u8_relaxed() 119 __xchg_u16_local(volatile void *p, unsigned long val) in __xchg_u16_local() 135 __xchg_u16_relaxed(u16 *p, unsigned long val) in __xchg_u16_relaxed() 152 __xchg_u32_local(volatile void *p, unsigned long val) in __xchg_u32_local() 168 __xchg_u32_relaxed(u32 *p, unsigned long val) in __xchg_u32_relaxed() 185 __xchg_u64_local(volatile void *p, unsigned long val) in __xchg_u64_local() 201 __xchg_u64_relaxed(u64 *p, unsigned long val) in __xchg_u64_relaxed() 699 #define arch_cmpxchg(ptr, o, n) \ argument 708 #define arch_cmpxchg_local(ptr, o, n) \ argument [all …]
|
D | io.h | 204 static inline void out_le64(volatile u64 __iomem *addr, u64 val) in out_le64() 218 static inline void out_be64(volatile u64 __iomem *addr, u64 val) in out_be64() 389 static inline void __raw_rm_writeb(u8 val, volatile void __iomem *paddr) in __raw_rm_writeb() 398 static inline void __raw_rm_writew(u16 val, volatile void __iomem *paddr) in __raw_rm_writew() 407 static inline void __raw_rm_writel(u32 val, volatile void __iomem *paddr) in __raw_rm_writel() 416 static inline void __raw_rm_writeq(u64 val, volatile void __iomem *paddr) in __raw_rm_writeq() 425 static inline void __raw_rm_writeq_be(u64 val, volatile void __iomem *paddr) in __raw_rm_writeq_be() 554 #define __do_writeb(val, addr) out_8(PCI_FIX_ADDR(addr), val) argument 555 #define __do_writew(val, addr) out_le16(PCI_FIX_ADDR(addr), val) argument 556 #define __do_writel(val, addr) out_le32(PCI_FIX_ADDR(addr), val) argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 39 #define SUN6I_DSI_BASIC_CTL_TRAIL_INV(n) (((n) & 0xf) << 4) argument 52 #define SUN6I_DSI_BASIC_CTL1_VIDEO_ST_DELAY(n) (((n) & 0x1fff) << 4) argument 58 #define SUN6I_DSI_BASIC_SIZE0_VBP(n) (((n) & 0xfff) << 16) argument 59 #define SUN6I_DSI_BASIC_SIZE0_VSA(n) ((n) & 0xfff) argument 62 #define SUN6I_DSI_BASIC_SIZE1_VT(n) (((n) & 0xfff) << 16) argument 63 #define SUN6I_DSI_BASIC_SIZE1_VACT(n) ((n) & 0xfff) argument 65 #define SUN6I_DSI_INST_FUNC_REG(n) (0x020 + (n) * 0x04) argument 66 #define SUN6I_DSI_INST_FUNC_INST_MODE(n) (((n) & 0xf) << 28) argument 67 #define SUN6I_DSI_INST_FUNC_ESCAPE_ENTRY(n) (((n) & 0xf) << 24) argument 68 #define SUN6I_DSI_INST_FUNC_TRANS_PACKET(n) (((n) & 0xf) << 20) argument [all …]
|
/linux-6.14.4/kernel/power/ |
D | main.c | 107 int pm_notifier_call_chain(unsigned long val) in pm_notifier_call_chain() 122 const char *buf, size_t n) in pm_async_store() 124 unsigned long val; in pm_async_store() local 165 static suspend_state_t decode_suspend_state(const char *buf, size_t n) in decode_suspend_state() 185 const char *buf, size_t n) in mem_sleep_store() 228 const char *buf, size_t n) in sync_on_suspend_store() 230 unsigned long val; in sync_on_suspend_store() local 279 const char *buf, size_t n) in pm_test_store() 579 const char *buf, size_t n) in pm_print_times_store() 581 unsigned long val; in pm_print_times_store() local [all …]
|
/linux-6.14.4/drivers/net/ethernet/freescale/enetc/ |
D | enetc_hw.h | 57 #define ENETC_PSIMSGRR_MR(n) BIT((n) + 1) /* n = VSI index */ argument 58 #define ENETC_PSIVMSGRCVAR0(n) (0x210 + (n) * 0x8) /* n = VSI index */ argument 59 #define ENETC_PSIVMSGRCVAR1(n) (0x214 + (n) * 0x8) argument 67 #define ENETC_SIMSGSR_SET_MC(val) ((val) << 16) argument 68 #define ENETC_SIMSGSR_GET_MC(val) ((val) >> 16) argument 79 #define ENETC_RBDCR(n) (0x8180 + (n) * 0x200) argument 100 #define ENETC_SIMSITRV(n) (0xB00 + (n) * 0x4) argument 101 #define ENETC_SIMSIRRV(n) (0xB80 + (n) * 0x4) argument 106 #define ENETC_SIRFSCAPR_GET_NUM_RFS(val) ((val) & 0x7f) argument 108 #define ENETC_SIRSSCAPR_GET_NUM_RSS(val) (BIT((val) & 0xf) * 32) argument [all …]
|
/linux-6.14.4/arch/arm/plat-orion/ |
D | pcie.c | 25 #define PCIE_BAR_LO_OFF(n) (0x0010 + ((n) << 3)) argument 26 #define PCIE_BAR_HI_OFF(n) (0x0014 + ((n) << 3)) argument 28 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + ((n - 1) * 4)) argument 29 #define PCIE_WIN04_CTRL_OFF(n) (0x1820 + ((n) << 4)) argument 30 #define PCIE_WIN04_BASE_OFF(n) (0x1824 + ((n) << 4)) argument 31 #define PCIE_WIN04_REMAP_OFF(n) (0x182c + ((n) << 4)) argument 209 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf() 228 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf_tlp() 251 u32 devfn, int where, int size, u32 *val) in orion_pcie_rd_conf_wa() 267 u32 devfn, int where, int size, u32 val) in orion_pcie_wr_conf()
|
/linux-6.14.4/include/linux/ |
D | find.h | 60 unsigned long val; in find_next_bit() local 90 unsigned long val; in find_next_and_bit() local 121 unsigned long val; in find_next_andnot_bit() local 151 unsigned long val; in find_next_or_bit() local 179 unsigned long val; in find_next_zero_bit() local 205 unsigned long val = *addr & GENMASK(size - 1, 0); in find_first_bit() local 228 unsigned long find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) in find_nth_bit() 234 unsigned long val = *addr & GENMASK(size - 1, 0); in find_nth_bit() local 254 unsigned long size, unsigned long n) in find_nth_and_bit() 260 unsigned long val = *addr1 & *addr2 & GENMASK(size - 1, 0); in find_nth_and_bit() local [all …]
|
D | kfifo.h | 168 __kfifo_uint_must_check_helper(unsigned int val) in __kfifo_uint_must_check_helper() 174 __kfifo_int_must_check_helper(int val) in __kfifo_int_must_check_helper() 416 #define kfifo_put(fifo, val) \ argument 453 #define kfifo_get(fifo, val) \ argument 492 #define kfifo_peek(fifo, val) \ argument 530 #define kfifo_in(fifo, buf, n) \ argument 552 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument 573 #define kfifo_in_spinlocked_noirqsave(fifo, buf, n, lock) \ argument 583 #define kfifo_in_locked(fifo, buf, n, lock) \ argument 598 #define kfifo_out(fifo, buf, n) \ argument [all …]
|
/linux-6.14.4/sound/pci/ice1712/ |
D | wm8766.c | 166 u16 val = wm->regs[WM8766_REG_IFCTRL] & ~WM8766_IF_MASK; in snd_wm8766_set_if() local 174 u16 val = wm->regs[WM8766_REG_DACR1]; in snd_wm8766_volume_restore() local 185 int n = kcontrol->private_value; in snd_wm8766_volume_info() local 199 int n = kcontrol->private_value; in snd_wm8766_enum_info() local 209 int n = kcontrol->private_value; in snd_wm8766_ctl_get() local 240 int n = kcontrol->private_value; in snd_wm8766_ctl_put() local 241 u16 val, regval1, regval2; in snd_wm8766_ctl_put() local
|
/linux-6.14.4/drivers/leds/ |
D | leds-pca955x.c | 152 static int pca955x_write_psc(struct i2c_client *client, int n, u8 val) in pca955x_write_psc() 172 static int pca955x_write_pwm(struct i2c_client *client, int n, u8 val) in pca955x_write_pwm() 189 static int pca955x_write_ls(struct i2c_client *client, int n, u8 val) in pca955x_write_ls() 206 static int pca955x_read_ls(struct i2c_client *client, int n, u8 *val) in pca955x_read_ls() 222 static int pca955x_read_pwm(struct i2c_client *client, int n, u8 *val) in pca955x_read_pwm() 332 static int pca955x_read_input(struct i2c_client *client, int n, u8 *val) in pca955x_read_input() 361 int val) in pca955x_set_value() 373 int val) in pca955x_gpio_set_value() 401 unsigned int offset, int val) in pca955x_gpio_direction_output()
|
/linux-6.14.4/tools/testing/selftests/kvm/arm64/ |
D | vpmu_counter_access.c | 53 static uint64_t get_counters_mask(uint64_t n) in get_counters_mask() 71 static inline void write_sel_evcntr(int sel, unsigned long val) in write_sel_evcntr() 88 static inline void write_sel_evtyper(int sel, unsigned long val) in write_sel_evtyper() 106 #define RETURN_READ_PMEVCNTRN(n) \ argument 108 static unsigned long read_pmevcntrn(int n) in read_pmevcntrn() 114 #define WRITE_PMEVCNTRN(n) \ argument 116 static void write_pmevcntrn(int n, unsigned long val) in write_pmevcntrn() 122 #define READ_PMEVTYPERN(n) \ argument 124 static unsigned long read_pmevtypern(int n) in read_pmevtypern() 130 #define WRITE_PMEVTYPERN(n) \ argument [all …]
|
/linux-6.14.4/drivers/clk/ |
D | clk-fractional-divider.c | 61 static inline void clk_fd_writel(struct clk_fractional_divider *fd, u32 val) in clk_fd_writel() 73 unsigned long m, n; in clk_fd_get_div() local 75 u32 val; in clk_fd_get_div() local 123 unsigned long *m, unsigned long *n) in clk_fractional_divider_general_approximation() 158 unsigned long m, n; in clk_fd_round_rate() local 180 unsigned long m, n, max_m, max_n; in clk_fd_set_rate() local 182 u32 val; in clk_fd_set_rate() local 220 static int clk_fd_numerator_get(void *hw, u64 *val) in clk_fd_numerator_get() 232 static int clk_fd_denominator_get(void *hw, u64 *val) in clk_fd_denominator_get()
|
/linux-6.14.4/arch/arm/mach-orion5x/ |
D | pci.c | 74 int size, u32 *val) in pcie_rd_conf() 92 int where, int size, u32 *val) in pcie_rd_conf_wa() 118 int where, int size, u32 val) in pcie_wr_conf() 240 #define PCI_BAR_SIZE_DDR_CS(n) (((n) == 0) ? ORION5X_PCI_REG(0xc08) : \ argument 244 #define PCI_BAR_REMAP_DDR_CS(n) (((n) == 0) ? ORION5X_PCI_REG(0xc48) : \ argument 254 #define PCI_CONF_FUNC_BAR_CS(n) ((n) >> 1) argument 255 #define PCI_CONF_REG_BAR_LO_CS(n) (((n) & 1) ? 0x18 : 0x10) argument 256 #define PCI_CONF_REG_BAR_HI_CS(n) (((n) & 1) ? 0x1c : 0x14) argument 274 u32 where, u32 size, u32 *val) in orion5x_pci_hw_rd_conf() 296 u32 where, u32 size, u32 val) in orion5x_pci_hw_wr_conf() [all …]
|