Home
last modified time | relevance | path

Searched +defs:val +defs:offset (Results 276 – 300 of 1733) sorted by relevance

1...<<11121314151617181920>>...70

/linux-6.14.4/drivers/net/ethernet/ti/icssg/
Dicssg_classifier.c208 u32 offset, val; in rx_class_ft1_set_start_len() local
218 u32 offset; in rx_class_ft1_set_da() local
230 u32 offset; in rx_class_ft1_set_da_mask() local
242 u32 offset; in rx_class_ft1_cfg_set_type() local
252 u32 offset; in rx_class_sel_set_type() local
262 u32 offset; in rx_class_set_and() local
271 u32 offset; in rx_class_set_or() local
279 u32 offset, val; in rx_class_get_or() local
306 u32 val; in icssg_class_ft1_add_mcast() local
326 u32 data, offset; in icssg_class_disable() local
[all …]
/linux-6.14.4/drivers/net/ethernet/apm/xgene-v2/
Denet.c12 void xge_wr_csr(struct xge_pdata *pdata, u32 offset, u32 val) in xge_wr_csr()
19 u32 xge_rd_csr(struct xge_pdata *pdata, u32 offset) in xge_rd_csr()
/linux-6.14.4/drivers/clk/renesas/
Drcar-gen3-cpg.c57 u32 val; in cpg_pll_clk_recalc_rate() local
90 u32 val; in cpg_pll_clk_set_rate() local
120 unsigned int offset, in cpg_pll_clk_register()
180 u32 val; in cpg_z_clk_recalc_rate() local
271 unsigned int offset, in __cpg_z_clk_register()
310 unsigned int offset) in cpg_z_clk_register()
320 unsigned int offset) in cpg_zg_clk_register()
/linux-6.14.4/drivers/crypto/qce/
Dcommon.c21 static inline u32 qce_read(struct qce_device *qce, u32 offset) in qce_read()
26 static inline void qce_write(struct qce_device *qce, u32 offset, u32 val) in qce_write()
31 static inline void qce_write_array(struct qce_device *qce, u32 offset, in qce_write_array()
32 const u32 *val, unsigned int len) in qce_write_array()
41 qce_clear_array(struct qce_device *qce, u32 offset, unsigned int len) in qce_clear_array()
589 u32 val; in qce_get_version() local
/linux-6.14.4/drivers/bus/
Dti-sysc.c174 static void sysc_write(struct sysc *ddata, int offset, u32 value) in sysc_write()
193 static u32 sysc_read(struct sysc *ddata, int offset) in sysc_read()
196 u32 val; in sysc_read() local
221 int offset = ddata->offsets[SYSC_REVISION]; in sysc_read_revision() local
231 int offset = ddata->offsets[SYSC_SYSCONFIG]; in sysc_read_sysconfig() local
241 int offset = ddata->offsets[SYSC_SYSSTATUS]; in sysc_read_sysstatus() local
1785 u32 val, irq_mask = 0; in sysc_quirk_dispc() local
1864 u32 irq_mask, val; in sysc_pre_reset_quirk_dss() local
1899 int offset = 0x0c; /* HDQ_CTRL_STATUS */ in sysc_pre_reset_quirk_hdq1w() local
1900 u16 val; in sysc_pre_reset_quirk_hdq1w() local
[all …]
/linux-6.14.4/sound/synth/emux/
Demux_effect.c40 long offset; /* offset in parameter record (-1 = not written) */ member
143 struct snd_midi_channel *chan, int type, int val) in snd_emux_send_effect_oss()
164 int type, int val, int mode) in snd_emux_send_effect()
167 int offset; in snd_emux_send_effect() local
235 int offset; in snd_emux_setup_effect() local
/linux-6.14.4/fs/squashfs/
Dxattr.c34 int offset = SQUASHFS_XATTR_OFFSET(squashfs_i(inode)->xattr); in squashfs_listxattr() local
46 struct squashfs_xattr_val val; in squashfs_listxattr() local
112 int offset = SQUASHFS_XATTR_OFFSET(squashfs_i(inode)->xattr); in squashfs_xattr_get() local
124 struct squashfs_xattr_val val; in squashfs_xattr_get() local
/linux-6.14.4/drivers/bcma/
Dhost_pci.c42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset) in bcma_host_pci_read8()
48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset) in bcma_host_pci_read16()
54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset) in bcma_host_pci_read32()
60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset, in bcma_host_pci_write8()
67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset, in bcma_host_pci_write16()
74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset, in bcma_host_pci_write32()
83 size_t count, u16 offset, u8 reg_width) in bcma_host_pci_block_read()
107 u16 offset, u8 reg_width) in bcma_host_pci_block_write()
130 static u32 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) in bcma_host_pci_aread32()
137 static void bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, in bcma_host_pci_awrite32()
[all …]
/linux-6.14.4/drivers/nvmem/
Dcore.c29 int offset; member
58 static int __nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_read()
59 void *val, size_t bytes) in __nvmem_reg_read()
67 static int __nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in __nvmem_reg_write()
68 void *val, size_t bytes) in __nvmem_reg_write()
83 unsigned int offset, void *val, in nvmem_access_with_keepouts()
146 static int nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_read()
147 void *val, size_t bytes) in nvmem_reg_read()
155 static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, in nvmem_reg_write()
156 void *val, size_t bytes) in nvmem_reg_write()
[all …]
Drockchip-otp.c147 static int px30_otp_read(void *context, unsigned int offset, in px30_otp_read()
148 void *val, size_t bytes) in px30_otp_read()
187 static int rk3588_otp_read(void *context, unsigned int offset, in rk3588_otp_read()
188 void *val, size_t bytes) in rk3588_otp_read()
233 static int rockchip_otp_read(void *context, unsigned int offset, in rockchip_otp_read()
234 void *val, size_t bytes) in rockchip_otp_read()
/linux-6.14.4/include/linux/
Dnvmem-consumer.h132 const char *cell_id, u8 *val) in nvmem_cell_read_u8()
138 const char *cell_id, u16 *val) in nvmem_cell_read_u16()
144 const char *cell_id, u32 *val) in nvmem_cell_read_u32()
150 const char *cell_id, u64 *val) in nvmem_cell_read_u64()
157 u32 *val) in nvmem_cell_read_variable_le_u32()
164 u64 *val) in nvmem_cell_read_variable_le_u64()
205 unsigned int offset, size_t bytes, in nvmem_device_read()
212 unsigned int offset, size_t bytes, in nvmem_device_write()
/linux-6.14.4/drivers/gpio/
Dgpio-ftgpio010.c66 u32 val; in ftgpio_gpio_mask_irq() local
78 u32 val; in ftgpio_gpio_unmask_irq() local
144 int offset; in ftgpio_gpio_irq_handler() local
157 static int ftgpio_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in ftgpio_gpio_set_config()
165 u32 val; in ftgpio_gpio_set_config() local
Dgpio-creg-snps.c30 static void creg_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in creg_gpio_set()
52 static int creg_gpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in creg_gpio_dir_out()
/linux-6.14.4/drivers/pinctrl/
Dpinctrl-single.c48 unsigned val; member
63 unsigned val; member
105 unsigned offset; member
253 static void pcs_writeb(unsigned int val, void __iomem *reg) in pcs_writeb()
258 static void pcs_writew(unsigned int val, void __iomem *reg) in pcs_writew()
263 static void pcs_writel(unsigned int val, void __iomem *reg) in pcs_writel()
294 unsigned int val; in pcs_pin_dbg_show() local
295 unsigned long offset; in pcs_pin_dbg_show() local
384 unsigned val, mask; in pcs_set_mux() local
417 u32 offset; in pcs_request_gpio() local
[all …]
Dpinctrl-aw9523.c235 unsigned int val; in aw9523_pconf_get() local
291 unsigned int mask, val; in aw9523_pconf_set() local
459 unsigned long n, val = 0; in aw9523_irq_thread_func() local
522 unsigned int offset) in aw9523_gpio_get_direction()
535 static int aw9523_gpio_get(struct gpio_chip *chip, unsigned int offset) in aw9523_gpio_get()
539 unsigned int val; in aw9523_gpio_get() local
563 u32 dir_in, val; in _aw9523_gpio_get_multiple() local
659 unsigned int offset, int value) in aw9523_gpio_set()
671 static int aw9523_direction_input(struct gpio_chip *chip, unsigned int offset) in aw9523_direction_input()
686 unsigned int offset, int value) in aw9523_direction_output()
[all …]
/linux-6.14.4/drivers/rtc/
Drtc-rv3028.c246 unsigned int mask, unsigned int val) in rv3028_update_cfg()
469 static int rv3028_read_offset(struct device *dev, long *offset) in rv3028_read_offset()
491 static int rv3028_set_offset(struct device *dev, long offset) in rv3028_set_offset()
605 static int rv3028_nvram_write(void *priv, unsigned int offset, void *val, in rv3028_nvram_write()
611 static int rv3028_nvram_read(void *priv, unsigned int offset, void *val, in rv3028_nvram_read()
617 static int rv3028_eeprom_write(void *priv, unsigned int offset, void *val, in rv3028_eeprom_write()
663 static int rv3028_eeprom_read(void *priv, unsigned int offset, void *val, in rv3028_eeprom_read()
863 int ret, val_old, val; in rv3028_set_trickle_charger() local
/linux-6.14.4/drivers/usb/early/
Dxhci-dbc.c42 u32 val, sz; in xdbc_map_pci_mmio() local
153 int offset, timeout; in xdbc_bios_handoff() local
154 u32 val; in xdbc_bios_handoff() local
352 u32 val, cap_length; in xdbc_do_reset_debug_port() local
369 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local
370 int offset = 0; in xdbc_reset_debug_port() local
604 u32 bus, dev, func, offset; in early_xdbc_parse_parameter() local
963 u32 offset; in xdbc_init() local
/linux-6.14.4/drivers/devfreq/
Dtegra30-devfreq.c82 u32 offset; member
218 static u32 actmon_readl(struct tegra_devfreq *tegra, u32 offset) in actmon_readl()
223 static void actmon_writel(struct tegra_devfreq *tegra, u32 val, u32 offset) in actmon_writel()
228 static u32 device_readl(struct tegra_devfreq_device *dev, u32 offset) in device_readl()
233 static void device_writel(struct tegra_devfreq_device *dev, u32 val, in device_writel()
234 u32 offset) in device_writel()
239 static unsigned long do_percent(unsigned long long val, unsigned int pct) in do_percent()
268 u32 val = tegra->cur_freq * tegra->devfreq->profile->polling_ms; in tegra_devfreq_update_wmark() local
379 u32 val; in actmon_thread_isr() local
500 u32 val = 0; in tegra_actmon_configure_device() local
/linux-6.14.4/drivers/net/pcs/
Dpcs-rzn1-miic.c152 static void miic_reg_writel(struct miic *miic, int offset, u32 value) in miic_reg_writel()
157 static u32 miic_reg_readl(struct miic *miic, int offset) in miic_reg_readl()
162 static void miic_reg_rmw(struct miic *miic, int offset, u32 mask, u32 val) in miic_reg_rmw()
178 u32 val = 0; in miic_converter_enable() local
192 u32 speed, conv_mode, val, mask; in miic_config() local
242 u32 conv_speed = 0, val = 0; in miic_link_up() local
286 u32 val, mask; in miic_pre_init() local
/linux-6.14.4/arch/powerpc/platforms/powermac/
Dnvram.c92 static void core99_nvram_write_byte(int addr, unsigned char val) in core99_nvram_write_byte()
156 static void direct_nvram_write_byte(int addr, unsigned char val) in direct_nvram_write_byte()
164 unsigned char val; in indirect_nvram_read_byte() local
175 static void indirect_nvram_write_byte(int addr, unsigned char val) in indirect_nvram_write_byte()
210 static void pmu_nvram_write_byte(int addr, unsigned char val) in pmu_nvram_write_byte()
439 int i, offset; in lookup_partitions() local
633 int offset = pmac_get_partition(pmac_nvram_XPRAM); in pmac_xpram_read() local
643 int offset = pmac_get_partition(pmac_nvram_XPRAM); in pmac_xpram_write() local
/linux-6.14.4/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c127 void qed_init_store_rt_reg(struct qed_hwfn *p_hwfn, u32 rt_offset, u32 val) in qed_init_store_rt_reg()
304 u32 offset, output_len, input_len, max_size; in qed_init_cmd_array() local
412 static inline bool comp_eq(u32 val, u32 expected_val) in comp_eq()
417 static inline bool comp_and(u32 val, u32 expected_val) in comp_and()
422 static inline bool comp_or(u32 val, u32 expected_val) in comp_or()
432 u32 delay = QED_INIT_POLL_PERIOD_US, val; in qed_init_cmd_rd() local
526 u16 offset = le16_to_cpu(p_cmd->modes_buf_offset); in qed_init_cmd_mode() local
627 u32 offset, len; in qed_init_fw_data() local
/linux-6.14.4/arch/powerpc/kernel/
Dpci-common.c530 resource_size_t offset = ((resource_size_t)pfn) << PAGE_SHIFT; in pci_phys_mem_access_prot() local
568 int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, size_t size) in pci_legacy_read()
570 unsigned long offset; in pci_legacy_read() local
608 int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val, size_t size) in pci_legacy_write()
610 unsigned long offset; in pci_legacy_write() local
658 resource_size_t offset = in pci_mmap_legacy_page_range() local
937 resource_size_t offset; in pcibios_uninitialized_bridge_resource() local
1361 resource_size_t offset; in pcibios_reserve_legacy_regions() local
1532 resource_size_t offset; in pcibios_setup_phb_resources() local
1576 null_read_config(struct pci_bus *bus, unsigned int devfn, int offset, in null_read_config()
[all …]
/linux-6.14.4/drivers/char/hw_random/
Dbcm2835-rng.c43 static inline u32 rng_readl(struct bcm2835_rng_priv *priv, u32 offset) in rng_readl()
54 static inline void rng_writel(struct bcm2835_rng_priv *priv, u32 val, in rng_writel()
55 u32 offset) in rng_writel()
90 u32 val; in bcm2835_rng_init() local
/linux-6.14.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c97 u32 gsr, val; in hw_atl_utils_soft_reset_flb() local
173 u32 gsr, val, rbl_status; in hw_atl_utils_soft_reset_rbl() local
244 u32 val; in hw_atl_utils_soft_reset() local
310 u32 val; in hw_atl_utils_fw_downld_dwords() local
356 u32 offset = addr; in hw_atl_utils_write_b1_mbox() local
358 u32 val; in hw_atl_utils_write_b1_mbox() local
394 u32 offset = 0; in hw_atl_utils_write_b0_mbox() local
396 u32 val; in hw_atl_utils_write_b0_mbox() local
420 u32 val; in hw_atl_utils_fw_upload_dwords() local
450 int hw_atl_write_fwsettings_dwords(struct aq_hw_s *self, u32 offset, u32 *p, in hw_atl_write_fwsettings_dwords()
[all …]
/linux-6.14.4/arch/x86/platform/intel/
Diosf_mbi.c34 static inline u32 iosf_mbi_form_mcr(u8 op, u8 port, u8 offset) in iosf_mbi_form_mcr()
97 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr) in iosf_mbi_read()
120 int iosf_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr) in iosf_mbi_write()
143 int iosf_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask) in iosf_mbi_modify()
451 static int mcr_get(void *data, u64 *val) in mcr_get()
457 static int mcr_set(void *data, u64 val) in mcr_set()
461 offset = ((u32)val & 0x0000FF00) >> 8; in mcr_set() local

1...<<11121314151617181920>>...70