/linux-6.14.4/drivers/gpio/ |
D | gpio-max77620.c | 15 #define GPIO_REG_ADDR(offset) (MAX77620_REG_GPIO0 + offset) argument 29 unsigned int value, offset; in max77620_gpio_irqhandler() local 110 unsigned int value, offset = data->hwirq; in max77620_gpio_bus_sync_unlock() local 135 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input() 149 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get() 152 unsigned int val; in max77620_gpio_get() local 167 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output() 171 u8 val; in max77620_gpio_dir_output() local 194 unsigned int offset, in max77620_gpio_set_debounce() 197 u8 val; in max77620_gpio_set_debounce() local [all …]
|
D | gpio-uniphier.c | 52 static void uniphier_gpio_get_bank_and_mask(unsigned int offset, in uniphier_gpio_get_bank_and_mask() 60 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_reg_update() 74 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_bank_write() 86 unsigned int offset, unsigned int reg, in uniphier_gpio_offset_write() 87 int val) in uniphier_gpio_offset_write() 98 unsigned int offset, unsigned int reg) in uniphier_gpio_offset_read() 111 unsigned int offset) in uniphier_gpio_get_direction() 120 unsigned int offset) in uniphier_gpio_direction_input() 128 unsigned int offset, int val) in uniphier_gpio_direction_output() 136 static int uniphier_gpio_get(struct gpio_chip *chip, unsigned int offset) in uniphier_gpio_get() [all …]
|
D | gpio-nomadik.c | 41 void __nmk_gpio_set_slpm(struct nmk_gpio_chip *nmk_chip, unsigned int offset, in __nmk_gpio_set_slpm() 59 unsigned int offset, int val) in __nmk_gpio_set_output() 68 unsigned int offset, int val) in __nmk_gpio_make_output() 92 int offset, enum nmk_gpio_irq_type which, in __nmk_gpio_irq_modify() 133 int offset, bool on) in __nmk_gpio_set_wake() 305 static int nmk_gpio_get_dir(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_get_dir() 322 static int nmk_gpio_make_input(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_make_input() 335 static int nmk_gpio_get_input(struct gpio_chip *chip, unsigned int offset) in nmk_gpio_get_input() 349 static void nmk_gpio_set_output(struct gpio_chip *chip, unsigned int offset, in nmk_gpio_set_output() 350 int val) in nmk_gpio_set_output() [all …]
|
D | gpio-lp87565.c | 21 static int lp87565_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp87565_gpio_get() 24 int ret, val; in lp87565_gpio_get() local 33 static void lp87565_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp87565_gpio_set() 43 unsigned int offset) in lp87565_gpio_get_direction() 46 int ret, val; in lp87565_gpio_get_direction() local 59 unsigned int offset) in lp87565_gpio_direction_input() 69 unsigned int offset, int value) in lp87565_gpio_direction_output() 80 static int lp87565_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp87565_gpio_request() 108 static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in lp87565_gpio_set_config()
|
D | gpio-bd9571mwv.c | 25 unsigned int offset) in bd9571mwv_gpio_get_direction() 28 int ret, val; in bd9571mwv_gpio_get_direction() local 40 unsigned int offset) in bd9571mwv_gpio_direction_input() 50 unsigned int offset, int value) in bd9571mwv_gpio_direction_output() 63 static int bd9571mwv_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd9571mwv_gpio_get() 66 int ret, val; in bd9571mwv_gpio_get() local 75 static void bd9571mwv_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd9571mwv_gpio_set()
|
D | gpio-tps65912.c | 24 unsigned offset) in tps65912_gpio_get_direction() 28 int ret, val; in tps65912_gpio_get_direction() local 40 static int tps65912_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_direction_input() 49 unsigned offset, int value) in tps65912_gpio_direction_output() 61 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get() 64 int ret, val; in tps65912_gpio_get() local 76 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
|
D | gpio-latch.c | 69 static int gpio_latch_get_direction(struct gpio_chip *gc, unsigned int offset) in gpio_latch_get_direction() 76 unsigned int offset, bool val) in gpio_latch_set_unlocked() 93 static void gpio_latch_set(struct gpio_chip *gc, unsigned int offset, int val) in gpio_latch_set() 105 static void gpio_latch_set_can_sleep(struct gpio_chip *gc, unsigned int offset, int val) in gpio_latch_set_can_sleep()
|
/linux-6.14.4/arch/loongarch/kvm/intc/ |
D | eiointc.c | 72 u64 val = *(u64 *)pvalue; in eiointc_update_sw_coremap() local 111 u8 val; in eiointc_enable_irq() local 128 gpa_t addr, int len, void *val) in loongarch_eiointc_readb() 132 gpa_t offset; in loongarch_eiointc_readb() local 170 gpa_t addr, int len, void *val) in loongarch_eiointc_readw() 174 gpa_t offset; in loongarch_eiointc_readw() local 212 gpa_t addr, int len, void *val) in loongarch_eiointc_readl() 216 gpa_t offset; in loongarch_eiointc_readl() local 254 gpa_t addr, int len, void *val) in loongarch_eiointc_readq() 258 gpa_t offset; in loongarch_eiointc_readq() local [all …]
|
D | ipi.c | 50 static uint64_t read_mailbox(struct kvm_vcpu *vcpu, int offset, int len) in read_mailbox() 73 static void write_mailbox(struct kvm_vcpu *vcpu, int offset, uint64_t data, int len) in write_mailbox() 102 uint32_t val = 0, mask = 0; in send_ipi_data() local 137 int cpu, mailbox, offset; in mail_send() local 154 int cpu, offset; in any_send() local 168 static int loongarch_ipi_readl(struct kvm_vcpu *vcpu, gpa_t addr, int len, void *val) in loongarch_ipi_readl() 171 uint32_t offset; in loongarch_ipi_readl() local 213 static int loongarch_ipi_writel(struct kvm_vcpu *vcpu, gpa_t addr, int len, const void *val) in loongarch_ipi_writel() 217 uint32_t offset; in loongarch_ipi_writel() local 269 gpa_t addr, int len, void *val) in kvm_ipi_read() [all …]
|
/linux-6.14.4/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_sgmac.c | 14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() 19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr() 20 u32 val) in xgene_enet_wr_clkrst_csr() 26 u32 offset, u32 val) in xgene_enet_wr_ring_if() 32 u32 offset, u32 val) in xgene_enet_wr_diag_csr() 38 u32 offset, u32 val) in xgene_enet_wr_mcx_csr() 45 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr() 50 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr() 55 static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_mcx_csr() 106 u32 val; in xgene_enet_config_ring_if_assoc() local [all …]
|
D | xgene_enet_xgmac.c | 16 u32 offset, u32 val) in xgene_enet_wr_csr() 24 u32 offset, u32 val) in xgene_enet_wr_ring_if() 32 u32 offset, u32 val) in xgene_enet_wr_diag_csr() 78 u32 offset, u32 val) in xgene_enet_wr_axg_csr() 86 u32 offset, u32 *val) in xgene_enet_rd_csr() 94 u32 offset, u32 *val) in xgene_enet_rd_diag_csr() 144 u32 offset, u32 *val) in xgene_enet_rd_axg_csr() 224 u8 offset; in xgene_xgmac_set_mss() local
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() 54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr() 57 u32 val; in mt7601u_rf_rr() local 95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw() 111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set() 117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear() 122 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr() 144 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr() 146 u32 val; in mt7601u_bbp_rr() local 182 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw() [all …]
|
/linux-6.14.4/tools/testing/selftests/kvm/lib/arm64/ |
D | gic_v3.c | 121 uint32_t val; in gicv3_set_eoi_split() local 132 uint32_t gicv3_reg_readl(uint32_t cpu_or_dist, uint64_t offset) in gicv3_reg_readl() 139 void gicv3_reg_writel(uint32_t cpu_or_dist, uint64_t offset, uint32_t reg_val) in gicv3_reg_writel() 146 uint32_t gicv3_getl_fields(uint32_t cpu_or_dist, uint64_t offset, uint32_t mask) in gicv3_getl_fields() 151 void gicv3_setl_fields(uint32_t cpu_or_dist, uint64_t offset, in gicv3_setl_fields() 168 static void gicv3_access_reg(uint32_t intid, uint64_t offset, in gicv3_access_reg() 170 bool write, uint32_t *val) in gicv3_access_reg() 200 static void gicv3_write_reg(uint32_t intid, uint64_t offset, in gicv3_write_reg() 201 uint32_t reg_bits, uint32_t bits_per_field, uint32_t val) in gicv3_write_reg() 207 static uint32_t gicv3_read_reg(uint32_t intid, uint64_t offset, in gicv3_read_reg() [all …]
|
/linux-6.14.4/kernel/trace/ |
D | fgraph.c | 163 #define RET_STACK(t, offset) ((struct ftrace_ret_stack *)(&(t)->ret_stack[offset])) argument 225 static inline int __get_offset(unsigned long val) in __get_offset() 231 static inline int __get_type(unsigned long val) in __get_type() 237 static inline int __get_data_index(unsigned long val) in __get_data_index() 243 static inline int __get_data_size(unsigned long val) in __get_data_size() 249 static inline unsigned long get_fgraph_entry(struct task_struct *t, int offset) in get_fgraph_entry() 255 static inline int get_frame_offset(struct task_struct *t, int offset) in get_frame_offset() 262 get_bitmap_bits(struct task_struct *t, int offset) in get_bitmap_bits() 269 set_bitmap(struct task_struct *t, int offset, unsigned long bitmap) in set_bitmap() 276 static inline void *get_data_type_data(struct task_struct *t, int offset) in get_data_type_data() [all …]
|
/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() 346 static int pca955x_gpio_request_pin(struct gpio_chip *gc, unsigned int offset) in pca955x_gpio_request_pin() 353 static void pca955x_gpio_free_pin(struct gpio_chip *gc, unsigned int offset) in pca955x_gpio_free_pin() 360 static int pca955x_set_value(struct gpio_chip *gc, unsigned int offset, in pca955x_set_value() 361 int val) in pca955x_set_value() [all …]
|
/linux-6.14.4/drivers/xen/xen-pciback/ |
D | conf_space_header.c | 17 u16 val; member 21 u32 val; member 34 static void *command_init(struct pci_dev *dev, int offset) in command_init() 51 static int command_read(struct pci_dev *dev, int offset, u16 *value, void *data) in command_read() 62 static int command_write(struct pci_dev *dev, int offset, u16 value, void *data) in command_write() 66 u16 val; in command_write() local 127 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write() 160 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write() 196 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read() 210 static void *bar_init(struct pci_dev *dev, int offset) in bar_init() [all …]
|
/linux-6.14.4/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi_ddc.c | 65 static inline void sif_set_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_set_bit() 66 unsigned int val) in sif_set_bit() 71 static inline void sif_clr_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_clr_bit() 72 unsigned int val) in sif_clr_bit() 77 static inline bool sif_bit_is_set(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_bit_is_set() 78 unsigned int val) in sif_bit_is_set() 83 static inline void sif_write_mask(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_write_mask() 85 unsigned int val) in sif_write_mask() 96 unsigned int offset, unsigned int mask, in sif_read_mask() 104 u32 val; in ddcm_trigger_mode() local [all …]
|
/linux-6.14.4/drivers/i2c/muxes/ |
D | i2c-mux-ltc4306.c | 75 static int ltc4306_gpio_get(struct gpio_chip *chip, unsigned int offset) in ltc4306_gpio_get() 78 unsigned int val; in ltc4306_gpio_get() local 88 static void ltc4306_gpio_set(struct gpio_chip *chip, unsigned int offset, in ltc4306_gpio_set() 98 unsigned int offset) in ltc4306_gpio_get_direction() 101 unsigned int val; in ltc4306_gpio_get_direction() local 112 unsigned int offset) in ltc4306_gpio_direction_input() 121 unsigned int offset, int value) in ltc4306_gpio_direction_output() 131 unsigned int offset, unsigned long config) in ltc4306_gpio_set_config() 134 unsigned int val; in ltc4306_gpio_set_config() local 215 unsigned int val = 0; in ltc4306_probe() local
|
/linux-6.14.4/drivers/nvmem/ |
D | qcom-spmi-sdam.c | 34 static bool sdam_is_valid(struct sdam_chip *sdam, unsigned int offset, in sdam_is_valid() 52 static bool sdam_is_ro(unsigned int offset, size_t len) in sdam_is_ro() 63 static int sdam_read(void *priv, unsigned int offset, void *val, in sdam_read() 84 static int sdam_write(void *priv, unsigned int offset, void *val, in sdam_write() 115 unsigned int val; in sdam_probe() local
|
/linux-6.14.4/arch/powerpc/platforms/pasemi/ |
D | pci.c | 28 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid() 41 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr() 59 int offset, int len, u32 *val) in workaround_5945() 157 int offset, int len, u32 *val) in pa_pxp_read_config() 196 int offset, int len, u32 val) in pa_pxp_write_config() 287 void __iomem *__init pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) in pasemi_pci_getcfgaddr()
|
/linux-6.14.4/drivers/pcmcia/ |
D | yenta_socket.c | 86 u32 val = readl(socket->base + reg); in cb_readl() local 91 static inline void cb_writel(struct yenta_socket *socket, unsigned reg, u32 val) in cb_writel() 98 static inline u8 config_readb(struct yenta_socket *socket, unsigned offset) in config_readb() 100 u8 val; in config_readb() local 106 static inline u16 config_readw(struct yenta_socket *socket, unsigned offset) in config_readw() 108 u16 val; in config_readw() local 114 static inline u32 config_readl(struct yenta_socket *socket, unsigned offset) in config_readl() 116 u32 val; in config_readl() local 122 static inline void config_writeb(struct yenta_socket *socket, unsigned offset, u8 val) in config_writeb() 128 static inline void config_writew(struct yenta_socket *socket, unsigned offset, u16 val) in config_writew() [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | sdio.c | 36 static u32 mt76s_read_mailbox(struct mt76_dev *dev, u32 offset) in mt76s_read_mailbox() 39 u32 val = ~0, status; in mt76s_read_mailbox() local 91 static void mt76s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) in mt76s_write_mailbox() 144 u32 mt76s_rr(struct mt76_dev *dev, u32 offset) in mt76s_rr() 153 void mt76s_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76s_wr() 162 u32 mt76s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76s_rmw() 171 void mt76s_write_copy(struct mt76_dev *dev, u32 offset, in mt76s_write_copy() 174 const u32 *val = data; in mt76s_write_copy() local 184 void mt76s_read_copy(struct mt76_dev *dev, u32 offset, in mt76s_read_copy() 187 u32 *val = data; in mt76s_read_copy() local
|
/linux-6.14.4/drivers/misc/lkdtm/ |
D | heap.c | 75 size_t offset = (len / sizeof(*base)) / 2; in lkdtm_WRITE_AFTER_FREE() local 94 int *base, *val, saw; in lkdtm_READ_AFTER_FREE() local 102 size_t offset = sizeof(*base); in lkdtm_READ_AFTER_FREE() local 138 int *base, val, saw; in lkdtm_KFENCE_READ_AFTER_FREE() local 147 size_t offset = sizeof(*base); in lkdtm_KFENCE_READ_AFTER_FREE() local 217 int saw, *val; in lkdtm_READ_BUDDY_AFTER_FREE() local 254 u8 *val; in lkdtm_SLAB_INIT_ON_ALLOC() local 286 u8 *val; in lkdtm_BUDDY_INIT_ON_ALLOC() local 318 int *val; in lkdtm_SLAB_FREE_DOUBLE() local 335 int *val; in lkdtm_SLAB_FREE_CROSS() local
|
/linux-6.14.4/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_phy.c | 87 u32 offset, val; in txgbe_pcs_read() local 103 static int txgbe_pcs_write(struct mii_bus *bus, int addr, int devnum, int regnum, u16 val) in txgbe_pcs_write() 106 u32 offset; in txgbe_pcs_write() local 310 static int txgbe_gpio_get(struct gpio_chip *chip, unsigned int offset) in txgbe_gpio_get() 313 int val; in txgbe_gpio_get() local 320 static int txgbe_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in txgbe_gpio_get_direction() 323 u32 val; in txgbe_gpio_get_direction() local 332 static int txgbe_gpio_direction_in(struct gpio_chip *chip, unsigned int offset) in txgbe_gpio_direction_in() 344 static int txgbe_gpio_direction_out(struct gpio_chip *chip, unsigned int offset, in txgbe_gpio_direction_out() 345 int val) in txgbe_gpio_direction_out() [all …]
|
/linux-6.14.4/arch/powerpc/sysdev/ |
D | indirect_pci.c | 20 int offset, int len, u32 *val) in __indirect_read_config() 76 int offset, int len, u32 *val) in indirect_read_config() 85 int offset, int len, u32 val) in indirect_write_config()
|