/linux/arch/powerpc/platforms/pasemi/ |
H A D | pci.c | 28 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid() 41 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr() 59 int offset, int len, u32 *val) in workaround_5945() 157 int offset, int len, u32 *val) in pa_pxp_read_config() 196 int offset, int len, u32 val) in pa_pxp_write_config() 287 void __iomem *__init pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) in pasemi_pci_getcfgaddr()
|
/linux/drivers/gpio/ |
H A D | gpio-amd8111.c | 76 static int amd_gpio_request(struct gpio_chip *chip, unsigned offset) in amd_gpio_request() 88 static void amd_gpio_free(struct gpio_chip *chip, unsigned offset) in amd_gpio_free() 97 static int amd_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in amd_gpio_set() 114 static int amd_gpio_get(struct gpio_chip *chip, unsigned offset) in amd_gpio_get() 126 static int amd_gpio_dirout(struct gpio_chip *chip, unsigned offset, int value) in amd_gpio_dirout() 143 static int amd_gpio_dirin(struct gpio_chip *chip, unsigned offset) in amd_gpio_dirin()
|
H A D | gpio-reg.c | 33 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction() 41 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output() 53 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input() 60 static int gpio_reg_set(struct gpio_chip *gc, unsigned int offset, int value) in gpio_reg_set() 79 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get() 111 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq()
|
H A D | gpio-madera.c | 24 unsigned int offset) in madera_gpio_get_direction() 43 static int madera_gpio_direction_in(struct gpio_chip *chip, unsigned int offset) in madera_gpio_direction_in() 54 static int madera_gpio_get(struct gpio_chip *chip, unsigned int offset) in madera_gpio_get() 71 unsigned int offset, int value) in madera_gpio_direction_out() 90 static int madera_gpio_set(struct gpio_chip *chip, unsigned int offset, in madera_gpio_set()
|
H A 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 int xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set() 77 static int xgene_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get_direction() 91 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in() 112 unsigned int offset, int val) in xgene_gpio_dir_out()
|
H A D | gpio-syscon.c | 55 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get() 71 static int syscon_gpio_set(struct gpio_chip *chip, unsigned int 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() 128 static int rockchip_gpio_set(struct gpio_chip *chip, unsigned int offset, in rockchip_gpio_set() 159 static int keystone_gpio_set(struct gpio_chip *chip, unsigned int offset, in keystone_gpio_set()
|
H A 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() 182 unsigned int offset) in gpio_siox_direction_input() 191 unsigned int offset, int value) in gpio_siox_direction_output() 199 static int gpio_siox_get_direction(struct gpio_chip *chip, unsigned int offset) in gpio_siox_get_direction()
|
H A 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 int gw_pld_set8(struct gpio_chip *gc, unsigned int offset, int value) in gw_pld_set8()
|
H A 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 int em_gio_set(struct gpio_chip *chip, unsigned int offset, int value) in em_gio_set() 218 static int em_gio_direction_output(struct gpio_chip *chip, unsigned offset, in em_gio_direction_output() 227 static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset) in em_gio_to_irq() 232 static void em_gio_free(struct gpio_chip *chip, unsigned offset) in em_gio_free()
|
H A D | gpio-max77759.c | 112 max77759_gpio_direction_from_control(int ctrl, unsigned int offset) in max77759_gpio_direction_from_control() 123 unsigned int offset) in max77759_gpio_get_direction() 136 unsigned int offset, in max77759_gpio_direction_helper() 164 unsigned int offset) in max77759_gpio_direction_input() 171 unsigned int offset, int value) in max77759_gpio_direction_output() 177 static int max77759_gpio_get_value(struct gpio_chip *gc, unsigned int offset) in max77759_gpio_get_value() 200 unsigned int offset, int value) in max77759_gpio_set_value() 287 int offset; in max77759_gpio_bus_sync_unlock_helper() local 390 int offset; in max77759_gpio_irqhandler() local
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A 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/arch/powerpc/platforms/powermac/ |
H A 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/arch/sparc/lib/ |
H A 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/arch/m68k/mac/ |
H A 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() 480 unsigned long offset = phys-virt; in mac_reset() local 547 static void unmktime(time64_t time, long offset, in unmktime()
|
/linux/kernel/trace/ |
H A D | fgraph.c | 163 #define RET_STACK(t, offset) ((struct ftrace_ret_stack *)(&(t)->ret_stack[offset])) argument 249 static inline unsigned long get_fgraph_entry(struct task_struct *t, int offset) in get_fgraph_entry() 255 static inline int get_frame_offset(struct task_struct *t, int offset) in get_frame_offset() 262 get_bitmap_bits(struct task_struct *t, int offset) in get_bitmap_bits() 269 set_bitmap(struct task_struct *t, int offset, unsigned long bitmap) in set_bitmap() 276 static inline void *get_data_type_data(struct task_struct *t, int offset) in get_data_type_data() 287 static inline unsigned long make_data_type_val(int idx, int size, int offset) in make_data_type_val() 434 get_ret_stack(struct task_struct *t, int offset, int *frame_offset) in get_ret_stack() 467 int offset = current->curr_ret_stack; in fgraph_retrieve_parent_data() local 568 int offset; in ftrace_push_return_trace() local [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | uprobe_syscall.c | 116 unsigned long offset; in test_uprobe_regs_equal() local 142 unsigned int offset = i * sizeof(unsigned long); in test_uprobe_regs_equal() local 193 write_bpf_testmod_uprobe(unsigned long offset) write_bpf_testmod_uprobe() argument 216 unsigned int i, err, offset; test_regs_change() local 234 unsigned int offset = i * sizeof(unsigned long); test_regs_change() local 455 unsigned long offset; test_uprobe_legacy() local 494 unsigned long offset; test_uprobe_multi() local 538 unsigned long offset; test_uprobe_session() local 672 unsigned long rounds = 0, offset; worker_attach() local [all...] |
/linux/drivers/gpu/drm/tegra/ |
H A 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/drivers/net/arcnet/ |
H A 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/arch/s390/pci/ |
H A D | pci_insn.c | 29 u64 offset; member 39 u64 req, u64 offset) in zpci_err_insn_req() 156 static inline int ____pcilg(u64 *data, u64 req, u64 offset, u8 *status) in ____pcilg() 178 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg() 190 int __zpci_load(u64 *data, u64 req, u64 offset) in __zpci_load() 264 static inline int __pcistg(u64 data, u64 req, u64 offset, u8 *status) in __pcistg() 283 int __zpci_store(u64 data, u64 req, u64 offset) in __zpci_store() 354 static inline int __pcistb(const u64 *data, u64 req, u64 offset, u8 *status) in __pcistb() 372 int __zpci_store_block(const u64 *data, u64 req, u64 offset) in __zpci_store_block() 403 u64 offset = ZPCI_OFFSET(dst); in zpci_write_block_fh() local
|
/linux/fs/btrfs/ |
H A D | free-space-cache.c | 84 u64 offset) in __lookup_free_space_inode() 169 u64 ino, u64 offset) in __create_free_space_inode() 538 unsigned offset = 0; in io_ctl_set_crc() local 555 unsigned offset = 0; in io_ctl_check_crc() local 577 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() 735 struct btrfs_path *path, u64 offset) in __load_free_space_cache() 908 const u64 offset = info->offset; in copy_free_space_cache() local 917 u64 offset = info->offset; in copy_free_space_cache() local 1148 struct btrfs_path *path, u64 offset, in update_cache_item() 1298 struct btrfs_path *path, u64 offset) in __btrfs_wait_cache_io() [all …]
|
/linux/drivers/infiniband/core/ |
H A D | umem_dmabuf.c | 46 unsigned long offset = start - cur; in ib_umem_dmabuf_map_pages() local 119 unsigned long offset, size_t size, in ib_umem_dmabuf_get_with_dma_device() 178 unsigned long offset, size_t size, in ib_umem_dmabuf_get() 204 unsigned long offset, size_t size, in ib_umem_dmabuf_get_pinned_with_dma_device() 239 unsigned long offset, in ib_umem_dmabuf_get_pinned()
|
/linux/drivers/mtd/maps/ |
H A 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/drivers/net/ethernet/hisilicon/hibmcge/ |
H A D | hbg_ethtool.c | 14 unsigned long offset; member 152 u32 offset; member 156 #define HBG_DUMP_SPEC_I(offset) {HBG_DUMP_REG_TYPE_SPEC, offset, 0} argument 157 #define HBG_DUMP_MDIO_I(offset) {HBG_DUMP_REG_TYPE_MDIO, offset, 0} argument 158 #define HBG_DUMP_GMAC_I(offset) {HBG_DUMP_REG_TYPE_GMAC, offset, 0} argument 159 #define HBG_DUMP_PCU_I(offset) {HBG_DUMP_REG_TYPE_PCU, offset, 0} argument 265 u32 i, offset = 0; in hbg_ethtool_get_regs() local
|
/linux/drivers/clk/bcm/ |
H A D | clk-iproc.h | 92 unsigned int offset; member 101 unsigned int offset; member 111 unsigned int offset; member 121 unsigned int offset; member 130 unsigned int offset; member 143 unsigned int offset; member 174 unsigned int offset; member 194 unsigned int offset; member
|
/linux/include/linux/ |
H A D | highmem.h | 428 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page() 439 size_t offset, size_t len) in memcpy_from_page() 448 static inline void memcpy_to_page(struct page *page, size_t offset, in memcpy_to_page() 459 static inline void memzero_page(struct page *page, size_t offset, size_t len) in memzero_page() 477 size_t offset, size_t len) in memcpy_from_folio() 504 static inline void memcpy_to_folio(struct folio *folio, size_t offset, in memcpy_to_folio() 542 size_t offset, void *kaddr) in folio_zero_tail() 577 static inline void folio_fill_tail(struct folio *folio, size_t offset, in folio_fill_tail() 618 size_t offset = offset_in_folio(folio, pos); in memcpy_from_file_folio() local
|