/linux-6.8/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 47 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument 48 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument 49 #define get_mask(offset) (BIT(get_shift(offset))) argument 104 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get() 117 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set() 127 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction() 148 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input() 158 unsigned int offset, int value) in stmfx_gpio_direction_output() 170 unsigned int offset) in stmfx_pinconf_get_pupd() 184 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() [all …]
|
/linux-6.8/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_coherency.c | 23 static int cpu_set(struct context *ctx, unsigned long offset, u32 v) in cpu_set() 54 static int cpu_get(struct context *ctx, unsigned long offset, u32 *v) in cpu_get() 82 static int gtt_set(struct context *ctx, unsigned long offset, u32 v) in gtt_set() 116 static int gtt_get(struct context *ctx, unsigned long offset, u32 *v) in gtt_get() 150 static int wc_set(struct context *ctx, unsigned long offset, u32 v) in wc_set() 173 static int wc_get(struct context *ctx, unsigned long offset, u32 *v) in wc_get() 194 static int gpu_set(struct context *ctx, unsigned long offset, u32 v) in gpu_set()
|
/linux-6.8/mm/ |
D | swapfile.c | 135 unsigned long offset, unsigned long flags) in __try_to_reclaim_swap() 212 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() 236 pgoff_t offset; in swap_folio_sector() local 254 pgoff_t offset = start_page - se->start_page; in discard_swap_cluster() local 359 unsigned long offset) in lock_cluster() 382 struct swap_info_struct *si, unsigned long offset) in lock_cluster_or_swap_info() 605 unsigned long offset) in scan_swap_map_ssd_cluster_conflict() 628 unsigned long *offset, unsigned long *scan_base) in scan_swap_map_try_ssd_cluster() 697 static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, in swap_range_alloc() 724 static void swap_range_free(struct swap_info_struct *si, unsigned long offset, in swap_range_free() [all …]
|
/linux-6.8/arch/m68k/mac/ |
D | misc.c | 42 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte() 54 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte() 67 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte() 79 static void pmu_pram_write_byte(unsigned char data, int offset) in pmu_pram_write_byte() 212 static unsigned char via_pram_read_byte(int offset) in via_pram_read_byte() 221 static void via_pram_write_byte(unsigned char data, int offset) in via_pram_write_byte() 492 unsigned long offset = phys-virt; in mac_reset() local 547 static void unmktime(time64_t time, long offset, in unmktime()
|
/linux-6.8/drivers/gpio/ |
D | gpio-syscon.c | 56 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get() 72 static void syscon_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_set() 85 static int syscon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in syscon_gpio_dir_in() 103 static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_dir_out() 131 static void rockchip_gpio_set(struct gpio_chip *chip, unsigned int offset, in rockchip_gpio_set() 160 static void keystone_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in keystone_gpio_set()
|
D | gpio-xgene.c | 37 static int xgene_gpio_get(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get() 48 static void __xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in __xgene_gpio_set() 65 static void xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set() 75 static int xgene_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get_direction() 89 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in() 110 unsigned int offset, int val) in xgene_gpio_dir_out()
|
D | gpio-gw-pld.c | 35 static int gw_pld_input8(struct gpio_chip *gc, unsigned offset) in gw_pld_input8() 43 static int gw_pld_get8(struct gpio_chip *gc, unsigned offset) in gw_pld_get8() 53 static int gw_pld_output8(struct gpio_chip *gc, unsigned offset, int value) in gw_pld_output8() 65 static void gw_pld_set8(struct gpio_chip *gc, unsigned offset, int value) in gw_pld_set8()
|
D | gpio-stmpe.c | 42 static int stmpe_gpio_get(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_get() 57 static void stmpe_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in stmpe_gpio_set() 76 unsigned offset) in stmpe_gpio_get_direction() 95 unsigned offset, int val) in stmpe_gpio_direction_output() 108 unsigned offset) in stmpe_gpio_direction_input() 118 static int stmpe_gpio_request(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_request() 145 int offset = d->hwirq; in stmpe_gpio_irq_set_type() local 233 int offset = d->hwirq; in stmpe_gpio_irq_mask() local 245 int offset = d->hwirq; in stmpe_gpio_irq_unmask() local 255 unsigned offset, unsigned gpio) in stmpe_dbg_show_one()
|
D | gpio-siox.c | 41 size_t offset; in gpio_siox_get_data() local 141 static int gpio_siox_get(struct gpio_chip *chip, unsigned int offset) in gpio_siox_get() 164 unsigned int offset, int value) in gpio_siox_set() 180 unsigned int offset) in gpio_siox_direction_input() 189 unsigned int offset, int value) in gpio_siox_direction_output() 198 static int gpio_siox_get_direction(struct gpio_chip *chip, unsigned int offset) in gpio_siox_get_direction()
|
D | gpio-rda.c | 44 static inline void rda_gpio_update(struct gpio_chip *chip, unsigned int offset, in rda_gpio_update() 69 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_mask() local 82 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_ack() local 87 static int rda_gpio_set_irq(struct gpio_chip *chip, u32 offset, in rda_gpio_set_irq() 154 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_unmask() local 164 u32 offset = irqd_to_hwirq(data); in rda_gpio_irq_set_type() local
|
D | gpio-em.c | 126 unsigned int reg, offset, shift; in em_gio_irq_set_type() local 171 unsigned int offset, irqs_handled = 0; in em_gio_irq_handler() local 188 static int em_gio_direction_input(struct gpio_chip *chip, unsigned offset) in em_gio_direction_input() 194 static int em_gio_get(struct gpio_chip *chip, unsigned offset) in em_gio_get() 207 static void em_gio_set(struct gpio_chip *chip, unsigned offset, int value) in em_gio_set() 216 static int em_gio_direction_output(struct gpio_chip *chip, unsigned offset, in em_gio_direction_output() 225 static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset) in em_gio_to_irq() 230 static void em_gio_free(struct gpio_chip *chip, unsigned offset) in em_gio_free()
|
/linux-6.8/drivers/gpu/drm/tegra/ |
D | firewall.c | 27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) in fw_check_addr_valid() 41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) in fw_check_reg() 66 static int fw_check_regs_seq(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_seq() 82 static int fw_check_regs_mask(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_mask() 96 static int fw_check_regs_imm(struct tegra_drm_firewall *fw, u32 offset) in fw_check_regs_imm() 161 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local
|
/linux-6.8/drivers/net/arcnet/ |
D | com90io.c | 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() 111 static void put_whole_buffer(struct net_device *dev, unsigned offset, in put_whole_buffer() 333 int offset, void *buf, int count) in com90io_copy_to_card() 340 int offset, void *buf, int count) in com90io_copy_from_card()
|
/linux-6.8/net/netfilter/ |
D | nft_set_pipapo_avx2.c | 101 int offset = start % BITS_PER_LONG; in nft_pipapo_avx2_fill() local 152 static int nft_pipapo_avx2_refill(int offset, unsigned long *map, in nft_pipapo_avx2_refill() 215 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_2() 277 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_4() 353 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_8() 448 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_12() 537 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_32() 672 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_1() 729 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_2() 793 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_4() [all …]
|
/linux-6.8/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 161 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg32() local 173 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg32() local 183 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg16() local 195 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg16() local 205 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg8() local 217 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg8() local 235 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg32() local 247 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg16() local 259 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg8() local 310 u32 offset = pmf_next32(cmd); in pmf_parser_read_cfg() local [all …]
|
/linux-6.8/drivers/pinctrl/bcm/ |
D | pinctrl-bcm2835.c | 324 static int bcm2835_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_direction_input() 332 static int bcm2835_gpio_get(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_get() 339 static int bcm2835_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in bcm2835_gpio_get_direction() 354 static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in bcm2835_gpio_set() 362 unsigned offset, int value) in bcm2835_gpio_direction_output() 421 unsigned offset; in bcm2835_gpio_irq_handle_bank() local 476 unsigned reg, unsigned offset, bool enable) in __bcm2835_gpio_irq_config() 490 unsigned offset, bool enable) in bcm2835_gpio_irq_config() 521 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_unmask() local 538 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_mask() local [all …]
|
/linux-6.8/drivers/mtd/maps/ |
D | tsunami_flash.c | 18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() 31 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() 44 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to()
|
/linux-6.8/arch/sparc/lib/ |
D | memset.S | 30 #define STORE(source, base, offset, n) \ argument 42 #define STORE_LAST(source, base, offset, n) \ argument 49 #define ZERO_BIG_BLOCK(base, offset, source) \ argument 59 #define ZERO_LAST_BLOCKS(base, offset, source) \ argument
|
/linux-6.8/drivers/gpu/drm/bridge/ |
D | sii9234.c | 194 static int sii9234_writeb(struct sii9234 *ctx, int id, int offset, in sii9234_writeb() 212 static int sii9234_writebm(struct sii9234 *ctx, int id, int offset, in sii9234_writebm() 249 static int sii9234_readb(struct sii9234 *ctx, int id, int offset) in sii9234_readb() 284 #define mhl_tx_writeb(sii9234, offset, value) \ argument 286 #define mhl_tx_writebm(sii9234, offset, value, mask) \ argument 288 #define mhl_tx_readb(sii9234, offset) \ argument 290 #define cbus_writeb(sii9234, offset, value) \ argument 292 #define cbus_writebm(sii9234, offset, value, mask) \ argument 294 #define cbus_readb(sii9234, offset) \ argument 296 #define hdmi_writeb(sii9234, offset, value) \ argument [all …]
|
/linux-6.8/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 97 unsigned offset, bool *bit) in abx500_gpio_get_bit() 120 unsigned offset, int val) in abx500_gpio_set_bits() 141 static int abx500_gpio_get(struct gpio_chip *chip, unsigned offset) in abx500_gpio_get() 169 static void abx500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in abx500_gpio_set() 180 unsigned offset, in abx500_gpio_direction_output() 210 static int abx500_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in abx500_gpio_direction_input() 219 static int abx500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in abx500_gpio_to_irq() 253 unsigned offset; in abx500_set_mode() local 377 unsigned offset = gpio - 1; in abx500_get_mode() local 455 unsigned offset, unsigned gpio) in abx500_gpio_dbg_show_one() [all …]
|
/linux-6.8/arch/s390/pci/ |
D | pci_insn.c | 28 u64 offset; member 38 u64 req, u64 offset) in zpci_err_insn_req() 156 static inline int ____pcilg(u64 *data, u64 req, u64 offset, u8 *status) in ____pcilg() 175 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg() 187 int __zpci_load(u64 *data, u64 req, u64 offset) in __zpci_load() 258 static inline int __pcistg(u64 data, u64 req, u64 offset, u8 *status) in __pcistg() 276 int __zpci_store(u64 data, u64 req, u64 offset) in __zpci_store() 346 static inline int __pcistb(const u64 *data, u64 req, u64 offset, u8 *status) in __pcistb() 363 int __zpci_store_block(const u64 *data, u64 req, u64 offset) in __zpci_store_block() 394 u64 offset = ZPCI_OFFSET(dst); in zpci_write_block_fh() local
|
/linux-6.8/arch/loongarch/include/asm/ |
D | io.h | 30 static inline void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, in ioremap_prot() 39 #define ioremap(offset, size) \ argument 55 #define ioremap_wc(offset, size) \ argument 59 #define ioremap_cache(offset, size) \ argument
|
/linux-6.8/kernel/ |
D | context_tracking.c | 81 static noinstr void ct_kernel_exit_state(int offset) in ct_kernel_exit_state() 101 static noinstr void ct_kernel_enter_state(int offset) in ct_kernel_enter_state() 124 static void noinstr ct_kernel_exit(bool user, int offset) in ct_kernel_exit() 163 static void noinstr ct_kernel_enter(bool user, int offset) in ct_kernel_enter() 426 static __always_inline void ct_kernel_exit(bool user, int offset) { } in ct_kernel_exit() 427 static __always_inline void ct_kernel_enter(bool user, int offset) { } in ct_kernel_enter()
|
/linux-6.8/fs/udf/ |
D | partition.c | 26 uint16_t partition, uint32_t offset) in udf_get_pblock() 43 uint16_t partition, uint32_t offset) in udf_get_pblock_virt15() 102 uint16_t partition, uint32_t offset) in udf_get_pblock_virt20() 108 uint16_t partition, uint32_t offset) in udf_get_pblock_spar15() 276 uint16_t partition, uint32_t offset) in udf_try_read_meta() 302 uint16_t partition, uint32_t offset) in udf_get_pblock_meta25()
|
/linux-6.8/fs/squashfs/ |
D | file.c | 48 static struct meta_index *locate_meta_index(struct inode *inode, int offset, in locate_meta_index() 87 static struct meta_index *empty_meta_index(struct inode *inode, int offset, in empty_meta_index() 162 u64 *start_block, int *offset) in read_indexes() 233 int offset = 0; in fill_meta_index() local 331 int offset; in read_blocklist() local 365 void squashfs_fill_page(struct page *page, struct squashfs_cache_entry *buffer, int offset, int ava… in squashfs_fill_page() 384 int bytes, int offset) in squashfs_copy_cache() 518 unsigned int offset = base + squashfs_i(inode)->fragment_offset; in squashfs_readahead_fragment() local
|