Home
last modified time | relevance | path

Searched +defs:val +defs:offset (Results 426 – 450 of 1969) sorted by relevance

1...<<11121314151617181920>>...79

/linux-6.14.4/include/linux/sunrpc/
Drpc_rdma.h122 rpcrdma_decode_buffer_size(u8 val) in rpcrdma_decode_buffer_size()
138 u32 length, u64 offset) in xdr_encode_rdma_segment()
158 u64 offset) in xdr_encode_read_segment()
175 u32 *length, u64 *offset) in xdr_decode_rdma_segment()
195 u64 *offset) in xdr_decode_read_segment()
/linux-6.14.4/drivers/tty/serial/
Dar933x_uart.c58 int offset) in ar933x_uart_read()
64 int offset, unsigned int value) in ar933x_uart_write()
70 unsigned int offset, in ar933x_uart_rmw()
72 unsigned int val) in ar933x_uart_rmw()
83 unsigned int offset, in ar933x_uart_rmw_set()
84 unsigned int val) in ar933x_uart_rmw_set()
90 unsigned int offset, in ar933x_uart_rmw_clear()
91 unsigned int val) in ar933x_uart_rmw_clear()
/linux-6.14.4/drivers/spi/
Dspi-coldfire-qspi.c68 static void mcfqspi_wr_qmr(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qmr()
73 static void mcfqspi_wr_qdlyr(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qdlyr()
83 static void mcfqspi_wr_qwr(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qwr()
88 static void mcfqspi_wr_qir(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qir()
93 static void mcfqspi_wr_qar(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qar()
98 static void mcfqspi_wr_qdr(struct mcfqspi *mcfqspi, u16 val) in mcfqspi_wr_qdr()
156 unsigned i, n, offset = 0; in mcfqspi_transfer_msg8() local
223 unsigned i, n, offset = 0; in mcfqspi_transfer_msg16() local
Dspi-armada-3700.c116 static u32 spireg_read(struct a3700_spi *a3700_spi, u32 offset) in spireg_read()
121 static void spireg_write(struct a3700_spi *a3700_spi, u32 offset, u32 data) in spireg_write()
128 u32 val; in a3700_spi_auto_cs_unset() local
137 u32 val; in a3700_spi_activate_cs() local
147 u32 val; in a3700_spi_deactivate_cs() local
157 u32 val; in a3700_spi_pin_mode_set() local
187 u32 val; in a3700_spi_fifo_mode_set() local
200 u32 val; in a3700_spi_mode_set() local
220 u32 val; in a3700_spi_clock_set() local
247 u32 val; in a3700_spi_bytelen_set() local
[all …]
/linux-6.14.4/drivers/net/dsa/
Dmt7530.c93 core_write(struct mt7530_priv *priv, u32 reg, u32 val) in core_write()
132 u32 val; in core_rmw() local
171 core_set(struct mt7530_priv *priv, u32 reg, u32 val) in core_set()
177 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) in core_clear()
183 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_mii_write()
200 u32 val; in mt7530_mii_read() local
214 mt7530_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_write()
232 u32 val; in _mt7530_read() local
264 mt7530_set(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_set()
270 mt7530_clear(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_clear()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gvt/
Dedid.c141 unsigned int offset, void *p_data, unsigned int bytes) in gmbus0_mmio_write()
180 static int gmbus1_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus1_mmio_write()
281 static int gmbus3_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_write()
290 static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus3_mmio_read()
343 static int gmbus2_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_read()
354 static int gmbus2_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, in gmbus2_mmio_write()
379 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_read()
409 unsigned int offset, void *p_data, unsigned int bytes) in intel_gvt_i2c_handle_gmbus_write()
438 static inline int get_aux_ch_reg(unsigned int offset) in get_aux_ch_reg()
480 unsigned int offset, in intel_gvt_i2c_handle_aux_ch_write()
[all …]
/linux-6.14.4/arch/mips/include/asm/
Dio.h143 #define ioremap(offset, size) \ argument
161 #define ioremap_cache(offset, size) \ argument
182 #define ioremap_wc(offset, size) \ argument
378 #define writeb_be(val, addr) \ argument
380 #define writew_be(val, addr) \ argument
382 #define writel_be(val, addr) \ argument
384 #define writeq_be(val, addr) \ argument
/linux-6.14.4/drivers/gpio/
Dgpio-f7188x.c110 int val; in superio_inw() local
120 static inline void superio_outb(int base, int reg, int val) in superio_outb()
288 static int f7188x_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in f7188x_gpio_get_direction()
313 static int f7188x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in f7188x_gpio_direction_in()
338 static int f7188x_gpio_get(struct gpio_chip *chip, unsigned offset) in f7188x_gpio_get()
363 unsigned offset, int value) in f7188x_gpio_direction_out()
394 static void f7188x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in f7188x_gpio_set()
416 static int f7188x_gpio_set_config(struct gpio_chip *chip, unsigned offset, in f7188x_gpio_set_config()
Dgpio-sch311x.c121 static inline void sch311x_sio_outb(int sio_config_port, int reg, int val) in sch311x_sio_outb()
132 static int sch311x_gpio_request(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_request()
148 static void sch311x_gpio_free(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_free()
158 static int sch311x_gpio_get(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get()
171 unsigned offset, int value) in __sch311x_gpio_set()
181 static void sch311x_gpio_set(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set()
191 static int sch311x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_direction_in()
205 static int sch311x_gpio_direction_out(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_direction_out()
222 static int sch311x_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get_direction()
237 static int sch311x_gpio_set_config(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set_config()
/linux-6.14.4/drivers/net/wireless/broadcom/b43/
Dtables_phy_lcn.c457 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset) in b43_lcntab_read()
487 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_read_bulk()
525 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lcntab_write()
555 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_write_bulk()
600 #define lcntab_upload(dev, offset, data) do { \ argument
625 u32 val; in b43_phy_lcn_load_tx_gain_tab() local
/linux-6.14.4/arch/riscv/include/asm/
Dmodule.h31 static inline struct got_entry emit_got_entry(unsigned long val) in emit_got_entry()
36 static inline struct got_entry *get_got_entry(unsigned long val, in get_got_entry()
64 static inline struct plt_entry emit_plt_entry(unsigned long val, in emit_plt_entry()
80 unsigned long offset = got_plt - plt; in emit_plt_entry() local
90 static inline int get_got_plt_idx(unsigned long val, const struct mod_section *sec) in get_got_plt_idx()
101 static inline struct plt_entry *get_plt_entry(unsigned long val, in get_plt_entry()
/linux-6.14.4/sound/pci/
Dintel8x0.c419 static inline u8 igetbyte(struct intel8x0 *chip, u32 offset) in igetbyte()
424 static inline u16 igetword(struct intel8x0 *chip, u32 offset) in igetword()
429 static inline u32 igetdword(struct intel8x0 *chip, u32 offset) in igetdword()
434 static inline void iputbyte(struct intel8x0 *chip, u32 offset, u8 val) in iputbyte()
439 static inline void iputword(struct intel8x0 *chip, u32 offset, u16 val) in iputword()
444 static inline void iputdword(struct intel8x0 *chip, u32 offset, u32 val) in iputdword()
453 static inline u16 iagetword(struct intel8x0 *chip, u32 offset) in iagetword()
458 static inline void iaputword(struct intel8x0 *chip, u32 offset, u16 val) in iaputword()
513 unsigned short val) in snd_intel8x0_codec_write()
579 int val = igetbyte(chip, ICHREG(ALI_CSPSR)); in snd_intel8x0_ali_codec_ready() local
[all …]
/linux-6.14.4/drivers/net/wireless/realtek/rtw88/
Dutil.c24 bool ltecoex_read_reg(struct rtw_dev *rtwdev, u16 offset, u32 *val) in ltecoex_read_reg()
38 bool ltecoex_reg_write(struct rtw_dev *rtwdev, u16 offset, u32 value) in ltecoex_reg_write()
57 u32 val; in rtw_restore_reg() local
/linux-6.14.4/drivers/media/pci/cobalt/
Dcobalt-cpld.c13 #define ADRS(offset) (COBALT_BUS_CPLD_BASE + offset) argument
15 static u16 cpld_read(struct cobalt *cobalt, u32 offset) in cpld_read()
20 static void cpld_write(struct cobalt *cobalt, u32 offset, u16 val) in cpld_write()
/linux-6.14.4/arch/mips/mm/
Dcerr-sb1.c64 static inline void breakout_errctl(unsigned int val) in breakout_errctl()
77 static inline void breakout_cerri(unsigned int val) in breakout_cerri()
88 static inline void breakout_cerrd(unsigned int val) in breakout_cerrd()
382 int offset; in extract_ic() local
446 unsigned char val; member
532 int offset; in extract_dc() local
/linux-6.14.4/drivers/gpu/drm/radeon/
Dradeon_combios.c135 uint16_t offset = 0, check_offset; in combios_get_table_offset() local
631 u16 offset; in radeon_combios_get_i2c_info_from_table() local
1397 uint16_t offset; in radeon_legacy_get_ext_tmds_info_from_combios() local
2625 u16 offset, misc, misc2 = 0; in radeon_combios_get_power_modes() local
2873 uint16_t offset; in radeon_combios_external_tmds_setup() local
2876 uint32_t reg, val, and_mask, or_mask; in radeon_combios_external_tmds_setup() local
2999 static void combios_parse_mmio_table(struct drm_device *dev, uint16_t offset) in combios_parse_mmio_table()
3007 uint32_t val, and_mask, or_mask; in combios_parse_mmio_table() local
3078 static void combios_parse_pll_table(struct drm_device *dev, uint16_t offset) in combios_parse_pll_table()
3086 uint32_t val, shift, tmp; in combios_parse_pll_table() local
[all …]
/linux-6.14.4/drivers/pinctrl/mediatek/
Dpinctrl-airoha.c48 #define PINCTRL_CONF_DESC(p, offset, mask) \ argument
334 u32 offset; member
348 u32 offset; member
350 u32 val; member
2273 u32 offset = gpio % AIROHA_PIN_BANK_SIZE; in airoha_gpio_set() local
2283 u32 val, pin = gpio % AIROHA_PIN_BANK_SIZE; in airoha_gpio_get() local
2310 u8 offset = data->hwirq % AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_unmask() local
2315 u32 val = BIT(2 * offset); in airoha_irq_unmask() local
2347 u8 offset = data->hwirq % AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_mask() local
2397 u32 offset = irq + i * AIROHA_PIN_BANK_SIZE; in airoha_irq_handler() local
[all …]
/linux-6.14.4/drivers/net/ipa/
Dipa_cmd.c80 __le16 offset; member
212 u32 offset; in ipa_cmd_header_init_local_valid() local
257 const char *name, u32 offset) in ipa_cmd_register_write_offset_valid()
293 u32 offset; in ipa_cmd_register_write_valid() local
362 enum ipa_cmd_opcode opcode, u16 size, u32 offset, in ipa_cmd_table_init_add()
370 u64 val; in ipa_cmd_table_init_add() local
401 void ipa_cmd_hdr_init_local_add(struct gsi_trans *trans, u32 offset, u16 size, in ipa_cmd_hdr_init_local_add()
430 void ipa_cmd_register_write_add(struct gsi_trans *trans, u32 offset, u32 value, in ipa_cmd_register_write_add()
451 u32 val; in ipa_cmd_register_write_add() local
512 void ipa_cmd_dma_shared_mem_add(struct gsi_trans *trans, u32 offset, u16 size, in ipa_cmd_dma_shared_mem_add()
/linux-6.14.4/drivers/pinctrl/
Dpinctrl-rk805.c314 static int rk805_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get()
317 int ret, val; in rk805_gpio_get() local
329 unsigned int offset, in rk805_gpio_set()
345 unsigned int offset, int value) in rk805_gpio_direction_output()
351 static int rk805_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get_direction()
354 unsigned int val; in rk805_gpio_get_direction() local
455 unsigned int offset, in _rk805_pinctrl_set_mux()
481 int offset = group; in rk805_pinctrl_set_mux() local
488 unsigned int offset) in rk805_pinctrl_gpio_request_enable()
506 unsigned int offset, bool input) in rk805_pmx_gpio_set_direction()
/linux-6.14.4/sound/soc/codecs/
Dwm8903.c293 int i, val; in wm8903_seq_notifier() local
418 int val, i, best; in wm8903_set_deemph() local
1773 static int wm8903_gpio_request(struct gpio_chip *chip, unsigned offset) in wm8903_gpio_request()
1781 static int wm8903_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8903_gpio_direction_in()
1784 unsigned int mask, val; in wm8903_gpio_direction_in() local
1799 static int wm8903_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8903_gpio_get()
1810 unsigned offset, int value) in wm8903_gpio_direction_out()
1813 unsigned int mask, val; in wm8903_gpio_direction_out() local
1828 static void wm8903_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8903_gpio_set()
1988 unsigned int val, irq_pol; in wm8903_i2c_probe() local
/linux-6.14.4/drivers/power/supply/
Dcpcap-battery.c103 s16 offset; /* 9 bits */ member
256 s16 offset, u32 divider) in cpcap_battery_cc_raw_div()
275 s16 offset) in cpcap_battery_cc_to_uah()
284 s16 offset) in cpcap_battery_cc_to_ua()
444 s16 offset; in cpcap_battery_cc_get_avg_current() local
470 int *val) in cpcap_battery_get_charger_status()
496 int error, val; in cpcap_battery_full() local
637 union power_supply_propval *val) in cpcap_battery_get_property()
797 union power_supply_propval val; in cpcap_battery_update_charger() local
828 const union power_supply_propval *val) in cpcap_battery_set_property()
/linux-6.14.4/drivers/remoteproc/
Dpru_rproc.c141 void pru_control_write_reg(struct pru_rproc *pru, unsigned int reg, u32 val) in pru_control_write_reg()
150 u32 val; in pru_control_set_reg() local
435 static int pru_rproc_debug_ss_set(void *data, u64 val) in pru_rproc_debug_ss_set()
461 static int pru_rproc_debug_ss_get(void *data, u64 *val) in pru_rproc_debug_ss_get()
601 u32 val; in pru_rproc_start() local
628 u32 val; in pru_rproc_stop() local
655 u32 offset; in pru_d_da_to_va() local
693 u32 offset; in pru_i_da_to_va() local
818 u32 offset = phdr->p_offset; in pru_rproc_load_elf_segments() local
889 u32 offset = shdr->sh_offset; in pru_rproc_find_interrupt_map() local
/linux-6.14.4/drivers/dma/ti/
Dedma.c299 static inline unsigned int edma_read(struct edma_cc *ecc, int offset) in edma_read()
304 static inline void edma_write(struct edma_cc *ecc, int offset, int val) in edma_write()
309 static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and, in edma_modify()
312 unsigned val = edma_read(ecc, offset); in edma_modify() local
319 static inline void edma_or(struct edma_cc *ecc, int offset, unsigned or) in edma_or()
321 unsigned val = edma_read(ecc, offset); in edma_or() local
327 static inline unsigned int edma_read_array(struct edma_cc *ecc, int offset, in edma_read_array()
333 static inline void edma_write_array(struct edma_cc *ecc, int offset, int i, in edma_write_array()
334 unsigned val) in edma_write_array()
339 static inline void edma_modify_array(struct edma_cc *ecc, int offset, int i, in edma_modify_array()
[all …]
/linux-6.14.4/drivers/pci/controller/
Dpcie-rockchip-host.c59 u32 val; in rockchip_pcie_update_txcredit_mui() local
84 u32 val; in rockchip_pcie_lane_map() local
101 int where, int size, u32 *val) in rockchip_pcie_rd_own_conf()
126 int where, int size, u32 val) in rockchip_pcie_wr_own_conf()
128 u32 mask, tmp, offset; in rockchip_pcie_wr_own_conf() local
155 int where, int size, u32 *val) in rockchip_pcie_rd_other_conf()
188 int where, int size, u32 val) in rockchip_pcie_wr_other_conf()
217 int size, u32 *val) in rockchip_pcie_rd_conf()
232 int where, int size, u32 val) in rockchip_pcie_wr_conf()
783 int offset; in rockchip_pcie_cfg_atu() local
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/
Dmt792x_usb.c27 void mt792xu_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt792xu_wr()
36 u32 mt792xu_rmw(struct mt76_dev *dev, u32 addr, u32 mask, u32 val) in mt792xu_rmw()
49 void mt792xu_copy(struct mt76_dev *dev, u32 offset, const void *data, int len) in mt792xu_copy()
53 const u8 *val = data; in mt792xu_copy() local
114 static void mt792xu_uhw_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt792xu_uhw_wr()
194 u32 val; in mt792xu_epctl_rst_opt() local
239 u32 val; in mt792xu_wfsys_reset() local

1...<<11121314151617181920>>...79