/linux-6.14.4/drivers/net/can/m_can/ |
D | m_can_pci.c | 42 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo() 56 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val) in iomap_write_reg() 65 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset, in iomap_write_fifo() 66 const void *val, size_t val_count) in iomap_write_fifo()
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | pedit.c | 21 set_pedit_val(u8 hdr_type, u32 mask, u32 val, u32 offset, in set_pedit_val() 55 u32 mask, val, offset; in mlx5e_tc_act_pedit_parse_action() local
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | pci_vsc.c | 8 #define MLX5_EXTRACT_C(source, offset, size) \ argument 14 #define MLX5_MASK32(offset, size) \ argument 21 #define vsc_read(dev, offset, val) \ argument 23 #define vsc_write(dev, offset, val) \ argument 136 u32 val = 0; in mlx5_vsc_gw_set_space() local
|
/linux-6.14.4/drivers/iio/dac/ |
D | ad3552r-hs.c | 33 u32 reg, u32 mask, u32 val, in ad3552r_qspi_update_reg_bits() 50 int *val, int *val2, long mask) in ad3552r_hs_read_raw() 90 int val, int val2, long mask) in ad3552r_hs_write_raw() 113 int loop_len, val, ret; in ad3552r_hs_buffer_postenable() local 207 int val; in ad3552r_hs_set_output_range() local 247 int ret, val; in ad3552r_hs_scratch_pad_test() local 283 int ch, u16 gain, u16 offset) in ad3552r_hs_setup_custom_gain() 299 u16 gain = 0, offset = 0; in ad3552r_hs_setup() local 300 u32 ch, val, range; in ad3552r_hs_setup() local
|
/linux-6.14.4/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.h | 121 static inline u32 gmu_read(struct a6xx_gmu *gmu, u32 offset) in gmu_read() 126 static inline void gmu_write(struct a6xx_gmu *gmu, u32 offset, u32 value) in gmu_write() 132 gmu_write_bulk(struct a6xx_gmu *gmu, u32 offset, const u32 *data, u32 size) in gmu_write_bulk() 140 u32 val = gmu_read(gmu, reg); in gmu_rmw() local 149 u64 val; in gmu_read64() local 157 #define gmu_poll_timeout(gmu, addr, val, cond, interval, timeout) \ argument 161 static inline u32 gmu_read_rscc(struct a6xx_gmu *gmu, u32 offset) in gmu_read_rscc() 166 static inline void gmu_write_rscc(struct a6xx_gmu *gmu, u32 offset, u32 value) in gmu_write_rscc() 171 #define gmu_poll_timeout_rscc(gmu, addr, val, cond, interval, timeout) \ argument
|
/linux-6.14.4/drivers/rtc/ |
D | rtc-ti-k3.c | 127 int val; in k3rtc_field_read() local 139 static void k3rtc_field_write(struct ti_k3_rtc *priv, enum ti_k3_rtc_fields f, u32 val) in k3rtc_field_write() 300 u32 offset = enabled ? K3RTC_IRQ_ENABLE_SET : K3RTC_IRQ_ENABLE_CLR; in ti_k3_rtc_alarm_irq_enable() local 353 static int ti_k3_rtc_read_offset(struct device *dev, long *offset) in ti_k3_rtc_read_offset() 376 static int ti_k3_rtc_set_offset(struct device *dev, long offset) in ti_k3_rtc_set_offset() 486 static int ti_k3_rtc_scratch_read(void *priv_data, unsigned int offset, in ti_k3_rtc_scratch_read() 487 void *val, size_t bytes) in ti_k3_rtc_scratch_read() 494 static int ti_k3_rtc_scratch_write(void *priv_data, unsigned int offset, in ti_k3_rtc_scratch_write() 495 void *val, size_t bytes) in ti_k3_rtc_scratch_write()
|
/linux-6.14.4/arch/powerpc/platforms/powermac/ |
D | pci.c | 137 int offset) in macrisc_cfg_map_bus() 174 int offset) in chaos_map_bus() 271 u8 devfn, u8 offset, int *swap) in u3_ht_cfg_access() 284 int offset, int len, u32 *val) in u3_ht_read_config() 335 int offset, int len, u32 val) in u3_ht_write_config() 398 int offset) in u4_pcie_cfg_map_bus() 496 u16 val; in init_p2pbridge() local 1066 u8 val; in pmac_pci_fixup_cardbus() local 1078 u8 val; in pmac_pci_fixup_cardbus() local
|
/linux-6.14.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 38 long offset; member 75 long offset; member 1031 static int bnx2x_set_dump(struct net_device *dev, struct ethtool_dump *val) in bnx2x_set_dump() 1255 u32 val; in bnx2x_acquire_nvram_lock() local 1291 u32 val; in bnx2x_release_nvram_lock() local 1323 u32 val; in bnx2x_enable_nvram_access() local 1335 u32 val; in bnx2x_disable_nvram_access() local 1345 static int bnx2x_nvram_read_dword(struct bnx2x *bp, u32 offset, __be32 *ret_val, in bnx2x_nvram_read_dword() 1349 u32 val; in bnx2x_nvram_read_dword() local 1393 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, in bnx2x_nvram_read() [all …]
|
/linux-6.14.4/drivers/xen/xen-pciback/ |
D | conf_space.c | 72 int offset, u32 value) in conf_space_write() 107 static inline int valid_request(int offset, int size) in valid_request() 115 static inline u32 merge_value(u32 val, u32 new_val, u32 new_val_mask, in merge_value() 116 int offset) in merge_value() 147 int xen_pcibk_config_read(struct pci_dev *dev, int offset, int size, in xen_pcibk_config_read() 204 int xen_pcibk_config_write(struct pci_dev *dev, int offset, int size, u32 value) in xen_pcibk_config_write() 288 u16 val; in xen_pcibk_get_interrupt_type() local
|
/linux-6.14.4/arch/powerpc/platforms/chrp/ |
D | pci.c | 35 int len, u32 *val) in gg2_read_config() 62 int len, u32 val) in gg2_write_config() 97 static int rtas_read_config(struct pci_bus *bus, unsigned int devfn, int offset, in rtas_read_config() 98 int len, u32 *val) in rtas_read_config() 112 static int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset, in rtas_write_config() 113 int len, u32 val) in rtas_write_config() 167 u32 val; in setup_python() local
|
/linux-6.14.4/drivers/counter/ |
D | ftm-quaddec.c | 19 #define FTM_FIELD_UPDATE(ftm, offset, mask, val) \ argument 35 static void ftm_read(struct ftm_quaddec *ftm, uint32_t offset, uint32_t *data) in ftm_read() 43 static void ftm_write(struct ftm_quaddec *ftm, uint32_t offset, uint32_t data) in ftm_write() 162 u64 *val) in ftm_quaddec_count_read() 176 const u64 val) in ftm_quaddec_count_write()
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-lp873x.c | 25 unsigned int offset) in lp873x_gpio_get_direction() 32 unsigned int offset) in lp873x_gpio_direction_input() 39 unsigned int offset, int value) in lp873x_gpio_direction_output() 49 static int lp873x_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp873x_gpio_get() 52 int ret, val; in lp873x_gpio_get() local 61 static void lp873x_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp873x_gpio_set() 71 static int lp873x_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp873x_gpio_request() 95 static int lp873x_gpio_set_config(struct gpio_chip *gc, unsigned offset, in lp873x_gpio_set_config()
|
D | gpio-tc3589x.c | 37 static int tc3589x_gpio_get(struct gpio_chip *chip, unsigned int offset) in tc3589x_gpio_get() 52 static void tc3589x_gpio_set(struct gpio_chip *chip, unsigned int offset, int val) in tc3589x_gpio_set() 64 unsigned int offset, int val) in tc3589x_gpio_direction_output() 77 unsigned int offset) in tc3589x_gpio_direction_input() 88 unsigned int offset) in tc3589x_gpio_get_direction() 106 static int tc3589x_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in tc3589x_gpio_set_config() 161 int offset = d->hwirq; in tc3589x_gpio_irq_set_type() local 227 int offset = d->hwirq; in tc3589x_gpio_irq_mask() local 240 int offset = d->hwirq; in tc3589x_gpio_irq_unmask() local
|
/linux-6.14.4/drivers/usb/phy/ |
D | phy-keystone.c | 33 static inline u32 keystone_usbphy_readl(void __iomem *base, u32 offset) in keystone_usbphy_readl() 39 u32 offset, u32 value) in keystone_usbphy_writel() 47 u32 val; in keystone_usbphy_init() local 58 u32 val; in keystone_usbphy_shutdown() local
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | usb.c | 19 u16 val, u16 offset, void *buf, size_t len) in __mt76u_vendor_request() 50 u8 req_type, u16 val, u16 offset, in mt76u_vendor_request() 113 u32 addr, u32 val) in ___mt76u_wr() 124 static void __mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in __mt76u_wr() 140 static void mt76u_wr(struct mt76_dev *dev, u32 addr, u32 val) in mt76u_wr() 148 u32 mask, u32 val) in mt76u_rmw() 158 static void mt76u_copy(struct mt76_dev *dev, u32 offset, in mt76u_copy() 162 const u8 *val = data; in mt76u_copy() local 190 void mt76u_read_copy(struct mt76_dev *dev, u32 offset, in mt76u_read_copy() 195 u8 *val = data; in mt76u_read_copy() local [all …]
|
/linux-6.14.4/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 35 static inline void pmx_writel(struct tegra_pmx *pmx, u32 val, u32 bank, u32 reg) in pmx_writel() 73 unsigned offset) in tegra_pinctrl_pin_dbg_show() 110 u32 val; in tegra_pinctrl_dt_subnode_to_map() local 256 u32 val; in tegra_pinctrl_set_mux() local 282 unsigned int offset) in tegra_pinctrl_get_group() 305 unsigned int offset) in tegra_pinctrl_gpio_request_enable() 331 unsigned int offset) in tegra_pinctrl_gpio_disable_free() 526 u32 val, mask; in tegra_pinconf_group_get() local 555 u32 val, mask; in tegra_pinconf_group_set() local 602 struct seq_file *s, unsigned offset) in tegra_pinconf_dbg_show() [all …]
|
/linux-6.14.4/drivers/media/platform/raspberrypi/rp1-cfe/ |
D | dphy.c | 36 static u32 dw_csi2_host_read(struct dphy_data *dphy, u32 offset) in dw_csi2_host_read() 41 static void dw_csi2_host_write(struct dphy_data *dphy, u32 offset, u32 data) in dw_csi2_host_write() 46 static void set_tstclr(struct dphy_data *dphy, u32 val) in set_tstclr() 53 static void set_tstclk(struct dphy_data *dphy, u32 val) in set_tstclk() 67 static void set_testen(struct dphy_data *dphy, u32 val) in set_testen() 75 static void set_testdin(struct dphy_data *dphy, u32 val) in set_testdin()
|
/linux-6.14.4/sound/soc/codecs/ |
D | zl38060.c | 93 unsigned int val; in zl38_fw_issue_command() local 126 unsigned int val; in zl38_fw_enter_boot_mode() local 212 unsigned int val; in zl38_software_reset() local 390 static void chip_gpio_set(struct gpio_chip *c, unsigned int offset, int val) in chip_gpio_set() 398 static int chip_gpio_get(struct gpio_chip *c, unsigned int offset) in chip_gpio_get() 402 unsigned int val; in chip_gpio_get() local 412 static int chip_direction_input(struct gpio_chip *c, unsigned int offset) in chip_direction_input() 421 chip_direction_output(struct gpio_chip *c, unsigned int offset, int val) in chip_direction_output()
|
/linux-6.14.4/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 56 #define MX1_MUX_FUNCTION(val) (BIT(0) & val) argument 57 #define MX1_MUX_GPIO(val) ((BIT(1) & val) >> 1) argument 58 #define MX1_MUX_DIR(val) ((BIT(2) & val) >> 2) argument 59 #define MX1_MUX_OCONF(val) (((BIT(4) | BIT(5)) & val) >> 4) argument 60 #define MX1_MUX_ICONFA(val) (((BIT(8) | BIT(9)) & val) >> 8) argument 61 #define MX1_MUX_ICONFB(val) (((BIT(10) | BIT(11)) & val) >> 10) argument 92 int offset = (pin_id % 16) * 2; /* offset, regardless of register used */ in imx1_write_2bit() local 119 int offset = pin_id % 32; in imx1_write_bit() local 139 int offset = (pin_id % 16) * 2; in imx1_read_2bit() local 152 int offset = pin_id % 32; in imx1_read_bit() local [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/ |
D | text-patching.h | 42 static inline bool is_offset_in_branch_range(long offset) in is_offset_in_branch_range() 47 static inline bool is_offset_in_cond_branch_range(long offset) in is_offset_in_cond_branch_range() 55 long offset; in create_branch() local 96 static inline int patch_uint(void *addr, unsigned int val) in patch_uint() 104 static inline int patch_ulong(void *addr, unsigned long val) in patch_ulong()
|
/linux-6.14.4/arch/powerpc/boot/ |
D | libfdt-wrapper.c | 106 int offset; in fdt_wrapper_create_node() local 119 const char *val, in fdt_wrapper_find_node_by_prop_value() 122 int offset = fdt_node_offset_by_prop_value(fdt, devp_offset_find(prev), in fdt_wrapper_find_node_by_prop_value() local 128 const char *val) in fdt_wrapper_find_node_by_compatible() 130 int offset = fdt_node_offset_by_compatible(fdt, devp_offset_find(prev), in fdt_wrapper_find_node_by_compatible() local
|
/linux-6.14.4/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.h | 67 static inline void brcmnand_writel(u32 val, void __iomem *addr) in brcmnand_writel() 81 static inline u32 brcmnand_soc_read(struct brcmnand_soc *soc, u32 offset) in brcmnand_soc_read() 86 static inline void brcmnand_soc_write(struct brcmnand_soc *soc, u32 val, in brcmnand_soc_write() 87 u32 offset) in brcmnand_soc_write()
|
/linux-6.14.4/drivers/ssb/ |
D | pcmcia.c | 71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write() 83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read() 102 u8 val; in ssb_pcmcia_switch_coreidx() local 170 u8 val; in ssb_pcmcia_switch_segment() local 197 u16 *offset) in select_core_and_segment() 223 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8() 239 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16() 255 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32() 275 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read() 331 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8() [all …]
|
/linux-6.14.4/drivers/thermal/broadcom/ |
D | brcmstb_thermal.c | 106 unsigned int offset; member 123 int offset = priv->temp_params->offset; in avs_tmon_code_to_temp() local 138 int offset = priv->temp_params->offset; in avs_tmon_temp_to_code() local 156 u32 val; in brcmstb_get_temp() local 179 u32 val = __raw_readl(priv->tmon_base + trip->enable_offs); in avs_tmon_trip_enable() local 195 u32 val = __raw_readl(priv->tmon_base + trip->reg_offs); in avs_tmon_get_trip_temp() local 208 u32 val, orig; in avs_tmon_set_trip_temp() local 227 u32 val; in avs_tmon_get_intr_temp() local
|
/linux-6.14.4/arch/powerpc/platforms/44x/ |
D | pci.c | 40 #define U64_TO_U32_LOW(val) ((u32)((val) & 0x00000000ffffffffULL)) argument 41 #define U64_TO_U32_HIGH(val) ((u32)((val) >> 32)) argument 43 #define RES_TO_U32_LOW(val) \ argument 45 #define RES_TO_U32_HIGH(val) \ argument 256 resource_size_t offset = hose->mem_offset[i]; in ppc4xx_configure_pci_PMMs() local 455 resource_size_t offset = hose->mem_offset[i]; in ppc4xx_configure_pcix_POMs() local 663 u32 val; in ppc4xx_pciex_wait_on_sdr() local 838 u32 val = 1 << 24; in ppc440spe_pciex_init_port_hw() local 942 u32 val; in ppc460ex_pciex_init_port_hw() local 1053 u32 val; in apm821xx_pciex_init_port_hw() local [all …]
|