Home
last modified time | relevance | path

Searched +defs:val +defs:offset (Results 226 – 250 of 1694) sorted by relevance

12345678910>>...68

/linux-6.14.4/arch/arm64/kvm/vgic/
Dvgic-mmio-v2.c54 unsigned long val) in vgic_mmio_write_v2_misc()
74 unsigned long val) in vgic_mmio_uaccess_write_v2_misc()
112 unsigned long val) in vgic_mmio_uaccess_write_v2_group()
122 unsigned long val) in vgic_mmio_write_sgir()
167 u64 val = 0; in vgic_mmio_read_target() local
182 unsigned long val) in vgic_mmio_write_target()
213 u64 val = 0; in vgic_mmio_read_sgipend() local
227 unsigned long val) in vgic_mmio_write_sgipendc()
249 unsigned long val) in vgic_mmio_write_sgipends()
279 u32 val; in vgic_mmio_read_vcpuif() local
[all …]
/linux-6.14.4/drivers/gpio/
Dgpio-xtensa.c72 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction()
77 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value()
89 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value()
95 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction()
100 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value()
112 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
117 u32 val = value ? BIT(offset) : 0; in xtensa_expstate_set_value() local
Dgpio-bd71815.c28 static int bd71815gpo_get(struct gpio_chip *chip, unsigned int offset) in bd71815gpo_get()
31 int ret, val; in bd71815gpo_get() local
40 static void bd71815gpo_set(struct gpio_chip *chip, unsigned int offset, in bd71815gpo_set()
57 static int bd71815_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in bd71815_gpio_set_config()
80 static int bd71815gpo_direction_get(struct gpio_chip *gc, unsigned int offset) in bd71815gpo_direction_get()
/linux-6.14.4/arch/sh/include/asm/
Dptrace.h24 unsigned long val) in instruction_pointer_set()
40 unsigned long val) in user_stack_pointer_set()
52 int offset; member
78 unsigned int offset) in regs_get_register()
/linux-6.14.4/drivers/rtc/
Drtc-at91sam9.c83 #define rtt_writel(rtc, field, val) \ argument
88 unsigned int val; in gpbr_readl() local
95 static inline void gpbr_writel(struct sam9_rtc *rtc, unsigned int val) in gpbr_writel()
107 u32 offset; in at91_rtc_readtime() local
133 u32 offset, alarm, mr; in at91_rtc_settime() local
180 u32 offset; in at91_rtc_readalarm() local
204 u32 offset; in at91_rtc_setalarm() local
Drtc-pcf85363.c214 unsigned int val; in pcf85363_rtc_read_alarm() local
322 static int pcf85363_nvram_read(void *priv, unsigned int offset, void *val, in pcf85363_nvram_read()
331 static int pcf85363_nvram_write(void *priv, unsigned int offset, void *val, in pcf85363_nvram_write()
340 static int pcf85x63_nvram_read(void *priv, unsigned int offset, void *val, in pcf85x63_nvram_read()
353 static int pcf85x63_nvram_write(void *priv, unsigned int offset, void *val, in pcf85x63_nvram_write()
Drtc-pcf85063.c164 unsigned int val; in pcf85063_rtc_read_alarm() local
226 unsigned int val; in pcf85063_rtc_handle_irq() local
244 static int pcf85063_read_offset(struct device *dev, long *offset) in pcf85063_read_offset()
247 long val; in pcf85063_read_offset() local
266 static int pcf85063_set_offset(struct device *dev, long offset) in pcf85063_set_offset()
322 static int pcf85063_nvmem_read(void *priv, unsigned int offset, in pcf85063_nvmem_read()
323 void *val, size_t bytes) in pcf85063_nvmem_read()
337 static int pcf85063_nvmem_write(void *priv, unsigned int offset, in pcf85063_nvmem_write()
338 void *val, size_t bytes) in pcf85063_nvmem_write()
Drtc-m48t59.c26 #define M48T59_WRITE(val, reg) \ argument
45 m48t59_mem_writeb(struct device *dev, u32 ofs, u8 val) in m48t59_mem_writeb()
68 u8 val; in m48t59_rtc_read_time() local
104 u8 val = 0; in m48t59_rtc_set_time() local
146 u8 val; in m48t59_rtc_readalarm() local
256 u8 val; in m48t59_rtc_proc() local
298 static int m48t59_nvram_read(void *priv, unsigned int offset, void *val, in m48t59_nvram_read()
319 static int m48t59_nvram_write(void *priv, unsigned int offset, void *val, in m48t59_nvram_write()
/linux-6.14.4/drivers/net/ethernet/marvell/
Dmvneta_bm.c30 static void mvneta_bm_write(struct mvneta_bm *priv, u32 offset, u32 data) in mvneta_bm_write()
35 static u32 mvneta_bm_read(struct mvneta_bm *priv, u32 offset) in mvneta_bm_read()
42 u32 val; in mvneta_bm_pool_enable() local
54 u32 val; in mvneta_bm_pool_disable() local
63 u32 val; in mvneta_bm_config_set() local
72 u32 val; in mvneta_bm_config_clear() local
82 u32 val; in mvneta_bm_pool_target_set() local
341 u32 val; in mvneta_bm_default_set() local
/linux-6.14.4/drivers/net/ipa/
Dipa_endpoint.c455 u32 offset; in ipa_endpoint_init_ctrl() local
458 u32 val; in ipa_endpoint_init_ctrl() local
500 u32 val; in ipa_endpoint_aggr_active() local
620 u32 offset; in ipa_endpoint_modem_exception_reset_all() local
652 u32 val = 0; in ipa_endpoint_init_cfg() local
688 u32 val; in ipa_endpoint_init_nat() local
725 u32 val; in ipa_header_size_encode() local
744 const struct reg *reg, u32 offset) in ipa_metadata_offset_encode()
747 u32 val; in ipa_metadata_offset_encode() local
790 u32 val = 0; in ipa_endpoint_init_hdr() local
[all …]
/linux-6.14.4/arch/riscv/mm/
Dextable.c30 static inline unsigned long regs_get_gpr(struct pt_regs *regs, unsigned int offset) in regs_get_gpr()
38 static inline void regs_set_gpr(struct pt_regs *regs, unsigned int offset, in regs_set_gpr()
39 unsigned long val) in regs_set_gpr()
67 unsigned long data, addr, offset; in ex_handler_load_unaligned_zeropad() local
/linux-6.14.4/drivers/gpu/drm/i915/gvt/
Ddebugfs.c37 u32 offset; member
59 u32 offset, void *data) in mmio_diff_handler()
127 vgpu_scan_nonprivbb_get(void *data, u64 *val) in vgpu_scan_nonprivbb_get()
142 vgpu_scan_nonprivbb_set(void *data, u64 val) in vgpu_scan_nonprivbb_set()
154 static int vgpu_status_get(void *data, u64 *val) in vgpu_status_get()
/linux-6.14.4/arch/arm/mach-omap2/
Dcontrol.c139 u8 omap_ctrl_readb(u16 offset) in omap_ctrl_readb()
141 u32 val; in omap_ctrl_readb() local
149 u16 omap_ctrl_readw(u16 offset) in omap_ctrl_readw()
151 u32 val; in omap_ctrl_readw() local
159 u32 omap_ctrl_readl(u16 offset) in omap_ctrl_readl()
166 void omap_ctrl_writeb(u8 val, u16 offset) in omap_ctrl_writeb()
179 void omap_ctrl_writew(u16 val, u16 offset) in omap_ctrl_writew()
192 void omap_ctrl_writel(u32 val, u16 offset) in omap_ctrl_writel()
663 s16 offset; member
/linux-6.14.4/drivers/pci/controller/dwc/
Dpci-keystone.c142 static u32 ks_pcie_app_readl(struct keystone_pcie *ks_pcie, u32 offset) in ks_pcie_app_readl()
147 static void ks_pcie_app_writel(struct keystone_pcie *ks_pcie, u32 offset, in ks_pcie_app_writel()
148 u32 val) in ks_pcie_app_writel()
258 u32 val; in ks_pcie_set_dbi_mode() local
279 u32 val; in ks_pcie_clear_dbi_mode() local
315 int offset) in ks_pcie_handle_intx_irq()
405 u32 val; in ks_pcie_setup_rc_app_regs() local
497 u32 val; in ks_pcie_link_up() local
507 u32 val; in ks_pcie_stop_link() local
518 u32 val; in ks_pcie_start_link() local
[all …]
Dpci-layerscape-ep.c52 static u32 ls_pcie_pf_lut_readl(struct ls_pcie_ep *pcie, u32 offset) in ls_pcie_pf_lut_readl()
62 static void ls_pcie_pf_lut_writel(struct ls_pcie_ep *pcie, u32 offset, u32 value) in ls_pcie_pf_lut_writel()
76 u32 val, cfg; in ls_pcie_ep_event_handler() local
77 u8 offset; in ls_pcie_ep_event_handler() local
118 u32 val; in ls_pcie_ep_interrupt_init() local
233 u8 offset; in ls_pcie_ep_probe() local
/linux-6.14.4/include/linux/bcma/
Dbcma_driver_gmac_cmn.h90 #define gmac_cmn_read16(gc, offset) bcma_read16((gc)->core, offset) argument
91 #define gmac_cmn_read32(gc, offset) bcma_read32((gc)->core, offset) argument
92 #define gmac_cmn_write16(gc, offset, val) bcma_write16((gc)->core, offset, val) argument
93 #define gmac_cmn_write32(gc, offset, val) bcma_write32((gc)->core, offset, val) argument
/linux-6.14.4/drivers/pinctrl/
Dpinctrl-stmfx.c48 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument
49 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument
50 #define get_mask(offset) (BIT(get_shift(offset))) argument
105 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get()
118 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set()
128 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction()
133 u32 val; in stmfx_gpio_get_direction() local
149 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input()
159 unsigned int offset, int value) in stmfx_gpio_direction_output()
171 unsigned int offset) in stmfx_pinconf_get_pupd()
[all …]
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dphy_shim.c98 void wlapi_bmac_write_shm(struct phy_shim_info *physhim, uint offset, u16 v) in wlapi_bmac_write_shm()
103 u16 wlapi_bmac_read_shm(struct phy_shim_info *physhim, uint offset) in wlapi_bmac_read_shm()
110 u16 val, int bands) in wlapi_bmac_mhf()
135 void wlapi_bmac_mctrl(struct phy_shim_info *physhim, u32 mask, u32 val) in wlapi_bmac_mctrl()
188 wlapi_bmac_write_template_ram(struct phy_shim_info *physhim, int offset, in wlapi_bmac_write_template_ram()
204 wlapi_copyfrom_objmem(struct phy_shim_info *physhim, uint offset, void *buf, in wlapi_copyfrom_objmem()
211 wlapi_copyto_objmem(struct phy_shim_info *physhim, uint offset, const void *buf, in wlapi_copyto_objmem()
/linux-6.14.4/drivers/gpu/drm/exynos/
Dexynos_drm_rotator.c35 #define rot_read(offset) readl(rot->regs + (offset)) argument
36 #define rot_write(cfg, offset) writel(cfg, rot->regs + (offset)) argument
70 u32 val = rot_read(ROT_CONFIG); in rotator_reg_set_irq() local
82 u32 val = rot_read(ROT_STATUS); in rotator_reg_get_irq_status() local
96 u32 val; in rotator_irq_handler() local
121 u32 val; in rotator_src_set_fmt() local
141 u32 val; in rotator_src_set_buf() local
163 u32 val; in rotator_dst_set_transf() local
189 u32 val; in rotator_dst_set_buf() local
207 u32 val; in rotator_start() local
/linux-6.14.4/arch/mips/kvm/
Dloongson_ipi.c54 gpa_t addr, int len, void *val) in loongson_vipi_read()
59 uint64_t offset = addr & 0xff; in loongson_vipi_read() local
99 gpa_t addr, int len, const void *val) in loongson_vipi_write()
104 uint64_t data, offset = addr & 0xff; in loongson_vipi_write() local
154 gpa_t addr, int len, void *val) in kvm_ipi_read()
171 gpa_t addr, int len, const void *val) in kvm_ipi_write()
/linux-6.14.4/drivers/phy/marvell/
Dphy-armada38x-comphy.c80 unsigned int offset, u32 mask, u32 value) in a38x_comphy_set_reg()
82 u32 val; in a38x_comphy_set_reg() local
98 unsigned int offset, u32 mask, u32 value) in a38x_comphy_poll()
100 u32 val; in a38x_comphy_poll() local
167 u32 val; in a38x_comphy_xlate() local
225 u32 val; in a38x_comphy_probe() local
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-core.c1106 int coresight_timeout_action(struct csdev_access *csa, u32 offset, in coresight_timeout_action()
1111 u32 val; in coresight_timeout_action() local
1139 int coresight_timeout(struct csdev_access *csa, u32 offset, in coresight_timeout()
1146 u32 coresight_relaxed_read32(struct coresight_device *csdev, u32 offset) in coresight_relaxed_read32()
1151 u32 coresight_read32(struct coresight_device *csdev, u32 offset) in coresight_read32()
1157 u32 val, u32 offset) in coresight_relaxed_write32()
1162 void coresight_write32(struct coresight_device *csdev, u32 val, u32 offset) in coresight_write32()
1167 u64 coresight_relaxed_read64(struct coresight_device *csdev, u32 offset) in coresight_relaxed_read64()
1172 u64 coresight_read64(struct coresight_device *csdev, u32 offset) in coresight_read64()
1178 u64 val, u32 offset) in coresight_relaxed_write64()
[all …]
/linux-6.14.4/drivers/pwm/
Dpwm-atmel.c105 unsigned long offset) in atmel_pwm_readl()
111 unsigned long offset, unsigned long val) in atmel_pwm_writel()
117 unsigned int ch, unsigned long offset) in atmel_pwm_ch_readl()
125 unsigned int ch, unsigned long offset, in atmel_pwm_ch_writel()
126 unsigned long val) in atmel_pwm_ch_writel()
242 u32 val; in atmel_pwm_update_cdty() local
297 u32 pres, val; in atmel_pwm_apply() local
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7921/
Dpci.c144 static u32 mt7921_rr(struct mt76_dev *mdev, u32 offset) in mt7921_rr()
152 static void mt7921_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7921_wr()
160 static u32 mt7921_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7921_rmw()
/linux-6.14.4/arch/s390/tools/
Drelocs.c25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
26 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument
46 uint32_t *offset; member
63 #define le16_to_cpu(val) (val) argument
64 #define le32_to_cpu(val) (val) argument
65 #define le64_to_cpu(val) (val) argument
66 #define be16_to_cpu(val) bswap_16(val) argument
67 #define be32_to_cpu(val) bswap_32(val) argument
68 #define be64_to_cpu(val) bswap_64(val) argument
72 #define le16_to_cpu(val) bswap_16(val) argument
[all …]

12345678910>>...68