/linux-6.14.4/drivers/gpio/ |
D | gpio-ts5500.c | 186 u8 val = inb(addr); in ts5500_set_mask() local 193 u8 val = inb(addr); in ts5500_clear_mask() local 198 static int ts5500_gpio_input(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_input() 217 static int ts5500_gpio_get(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_get() 225 static int ts5500_gpio_output(struct gpio_chip *chip, unsigned offset, int val) in ts5500_gpio_output() 247 static void ts5500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in ts5500_gpio_set() 261 static int ts5500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in ts5500_gpio_to_irq()
|
D | gpio-xra1403.c | 45 static unsigned int to_reg(unsigned int reg, unsigned int offset) in to_reg() 50 static int xra1403_direction_input(struct gpio_chip *chip, unsigned int offset) in xra1403_direction_input() 58 static int xra1403_direction_output(struct gpio_chip *chip, unsigned int offset, in xra1403_direction_output() 75 static int xra1403_get_direction(struct gpio_chip *chip, unsigned int offset) in xra1403_get_direction() 78 unsigned int val; in xra1403_get_direction() local 91 static int xra1403_get(struct gpio_chip *chip, unsigned int offset) in xra1403_get() 94 unsigned int val; in xra1403_get() local 104 static void xra1403_set(struct gpio_chip *chip, unsigned int offset, int value) in xra1403_set()
|
D | gpio-74x164.c | 41 static int gen_74x164_get_value(struct gpio_chip *gc, unsigned offset) in gen_74x164_get_value() 56 unsigned offset, int val) in gen_74x164_set_value() 76 unsigned long offset; in gen_74x164_set_multiple() local 94 unsigned offset, int val) in gen_74x164_direction_output()
|
D | gpio-reg.c | 33 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction() 41 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output() 53 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input() 60 static void gpio_reg_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_reg_set() 64 u32 val, mask = BIT(offset); in gpio_reg_set() local 77 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get() 80 u32 val, mask = BIT(offset); in gpio_reg_get() local 107 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq()
|
D | gpio-npcm-sgpio.c | 157 static const struct npcm_sgpio_bank *offset_to_bank(unsigned int offset) in offset_to_bank() 167 u8 *bit, unsigned int *offset) in npcm_sgpio_irqd_to_data() 204 static int npcm_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_dir_in() 212 static int npcm_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_dir_out() 219 static int npcm_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get_direction() 229 static void npcm_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_set() 247 static int npcm_sgpio_get(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get() 287 u32 val; in npcm_sgpio_setup_clk() local 323 unsigned int offset; in npcm_sgpio_irq_set_mask() local 360 unsigned int offset; in npcm_sgpio_irq_ack() local [all …]
|
D | gpio-mlxbf2.c | 40 #define YU_LOCK_ACTIVE_BIT(val) (val >> 31) argument 184 unsigned int offset) in mlxbf2_gpio_direction_input() 210 unsigned int offset, in mlxbf2_gpio_direction_output() 237 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_irq_enable() local 239 u32 val; in mlxbf2_gpio_irq_enable() local 257 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_irq_disable() local 259 u32 val; in mlxbf2_gpio_irq_disable() local 290 int offset = irqd_to_hwirq(irqd); in mlxbf2_gpio_irq_set_type() local 294 u32 val; in mlxbf2_gpio_irq_set_type() local
|
/linux-6.14.4/drivers/net/ethernet/broadcom/ |
D | bgmac-platform.c | 36 static u32 platform_bgmac_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_read() 41 static void platform_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_write() 46 static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_idm_read() 51 static void platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_idm_write() 70 u32 val; in platform_bgmac_clk_enable() local 96 static void platform_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in platform_bgmac_cco_ctl_maskset() 111 static void platform_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, in platform_bgmac_cmn_maskset32() 121 u32 val; in bgmac_nicpm_speed_set() local
|
/linux-6.14.4/drivers/pinctrl/ |
D | pinctrl-eyeq5.c | 203 u32 mask, u32 val) in eq5p_update_bits() 211 enum eq5p_bank bank, enum eq5p_regs reg, int offset) in eq5p_test_bit() 213 u32 val = readl(pctrl->base + eq5p_regs[bank][reg]); in eq5p_test_bit() local 263 unsigned int offset = eq5p_pin_to_offset(pin); in eq5p_pinconf_get() local 305 unsigned int offset = eq5p_pin_to_offset(pin); in eq5p_pinctrl_pin_dbg_show() local 405 unsigned int offset = eq5p_pin_to_offset(pin); in eq5p_pinmux_set_mux() local 407 u32 mask, val; in eq5p_pinmux_set_mux() local 438 unsigned int offset = eq5p_pin_to_offset(pin); in eq5p_pinconf_set_drive_strength() local 441 u32 mask, val; in eq5p_pinconf_set_drive_strength() local 468 unsigned int offset = eq5p_pin_to_offset(pin); in eq5p_pinconf_set() local [all …]
|
/linux-6.14.4/drivers/usb/gadget/udc/ |
D | r8a66597-udc.h | 122 static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) in r8a66597_read() 128 unsigned long offset, in r8a66597_read_fifo() 173 static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, in r8a66597_write() 174 unsigned long offset) in r8a66597_write() 180 u16 val, u16 pat, unsigned long offset) in r8a66597_mdfy() 189 #define r8a66597_bclr(r8a66597, val, offset) \ argument 191 #define r8a66597_bset(r8a66597, val, offset) \ argument 258 unsigned long offset) in r8a66597_sudmac_read() 263 static inline void r8a66597_sudmac_write(struct r8a66597 *r8a66597, u32 val, in r8a66597_sudmac_write() 264 unsigned long offset) in r8a66597_sudmac_write()
|
/linux-6.14.4/tools/testing/selftests/kvm/lib/arm64/ |
D | gic_v3_its.c | 18 static u64 its_read_u64(unsigned long offset) in its_read_u64() 23 static void its_write_u64(unsigned long offset, u64 val) in its_write_u64() 28 static u32 its_read_u32(unsigned long offset) in its_read_u32() 33 static void its_write_u32(unsigned long offset, u32 val) in its_write_u32() 44 unsigned long offset = GITS_BASER + (i * sizeof(baser)); in its_find_baser() local 57 unsigned long offset = its_find_baser(type); in its_install_table() local 114 static void its_mask_encode(u64 *raw_cmd, u64 val, int h, int l) in its_mask_encode()
|
/linux-6.14.4/drivers/pinctrl/spear/ |
D | pinctrl-plgpio.c | 84 u32 offset = PIN_OFFSET(pin); in is_plgpio_set() local 86 u32 val; in is_plgpio_set() local 95 u32 offset = PIN_OFFSET(pin); in plgpio_reg_set() local 105 u32 offset = PIN_OFFSET(pin); in plgpio_reg_reset() local 115 static int plgpio_direction_input(struct gpio_chip *chip, unsigned offset) in plgpio_direction_input() 134 static int plgpio_direction_output(struct gpio_chip *chip, unsigned offset, in plgpio_direction_output() 167 static int plgpio_get_value(struct gpio_chip *chip, unsigned offset) in plgpio_get_value() 184 static void plgpio_set_value(struct gpio_chip *chip, unsigned offset, int value) in plgpio_set_value() 204 static int plgpio_request(struct gpio_chip *chip, unsigned offset) in plgpio_request() 255 static void plgpio_free(struct gpio_chip *chip, unsigned offset) in plgpio_free() [all …]
|
/linux-6.14.4/drivers/pmdomain/bcm/ |
D | bcm-pmb.c | 91 int offset, u32 *val) in bcm_pmb_bpcm_read() 108 int offset, u32 val) in bcm_pmb_bpcm_write() 126 int offset; in bcm_pmb_power_off_zone() local 127 u32 val; in bcm_pmb_power_off_zone() local 147 int offset; in bcm_pmb_power_on_zone() local 148 u32 val; in bcm_pmb_power_on_zone() local 172 int offset; in bcm_pmb_power_off_device() local 173 u32 val; in bcm_pmb_power_off_device() local 194 u32 val; in bcm_pmb_power_on_device() local
|
/linux-6.14.4/drivers/net/wireless/ath/ath10k/ |
D | ahb.c | 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() 61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32() 281 u32 val; in ath10k_ahb_halt_axi_bus() local 310 u32 val; in ath10k_ahb_halt_chip() local 550 u32 val; in ath10k_ahb_prepare_device() local 608 u32 addr, val; in ath10k_ahb_wake_target_cpu() local 686 u32 val = 0, region = addr & 0xfffff; in ath10k_ahb_qca4019_targ_cpu_to_ce_addr() local
|
/linux-6.14.4/drivers/reset/ |
D | reset-eyeq.c | 146 unsigned int offset; member 180 u32 domain, u32 offset, bool assert) in eqr_busy_wait_locked() 186 u32 val, mask, rst_status, clk_status; in eqr_busy_wait_locked() local 243 static void eqr_assert_locked(struct eqr_private *priv, u32 domain, u32 offset) in eqr_assert_locked() 247 u32 val; in eqr_assert_locked() local 286 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_assert() local 297 u32 offset) in eqr_deassert_locked() 301 u32 val; in eqr_deassert_locked() local 340 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_deassert() local 353 u32 offset = FIELD_GET(ID_OFFSET_MASK, id); in eqr_status() local [all …]
|
/linux-6.14.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_asm.c | 41 void br_set_offset(u64 *instr, u16 offset) in br_set_offset() 52 void br_add_offset(u64 *instr, u16 offset) in br_add_offset() 102 void immed_add_value(u64 *instr, u16 offset) in immed_add_value() 104 u16 val; in immed_add_value() local 116 u16 val = swreg_value(reg); in nfp_swreg_to_unreg() local 206 u16 val = swreg_value(reg); in nfp_swreg_to_rereg() local
|
/linux-6.14.4/drivers/media/pci/mgb4/ |
D | mgb4_regs.h | 18 #define mgb4_write_reg(regs, offset, val) \ argument 20 #define mgb4_read_reg(regs, offset) \ argument 24 u32 val) in mgb4_mask_reg()
|
/linux-6.14.4/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 65 u32 offset = pin % PINS_PER_BANK * MUX_FIELD_WIDTH; in sunxi_mux_reg() local 77 u32 offset = pin % PINS_PER_BANK * DATA_FIELD_WIDTH; in sunxi_data_reg() local 89 u32 offset = pin % PINS_PER_BANK * pctl->dlevel_field_width; in sunxi_dlevel_reg() local 101 u32 offset = pin % PINS_PER_BANK * PULL_FIELD_WIDTH; in sunxi_pull_reg() local 238 u32 val; in sunxi_pctrl_parse_bias_prop() local 268 u32 val; in sunxi_pctrl_parse_drive_prop() local 541 u32 reg, shift, mask, val; in sunxi_pconf_get() local 607 u32 arg, reg, shift, mask, val; in sunxi_pconf_set() local 684 u32 val, reg; in sunxi_pinctrl_set_io_bias_cfg() local 816 unsigned offset, in sunxi_pmx_gpio_set_direction() [all …]
|
/linux-6.14.4/tools/perf/util/ |
D | cs-etm-base.c | 62 static int cs_etm__print_cpu_metadata_v0(u64 *val, int *offset) in cs_etm__print_cpu_metadata_v0() 97 static int cs_etm__print_cpu_metadata_v1(u64 *val, int *offset) in cs_etm__print_cpu_metadata_v1() 139 static void cs_etm__print_auxtrace_info(u64 *val, int num) in cs_etm__print_auxtrace_info()
|
D | bpf-utils.c | 73 int offset) in bpf_prog_info_read_offset_u32() 83 int offset) in bpf_prog_info_read_offset_u64() 92 static void bpf_prog_info_set_offset_u32(struct bpf_prog_info *info, int offset, in bpf_prog_info_set_offset_u32() 93 __u32 val) in bpf_prog_info_set_offset_u32() 101 static void bpf_prog_info_set_offset_u64(struct bpf_prog_info *info, int offset, in bpf_prog_info_set_offset_u64() 102 __u64 val) in bpf_prog_info_set_offset_u64()
|
/linux-6.14.4/include/linux/ |
D | coresight.h | 420 u32 offset) in csdev_access_relaxed_read32() 496 static inline void csdev_access_relaxed_write_pair(struct csdev_access *csa, u64 val, in csdev_access_relaxed_write_pair() 508 static inline u32 csdev_access_read32(struct csdev_access *csa, u32 offset) in csdev_access_read32() 517 u32 val, u32 offset) in csdev_access_relaxed_write32() 525 static inline void csdev_access_write32(struct csdev_access *csa, u32 val, u32 offset) in csdev_access_write32() 536 u32 offset) in csdev_access_relaxed_read64() 544 static inline u64 csdev_access_read64(struct csdev_access *csa, u32 offset) in csdev_access_read64() 553 u64 val, u32 offset) in csdev_access_relaxed_write64() 561 static inline void csdev_access_write64(struct csdev_access *csa, u64 val, u32 offset) in csdev_access_write64() 572 u32 offset) in csdev_access_relaxed_read64() [all …]
|
/linux-6.14.4/drivers/pinctrl/bcm/ |
D | pinctrl-iproc-gpio.c | 144 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_set_bit() local 146 u32 val; in iproc_set_bit() local 159 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_get_bit() local 176 unsigned long val = readl(chip->base + (i * GPIO_BANK_SIZE) + in iproc_gpio_irq_handler() local 202 unsigned int offset = IPROC_GPIO_REG(gpio, in iproc_gpio_irq_ack() local 205 u32 val = BIT(shift); in iproc_gpio_irq_ack() local 330 static int iproc_gpio_request(struct gpio_chip *gc, unsigned offset) in iproc_gpio_request() 341 static void iproc_gpio_free(struct gpio_chip *gc, unsigned offset) in iproc_gpio_free() 366 int val) in iproc_gpio_direction_output() 384 unsigned int offset = IPROC_GPIO_REG(gpio, IPROC_GPIO_OUT_EN_OFFSET); in iproc_gpio_get_direction() local [all …]
|
/linux-6.14.4/drivers/watchdog/ |
D | lantiq_wdt.c | 68 static u32 ltq_wdt_r32(struct ltq_wdt_priv *priv, u32 offset) in ltq_wdt_r32() 73 static void ltq_wdt_w32(struct ltq_wdt_priv *priv, u32 val, u32 offset) in ltq_wdt_w32() 79 u32 offset) in ltq_wdt_mask() 81 u32 val = ltq_wdt_r32(priv, offset); in ltq_wdt_mask() local 162 u32 val; in ltq_wdt_xrx_bootstatus_get() local 182 u32 val; in ltq_wdt_falcon_bootstatus_get() local
|
/linux-6.14.4/drivers/pwm/ |
D | pwm-pca9685.c | 109 static int pca9685_read_reg(struct pwm_chip *chip, unsigned int reg, unsigned int *val) in pca9685_read_reg() 122 static int pca9685_write_reg(struct pwm_chip *chip, unsigned int reg, unsigned int val) in pca9685_write_reg() 178 unsigned int off = 0, on = 0, val = 0; in pca9685_pwm_get_duty() local 249 static int pca9685_pwm_gpio_request(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_request() 260 static int pca9685_pwm_gpio_get(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_get() 267 static void pca9685_pwm_gpio_set(struct gpio_chip *gpio, unsigned int offset, in pca9685_pwm_gpio_set() 275 static void pca9685_pwm_gpio_free(struct gpio_chip *gpio, unsigned int offset) in pca9685_pwm_gpio_free() 286 unsigned int offset) in pca9685_pwm_gpio_get_direction() 293 unsigned int offset) in pca9685_pwm_gpio_direction_input() 299 unsigned int offset, int value) in pca9685_pwm_gpio_direction_output() [all …]
|
/linux-6.14.4/drivers/nvmem/ |
D | meson-efuse.c | 17 static int meson_efuse_read(void *context, unsigned int offset, in meson_efuse_read() 18 void *val, size_t bytes) in meson_efuse_read() 29 static int meson_efuse_write(void *context, unsigned int offset, in meson_efuse_write() 30 void *val, size_t bytes) in meson_efuse_write()
|
/linux-6.14.4/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 98 unsigned offset, bool *bit) in abx500_gpio_get_bit() 102 u8 val; in abx500_gpio_get_bit() local 121 unsigned offset, int val) in abx500_gpio_set_bits() 142 static int abx500_gpio_get(struct gpio_chip *chip, unsigned offset) in abx500_gpio_get() 170 static void abx500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in abx500_gpio_set() 181 unsigned offset, in abx500_gpio_direction_output() 182 int val) in abx500_gpio_direction_output() 211 static int abx500_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in abx500_gpio_direction_input() 220 static int abx500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in abx500_gpio_to_irq() 253 int val; in abx500_set_mode() local [all …]
|