/linux-6.14.4/include/linux/ |
D | find.h | 57 unsigned long offset) in find_next_bit() 60 unsigned long val; in find_next_bit() local 87 unsigned long offset) in find_next_and_bit() 90 unsigned long val; in find_next_and_bit() local 118 unsigned long offset) in find_next_andnot_bit() 121 unsigned long val; in find_next_andnot_bit() local 148 unsigned long offset) in find_next_or_bit() 151 unsigned long val; in find_next_or_bit() local 176 unsigned long offset) in find_next_zero_bit() 179 unsigned long val; in find_next_zero_bit() local [all …]
|
D | virtio_config.h | 344 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() 349 static inline __virtio16 cpu_to_virtio16(struct virtio_device *vdev, u16 val) in cpu_to_virtio16() 354 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() 359 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() 364 static inline u64 virtio64_to_cpu(struct virtio_device *vdev, __virtio64 val) in virtio64_to_cpu() 369 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64() 503 unsigned int offset, in __virtio_cread_many() 524 unsigned int offset, in virtio_cread_bytes() 530 static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) in virtio_cread8() 540 unsigned int offset, u8 val) in virtio_cwrite8() [all …]
|
/linux-6.14.4/drivers/misc/ocxl/ |
D | mmio.c | 7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() 8 enum ocxl_endian endian, u32 *val) in ocxl_global_mmio_read32() 32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() 33 enum ocxl_endian endian, u64 *val) in ocxl_global_mmio_read64() 57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() 58 enum ocxl_endian endian, u32 val) in ocxl_global_mmio_write32() 83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64() 84 enum ocxl_endian endian, u64 val) in ocxl_global_mmio_write64() 109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32() 140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64() [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 43 u16 val; in ath5k_eeprom_bin2freq() local 76 u16 val; in ath5k_eeprom_init_header() local 77 u32 cksum, offset, eep_max = AR5K_EEPROM_INFO_MAX; in ath5k_eeprom_init_header() local 189 static int ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_ants() 194 u16 val; in ath5k_eeprom_read_ants() local 249 static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_modes() 254 u16 val; in ath5k_eeprom_read_modes() local 472 u32 offset; in ath5k_eeprom_init_modes() local 510 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, in ath5k_eeprom_read_freq_list() 517 u16 val; in ath5k_eeprom_read_freq_list() local [all …]
|
/linux-6.14.4/drivers/net/ethernet/mscc/ |
D | ocelot_io.c | 14 u32 offset, void *buf, int count) in __ocelot_bulk_read_ix() 27 u32 __ocelot_read_ix(struct ocelot *ocelot, enum ocelot_reg reg, u32 offset) in __ocelot_read_ix() 30 u32 addr, val; in __ocelot_read_ix() local 40 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, enum ocelot_reg reg, in __ocelot_write_ix() 41 u32 offset) in __ocelot_write_ix() 53 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, in __ocelot_rmw_ix() 54 enum ocelot_reg reg, u32 offset) in __ocelot_rmw_ix() 70 u32 val; in ocelot_port_readl() local 79 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg) in ocelot_port_writel() 90 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, in ocelot_port_rmwl() [all …]
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-cs5535.c | 60 static void errata_outl(struct cs5535_gpio_chip *chip, u32 val, in errata_outl() 83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set() 94 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set() 105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear() 116 void cs5535_gpio_clear(unsigned offset, unsigned int reg) in cs5535_gpio_clear() 127 int cs5535_gpio_isset(unsigned offset, unsigned int reg) in cs5535_gpio_isset() 131 long val; in cs5535_gpio_isset() local 165 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event() 170 uint32_t val; in cs5535_gpio_setup_event() local 203 static int chip_gpio_request(struct gpio_chip *c, unsigned offset) in chip_gpio_request() [all …]
|
D | gpio-rtd.c | 72 static u8 rtd_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd_gpio_get_deb_setval() 80 static u8 rtd1295_misc_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd1295_misc_gpio_get_deb_setval() 88 static u8 rtd1295_iso_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd1295_iso_gpio_get_deb_setval() 178 static int rtd_gpio_dir_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dir_offset() 183 static int rtd_gpio_dato_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dato_offset() 188 static int rtd_gpio_dati_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dati_offset() 193 static int rtd_gpio_ie_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_ie_offset() 198 static int rtd_gpio_dp_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dp_offset() 204 static int rtd_gpio_gpa_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_gpa_offset() 210 static int rtd_gpio_gpda_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_gpda_offset() [all …]
|
D | gpio-cgbc.c | 36 static int cgbc_gpio_get(struct gpio_chip *chip, unsigned int offset) in cgbc_gpio_get() 41 u8 val; in cgbc_gpio_get() local 55 unsigned int offset, int value) in __cgbc_gpio_set() 59 u8 val; in __cgbc_gpio_set() local 75 unsigned int offset, int value) in cgbc_gpio_set() 84 unsigned int offset, int direction) in cgbc_gpio_direction_set() 89 u8 val; in cgbc_gpio_direction_set() local 107 unsigned int offset) in cgbc_gpio_direction_input() 116 unsigned int offset, int value) in cgbc_gpio_direction_output() 126 static int cgbc_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in cgbc_gpio_get_direction() [all …]
|
D | gpio-syscon.c | 55 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get() 58 unsigned int val, offs; in syscon_gpio_get() local 71 static void syscon_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_set() 84 static int syscon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in syscon_gpio_dir_in() 102 static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_dir_out() 130 static void rockchip_gpio_set(struct gpio_chip *chip, unsigned int offset, in rockchip_gpio_set() 131 int val) in rockchip_gpio_set() 159 static void keystone_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in keystone_gpio_set()
|
D | gpio-regmap.c | 49 unsigned int base, unsigned int offset, in gpio_regmap_simple_xlate() 61 static int gpio_regmap_get(struct gpio_chip *chip, unsigned int offset) in gpio_regmap_get() 64 unsigned int base, val, reg, mask; in gpio_regmap_get() local 84 static void gpio_regmap_set(struct gpio_chip *chip, unsigned int offset, in gpio_regmap_set() 85 int val) in gpio_regmap_set() 99 unsigned int offset, int val) in gpio_regmap_set_with_clear() 114 unsigned int offset) in gpio_regmap_get_direction() 117 unsigned int base, val, reg, mask; in gpio_regmap_get_direction() local 150 unsigned int offset, bool output) in gpio_regmap_set_direction() 153 unsigned int base, val, reg, mask; in gpio_regmap_set_direction() local [all …]
|
/linux-6.14.4/drivers/pinctrl/sunplus/ |
D | sppctl.c | 44 static inline void sppctl_first_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_first_writel() 54 static inline void sppctl_gpio_master_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, in sppctl_gpio_master_writel() 65 static inline void sppctl_gpio_oe_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_oe_writel() 70 static inline void sppctl_gpio_out_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_out_writel() 85 static inline void sppctl_gpio_iinv_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, in sppctl_gpio_iinv_writel() 96 static inline void sppctl_gpio_oinv_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, in sppctl_gpio_oinv_writel() 107 static inline void sppctl_gpio_od_writel(struct sppctl_gpio_chip *spp_gchip, u32 val, u32 off) in sppctl_gpio_od_writel() 112 static inline u32 sppctl_get_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_reg_and_bit_offset() 123 static inline u32 sppctl_get_moon_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_moon_reg_and_bit_offset() 139 static inline u32 sppctl_prep_moon_reg_and_offset(unsigned int offset, u32 *reg_off, int val) in sppctl_prep_moon_reg_and_offset() [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt7601u/ |
D | usb.c | 89 const u8 direction, const u16 val, const u16 offset, in mt7601u_vendor_request() 126 static u32 __mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in __mt7601u_rr() 129 u32 val = ~0; in __mt7601u_rr() local 145 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr() 158 const u16 offset, const u32 val) in __mt7601u_vendor_single_wr() 170 const u16 offset, const u32 val) in mt7601u_vendor_single_wr() 181 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr() 188 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmw() 198 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmc() 213 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset, in mt7601u_wr_copy() [all …]
|
/linux-6.14.4/drivers/ssb/ |
D | sdio.c | 110 static int ssb_sdio_writeb(struct ssb_bus *bus, unsigned int addr, u8 val) in ssb_sdio_writeb() 167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32() 169 u32 val; in ssb_sdio_scan_read32() local 229 static u8 ssb_sdio_read8(struct ssb_device *dev, u16 offset) in ssb_sdio_read8() 232 u8 val = 0xff; in ssb_sdio_read8() local 251 static u16 ssb_sdio_read16(struct ssb_device *dev, u16 offset) in ssb_sdio_read16() 254 u16 val = 0xffff; in ssb_sdio_read16() local 273 static u32 ssb_sdio_read32(struct ssb_device *dev, u16 offset) in ssb_sdio_read32() 276 u32 val = 0xffffffff; in ssb_sdio_read32() local 298 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_read() [all …]
|
/linux-6.14.4/arch/x86/include/asm/numachip/ |
D | numachip_csr.h | 39 static inline void *lcsr_address(unsigned long offset) in lcsr_address() 45 static inline unsigned int read_lcsr(unsigned long offset) in read_lcsr() 50 static inline void write_lcsr(unsigned long offset, unsigned int val) in write_lcsr() 67 static inline void __iomem *numachip2_lcsr_address(unsigned long offset) in numachip2_lcsr_address() 73 static inline u32 numachip2_read32_lcsr(unsigned long offset) in numachip2_read32_lcsr() 78 static inline u64 numachip2_read64_lcsr(unsigned long offset) in numachip2_read64_lcsr() 83 static inline void numachip2_write32_lcsr(unsigned long offset, u32 val) in numachip2_write32_lcsr() 88 static inline void numachip2_write64_lcsr(unsigned long offset, u64 val) in numachip2_write64_lcsr()
|
/linux-6.14.4/drivers/vfio/pci/ |
D | vfio_pci_config.c | 34 #define is_bar(offset) \ argument 123 static int vfio_user_config_read(struct pci_dev *pdev, int offset, in vfio_user_config_read() 124 __le32 *val, int count) in vfio_user_config_read() 154 static int vfio_user_config_write(struct pci_dev *pdev, int offset, in vfio_user_config_write() 155 __le32 val, int count) in vfio_user_config_write() 177 int offset, __le32 *val) in vfio_default_config_read() 203 int offset, __le32 val) in vfio_default_config_write() 250 int offset, __le32 *val) in vfio_direct_config_read() 275 int offset, __le32 val) in vfio_raw_config_write() 288 int offset, __le32 *val) in vfio_raw_config_read() [all …]
|
/linux-6.14.4/tools/include/linux/ |
D | find.h | 34 unsigned long offset) in find_next_bit() 37 unsigned long val; in find_next_bit() local 64 unsigned long offset) in find_next_and_bit() 67 unsigned long val; in find_next_and_bit() local 92 unsigned long offset) in find_next_zero_bit() 95 unsigned long val; in find_next_zero_bit() local 121 unsigned long val = *addr & GENMASK(size - 1, 0); in find_first_bit() local 146 unsigned long val = *addr1 & *addr2 & GENMASK(size - 1, 0); in find_first_and_bit() local 168 unsigned long val = *addr | ~GENMASK(size - 1, 0); in find_first_zero_bit() local
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | phy.c | 21 mt76x0_rf_csr_wr(struct mt76x02_dev *dev, u32 offset, u8 value) in mt76x0_rf_csr_wr() 59 static int mt76x0_rf_csr_rr(struct mt76x02_dev *dev, u32 offset) in mt76x0_rf_csr_rr() 62 u32 val; in mt76x0_rf_csr_rr() local 103 mt76x0_rf_wr(struct mt76x02_dev *dev, u32 offset, u8 val) in mt76x0_rf_wr() 119 static int mt76x0_rf_rr(struct mt76x02_dev *dev, u32 offset) in mt76x0_rf_rr() 122 u32 val; in mt76x0_rf_rr() local 141 mt76x0_rf_rmw(struct mt76x02_dev *dev, u32 offset, u8 mask, u8 val) in mt76x0_rf_rmw() 156 mt76x0_rf_set(struct mt76x02_dev *dev, u32 offset, u8 val) in mt76x0_rf_set() 162 mt76x0_rf_clear(struct mt76x02_dev *dev, u32 offset, u8 mask) in mt76x0_rf_clear() 188 u32 val; in mt76x0_phy_wait_bbp_ready() local [all …]
|
/linux-6.14.4/arch/x86/pci/ |
D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() 19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() 27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() 35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() 36 u32 val) in write_pci_config() 42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte() 48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
|
/linux-6.14.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.h | 71 #define STORE_RT_REG(hwfn, offset, val) \ argument 74 #define OVERWRITE_RT_REG(hwfn, offset, val) \ argument 82 #define STORE_RT_REG_AGG(hwfn, offset, val) \ argument
|
/linux-6.14.4/drivers/scsi/pm8001/ |
D | pm8001_chips.h | 49 static inline void pm8001_write_32(void *addr, u32 offset, __le32 val) in pm8001_write_32() 55 u32 offset) in pm8001_cr32() 61 u32 addr, u32 val) in pm8001_cw32() 65 static inline u32 pm8001_mr32(void __iomem *addr, u32 offset) in pm8001_mr32() 69 static inline void pm8001_mw32(void __iomem *addr, u32 offset, u32 val) in pm8001_mw32()
|
/linux-6.14.4/include/dt-bindings/pinctrl/ |
D | omap.h | 57 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) argument 59 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val) argument 60 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 61 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) argument 62 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val) argument 63 #define OMAP3630_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25a0) (val) argument 64 #define OMAP3_WKUP_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2a00) (val) argument 65 #define DM814X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 66 #define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) argument 67 #define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val) (0) argument [all …]
|
/linux-6.14.4/drivers/net/dsa/mv88e6xxx/ |
D | global2_scratch.c | 52 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_get_bit() 57 u8 val; in mv88e6xxx_g2_scratch_get_bit() local 79 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_set_bit() 84 u8 val; in mv88e6xxx_g2_scratch_set_bit() local 109 int val = 0; in mv88e6352_g2_scratch_gpio_get_data() local 131 int offset = (pin / 8); in mv88e6352_g2_scratch_gpio_set_data() local 154 int val = 0; in mv88e6352_g2_scratch_gpio_get_dir() local 195 int offset = (pin & 0x1) ? 4 : 0; in mv88e6352_g2_scratch_gpio_get_pctl() local 198 u8 val; in mv88e6352_g2_scratch_gpio_get_pctl() local 219 int offset = (pin & 0x1) ? 4 : 0; in mv88e6352_g2_scratch_gpio_set_pctl() local [all …]
|
/linux-6.14.4/drivers/mfd/ |
D | rz-mtu3.c | 57 static bool rz_mtu3_is_16bit_shared_reg(u16 offset) in rz_mtu3_is_16bit_shared_reg() 65 u16 rz_mtu3_shared_reg_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_shared_reg_read() 77 u8 rz_mtu3_8bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_8bit_ch_read() 89 u16 rz_mtu3_16bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_16bit_ch_read() 105 u32 rz_mtu3_32bit_ch_read(struct rz_mtu3_channel *ch, u16 offset) in rz_mtu3_32bit_ch_read() 120 void rz_mtu3_8bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u8 val) in rz_mtu3_8bit_ch_write() 131 void rz_mtu3_16bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u16 val) in rz_mtu3_16bit_ch_write() 146 void rz_mtu3_32bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u32 val) in rz_mtu3_32bit_ch_write() 160 void rz_mtu3_shared_reg_write(struct rz_mtu3_channel *ch, u16 offset, u16 value) in rz_mtu3_shared_reg_write() 172 void rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel *ch, u16 offset, in rz_mtu3_shared_reg_update_bit() [all …]
|
/linux-6.14.4/drivers/comedi/drivers/ |
D | amplc_dio200_common.c | 92 unsigned int offset) in dio200___read8() 100 unsigned int offset, unsigned char val) in dio200___write8() 109 unsigned int offset) in dio200___read32() 117 unsigned int offset, unsigned int val) in dio200___write32() 128 unsigned int offset) in dio200___read8() 134 unsigned int offset, unsigned char val) in dio200___write8() 140 unsigned int offset) in dio200___read32() 146 unsigned int offset, unsigned int val) in dio200___write32() 154 unsigned int offset) in dio200_read8() 165 unsigned int offset, unsigned char val) in dio200_write8() [all …]
|
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/ |
D | mmio.c | 10 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr() 12 u32 val; in mt76_mmio_rr() local 20 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr() 26 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw() 33 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy() 39 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy()
|