Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 200 of 4067) sorted by relevance

12345678910>>...21

/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pexp-defs.h31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument
43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument
44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument
45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument
46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument
68 #define CVMX_PEXP_NPEI_MEM_ACCESS_SUBIDX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008280ull) + ((offset… argument
92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument
93 #define CVMX_PEXP_NPEI_PKTX_INSTR_BADDR(offset) (CVMX_ADD_IO_SEG(0x00011F000000A800ull) + ((offset)… argument
94 #define CVMX_PEXP_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F000000AC00ull) + ((o… argument
95 #define CVMX_PEXP_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (CVMX_ADD_IO_SEG(0x00011F000000B000ull) + ((of… argument
[all …]
Dcvmx-asm.h93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument
101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument
117 #define CVMX_CACHE(op, address, offset) \ argument
121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) argument
123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) argument
125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset) argument
127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset) argument
Dcvmx-address.h111 uint64_t offset:62; member
117 uint64_t offset:31; member
124 uint64_t offset:29; member
150 uint64_t offset:36; member
159 uint64_t offset:36; member
175 uint64_t offset:36; member
208 uint64_t offset:62; member
213 uint64_t offset:31; member
218 uint64_t offset:29; member
231 uint64_t offset:36; member
[all …]
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha1_mb_mgr_flush_avx2.S109 offset = \_offset define
134 offset = (_ldata + 1 * _LANE_DATA_size + _job_in_lane) define
137 offset = (_ldata + 2 * _LANE_DATA_size + _job_in_lane) define
140 offset = (_ldata + 3 * _LANE_DATA_size + _job_in_lane) define
143 offset = (_ldata + 4 * _LANE_DATA_size + _job_in_lane) define
146 offset = (_ldata + 5 * _LANE_DATA_size + _job_in_lane) define
149 offset = (_ldata + 6 * _LANE_DATA_size + _job_in_lane) define
152 offset = (_ldata + 7 * _LANE_DATA_size + _job_in_lane) define
158 offset = (_args + _data_ptr) define
163 offset = (_ldata + I * _LANE_DATA_size + _job_in_lane) define
[all …]
/linux-4.4.14/drivers/gpu/host1x/hw/
Dhost1x02_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass()
94 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr()
99 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr()
104 static inline u32 host1x_opcode_mask(unsigned offset, unsigned mask) in host1x_opcode_mask()
109 static inline u32 host1x_opcode_imm(unsigned offset, unsigned value) in host1x_opcode_imm()
130 static inline u32 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) in host1x_opcode_gather_nonincr()
[all …]
Dhost1x04_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read()
89 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass()
94 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr()
99 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr()
104 static inline u32 host1x_opcode_mask(unsigned offset, unsigned mask) in host1x_opcode_mask()
109 static inline u32 host1x_opcode_imm(unsigned offset, unsigned value) in host1x_opcode_imm()
130 static inline u32 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) in host1x_opcode_gather_nonincr()
[all …]
Dhost1x01_hardware.h44 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base()
52 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base()
66 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write()
77 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read()
90 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass()
95 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr()
100 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr()
105 static inline u32 host1x_opcode_mask(unsigned offset, unsigned mask) in host1x_opcode_mask()
110 static inline u32 host1x_opcode_imm(unsigned offset, unsigned value) in host1x_opcode_imm()
131 static inline u32 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) in host1x_opcode_gather_nonincr()
[all …]
/linux-4.4.14/arch/mips/boot/compressed/
Duart-16550.c12 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) argument
17 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) argument
22 #define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset)) argument
27 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) argument
33 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) argument
45 static inline unsigned int serial_in(int offset) in serial_in()
50 static inline void serial_out(int offset, int value) in serial_out()
/linux-4.4.14/virt/kvm/arm/
Dvgic-v3-emul.c53 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_rao_wi()
64 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_ctlr()
94 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_typer()
109 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_iidr()
122 phys_addr_t offset) in handle_mmio_set_enable_reg_dist()
136 phys_addr_t offset) in handle_mmio_clear_enable_reg_dist()
150 phys_addr_t offset) in handle_mmio_set_pending_reg_dist()
163 phys_addr_t offset) in handle_mmio_clear_pending_reg_dist()
176 phys_addr_t offset) in handle_mmio_set_active_reg_dist()
189 phys_addr_t offset) in handle_mmio_clear_active_reg_dist()
[all …]
Dvgic-v2-emul.c44 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_misc()
80 phys_addr_t offset) in handle_mmio_set_enable_reg()
88 phys_addr_t offset) in handle_mmio_clear_enable_reg()
96 phys_addr_t offset) in handle_mmio_set_pending_reg()
104 phys_addr_t offset) in handle_mmio_clear_pending_reg()
112 phys_addr_t offset) in handle_mmio_set_active_reg()
120 phys_addr_t offset) in handle_mmio_clear_active_reg()
128 phys_addr_t offset) in handle_mmio_priority_reg()
187 phys_addr_t offset) in handle_mmio_target_reg()
217 struct kvm_exit_mmio *mmio, phys_addr_t offset) in handle_mmio_cfg_reg()
[all …]
/linux-4.4.14/arch/mips/alchemy/common/
Dgpiolib.c41 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
46 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
51 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
56 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
63 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
69 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
75 unsigned offset, int value) in gpio1_set()
80 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
86 unsigned offset, int value) in gpio1_direction_output()
92 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
/linux-4.4.14/include/drm/
Ddrm_os_linux.h26 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument
28 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument
30 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument
32 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument
34 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument
36 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument
39 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument
41 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
/linux-4.4.14/arch/x86/include/asm/numachip/
Dnumachip_csr.h39 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-4.4.14/drivers/ssb/
Ddriver_gige.c32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) in gige_read8()
37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) in gige_read16()
42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) in gige_read32()
48 u16 offset, u8 value) in gige_write8()
54 u16 offset, u16 value) in gige_write16()
60 u16 offset, u32 value) in gige_write32()
66 u8 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read8()
73 u16 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read16()
80 u32 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read32()
88 unsigned int offset, u8 value) in gige_pcicfg_write8()
[all …]
Dhost_soc.c15 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) in ssb_host_soc_read8()
23 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) in ssb_host_soc_read16()
31 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) in ssb_host_soc_read32()
41 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_read()
88 static void ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_host_soc_write8()
96 static void ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_host_soc_write16()
104 static void ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_host_soc_write32()
114 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_write()
Dsdio.c167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32()
229 static u8 ssb_sdio_read8(struct ssb_device *dev, u16 offset) in ssb_sdio_read8()
251 static u16 ssb_sdio_read16(struct ssb_device *dev, u16 offset) in ssb_sdio_read16()
273 static u32 ssb_sdio_read32(struct ssb_device *dev, u16 offset) in ssb_sdio_read32()
298 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_read()
343 static void ssb_sdio_write8(struct ssb_device *dev, u16 offset, u8 val) in ssb_sdio_write8()
362 static void ssb_sdio_write16(struct ssb_device *dev, u16 offset, u16 val) in ssb_sdio_write16()
381 static void ssb_sdio_write32(struct ssb_device *dev, u16 offset, u32 val) in ssb_sdio_write32()
405 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_write()
Dpcmcia.c71 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()
198 u16 *offset) in select_core_and_segment()
224 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8()
240 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16()
256 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32()
276 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read()
332 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8()
346 static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pcmcia_write16()
360 static void ssb_pcmcia_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pcmcia_write32()
[all …]
Dpci.c170 #define SPOFF(offset) ((offset) / sizeof(u16)) argument
329 static s8 sprom_extract_antgain(u8 sprom_revision, const u16 *in, u16 offset, in sprom_extract_antgain()
971 static u8 ssb_pci_read8(struct ssb_device *dev, u16 offset) in ssb_pci_read8()
984 static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset) in ssb_pci_read16()
997 static u32 ssb_pci_read32(struct ssb_device *dev, u16 offset) in ssb_pci_read32()
1012 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_read()
1045 static void ssb_pci_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pci_write8()
1058 static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pci_write16()
1071 static void ssb_pci_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pci_write32()
1086 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_write()
/linux-4.4.14/include/linux/
Drio_drv.h58 static inline int rio_local_read_config_32(struct rio_mport *port, u32 offset, in rio_local_read_config_32()
73 static inline int rio_local_write_config_32(struct rio_mport *port, u32 offset, in rio_local_write_config_32()
88 static inline int rio_local_read_config_16(struct rio_mport *port, u32 offset, in rio_local_read_config_16()
104 static inline int rio_local_write_config_16(struct rio_mport *port, u32 offset, in rio_local_write_config_16()
119 static inline int rio_local_read_config_8(struct rio_mport *port, u32 offset, in rio_local_read_config_8()
134 static inline int rio_local_write_config_8(struct rio_mport *port, u32 offset, in rio_local_write_config_8()
149 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset, in rio_read_config_32()
165 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32()
181 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16()
197 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16()
[all …]
Dvirtio_config.h309 unsigned int offset, in __virtio_cread_many()
329 unsigned int offset, in virtio_cread_bytes()
335 static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) in virtio_cread8()
343 unsigned int offset, u8 val) in virtio_cwrite8()
349 unsigned int offset) in virtio_cread16()
357 unsigned int offset, u16 val) in virtio_cwrite16()
364 unsigned int offset) in virtio_cread32()
372 unsigned int offset, u32 val) in virtio_cwrite32()
379 unsigned int offset) in virtio_cread64()
387 unsigned int offset, u64 val) in virtio_cwrite64()
Dio-mapping.h85 unsigned long offset) in io_mapping_map_atomic_wc()
103 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_wc()
142 unsigned long offset) in io_mapping_map_atomic_wc()
158 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_wc()
Dfutex.h39 int offset; member
44 int offset; member
49 int offset; member
/linux-4.4.14/drivers/xen/xen-pciback/
Dconf_space_header.c32 static void *command_init(struct pci_dev *dev, int offset) in command_init()
49 static int command_read(struct pci_dev *dev, int offset, u16 *value, void *data) in command_read()
60 static int command_write(struct pci_dev *dev, int offset, u16 value, void *data) in command_write()
135 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write()
169 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write()
197 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read()
213 struct pci_bar_info *bar_info, int offset, in read_dev_bar()
238 static void *bar_init(struct pci_dev *dev, int offset) in bar_init()
251 static void *rom_init(struct pci_dev *dev, int offset) in rom_init()
264 static void bar_reset(struct pci_dev *dev, int offset, void *data) in bar_reset()
[all …]
Dconf_space_capability.c67 static int vpd_address_write(struct pci_dev *dev, int offset, u16 value, in vpd_address_write()
93 static int pm_caps_read(struct pci_dev *dev, int offset, u16 *value, in pm_caps_read()
113 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write()
148 static void *pm_ctrl_init(struct pci_dev *dev, int offset) in pm_ctrl_init()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dhipz_fns.h50 #define hipz_galpa_store_eq(gal, offset, value) \ argument
53 #define hipz_galpa_load_eq(gal, offset) \ argument
56 #define hipz_galpa_store_qped(gal, offset, value) \ argument
59 #define hipz_galpa_load_qped(gal, offset) \ argument
62 #define hipz_galpa_store_mrmw(gal, offset, value) \ argument
65 #define hipz_galpa_load_mrmw(gal, offset) \ argument
Dhipz_fns_core.h50 #define hipz_galpa_store_cq(gal, offset, value) \ argument
53 #define hipz_galpa_load_cq(gal, offset) \ argument
56 #define hipz_galpa_store_qp(gal, offset, value) \ argument
58 #define hipz_galpa_load_qp(gal, offset) \ argument
/linux-4.4.14/drivers/net/wireless/b43/
Dbus.c57 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16()
61 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32()
66 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16()
71 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32()
77 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_read()
83 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_write()
163 static u16 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read16()
167 static u32 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read32()
171 static void b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_ssb_write16()
175 static void b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_ssb_write32()
[all …]
Dtables.c379 u16 b43_ofdmtab_read16(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read16()
400 u16 offset, u16 value) in b43_ofdmtab_write16()
416 u32 b43_ofdmtab_read32(struct b43_wldev *dev, u16 table, u16 offset) in b43_ofdmtab_read32()
438 u16 offset, u32 value) in b43_ofdmtab_write32()
456 u16 b43_gtab_read(struct b43_wldev *dev, u16 table, u16 offset) in b43_gtab_read()
462 void b43_gtab_write(struct b43_wldev *dev, u16 table, u16 offset, u16 value) in b43_gtab_write()
Dtables_lpphy.c34 u16 offset; member
594 u32 b43_lptab_read(struct b43_wldev *dev, u32 offset) in b43_lptab_read()
625 void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_read_bulk()
660 void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lptab_write()
689 void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lptab_write_bulk()
2355 static void lpphy_rev0_1_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev0_1_write_gain_table()
2371 static void lpphy_rev2plus_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_rev2plus_write_gain_table()
2398 void lpphy_write_gain_table(struct b43_wldev *dev, int offset, in lpphy_write_gain_table()
2407 void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count, in lpphy_write_gain_table_bulk()
Dpio.h108 static inline u16 b43_piotx_read16(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read16()
113 static inline u32 b43_piotx_read32(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read32()
119 u16 offset, u16 value) in b43_piotx_write16()
125 u16 offset, u32 value) in b43_piotx_write32()
131 static inline u16 b43_piorx_read16(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read16()
136 static inline u32 b43_piorx_read32(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read32()
142 u16 offset, u16 value) in b43_piorx_write16()
148 u16 offset, u32 value) in b43_piorx_write32()
Dtables_phy_ht.c619 u32 b43_httab_read(struct b43_wldev *dev, u32 offset) in b43_httab_read()
650 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_read_bulk()
685 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_httab_write()
715 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...) in b43_httab_write_few()
760 void b43_httab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_write_bulk()
804 #define httab_upload(dev, offset, data) do { \ argument
Dtables_phy_ht.h9 #define B43_HTTAB8(table, offset) (((table) << 10) | (offset) | B43_HTTAB_8BIT) argument
10 #define B43_HTTAB16(table, offset) (((table) << 10) | (offset) | B43_HTTAB_16BIT) argument
11 #define B43_HTTAB32(table, offset) (((table) << 10) | (offset) | B43_HTTAB_32BIT) argument
Dtables_phy_lcn.h9 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) argument
10 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) argument
11 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) argument
Dtables_lpphy.h9 #define B43_LPTAB8(table, offset) (((table) << 10) | (offset) | B43_LPTAB_8BIT) argument
10 #define B43_LPTAB16(table, offset) (((table) << 10) | (offset) | B43_LPTAB_16BIT) argument
11 #define B43_LPTAB32(table, offset) (((table) << 10) | (offset) | B43_LPTAB_32BIT) argument
Dtables_phy_lcn.c470 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset) in b43_lcntab_read()
500 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_read_bulk()
538 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lcntab_write()
568 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_write_bulk()
613 #define lcntab_upload(dev, offset, data) do { \ argument
Dphy_common.c246 void b43_radio_mask(struct b43_wldev *dev, u16 offset, u16 mask) in b43_radio_mask()
252 void b43_radio_set(struct b43_wldev *dev, u16 offset, u16 set) in b43_radio_set()
258 void b43_radio_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) in b43_radio_maskset()
264 bool b43_radio_wait_value(struct b43_wldev *dev, u16 offset, u16 mask, in b43_radio_wait_value()
312 void b43_phy_mask(struct b43_wldev *dev, u16 offset, u16 mask) in b43_phy_mask()
323 void b43_phy_set(struct b43_wldev *dev, u16 offset, u16 set) in b43_phy_set()
334 void b43_phy_maskset(struct b43_wldev *dev, u16 offset, u16 mask, u16 set) in b43_phy_maskset()
/linux-4.4.14/drivers/bcma/
Dhost_soc.c16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) in bcma_host_soc_read8()
21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset) in bcma_host_soc_read16()
26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset) in bcma_host_soc_read32()
31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset, in bcma_host_soc_write8()
37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset, in bcma_host_soc_write16()
43 static void bcma_host_soc_write32(struct bcma_device *core, u16 offset, in bcma_host_soc_write32()
51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read()
95 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_write()
138 static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset) in bcma_host_soc_aread32()
145 static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset, in bcma_host_soc_awrite32()
Dhost_pci.c42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset) in bcma_host_pci_read8()
48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset) in bcma_host_pci_read16()
54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset) in bcma_host_pci_read32()
60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset, in bcma_host_pci_write8()
67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset, in bcma_host_pci_write16()
74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset, in bcma_host_pci_write32()
83 size_t count, u16 offset, u8 reg_width) in bcma_host_pci_block_read()
107 u16 offset, u8 reg_width) in bcma_host_pci_block_write()
130 static u32 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) in bcma_host_pci_aread32()
137 static void bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, in bcma_host_pci_awrite32()
Ddriver_chipcommon_pmu.c16 u32 bcma_chipco_pll_read(struct bcma_drv_cc *cc, u32 offset) in bcma_chipco_pll_read()
24 void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, u32 value) in bcma_chipco_pll_write()
32 void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, in bcma_chipco_pll_maskset()
42 u32 offset, u32 mask, u32 set) in bcma_chipco_chipctl_maskset()
50 void bcma_chipco_regctl_maskset(struct bcma_drv_cc *cc, u32 offset, u32 mask, in bcma_chipco_regctl_maskset()
472 static void bcma_pmu_spuravoid_pll_write(struct bcma_drv_cc *cc, u32 offset, in bcma_pmu_spuravoid_pll_write()
/linux-4.4.14/sound/soc/intel/common/
Dsst-dsp.c32 void sst_shim32_write(void __iomem *addr, u32 offset, u32 value) in sst_shim32_write()
38 u32 sst_shim32_read(void __iomem *addr, u32 offset) in sst_shim32_read()
44 void sst_shim32_write64(void __iomem *addr, u32 offset, u64 value) in sst_shim32_write64()
50 u64 sst_shim32_read64(void __iomem *addr, u32 offset) in sst_shim32_read64()
92 void sst_dsp_shim_write(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write()
102 u32 sst_dsp_shim_read(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read()
115 void sst_dsp_shim_write64(struct sst_dsp *sst, u32 offset, u64 value) in sst_dsp_shim_write64()
125 u64 sst_dsp_shim_read64(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read64()
138 void sst_dsp_shim_write_unlocked(struct sst_dsp *sst, u32 offset, u32 value) in sst_dsp_shim_write_unlocked()
144 u32 sst_dsp_shim_read_unlocked(struct sst_dsp *sst, u32 offset) in sst_dsp_shim_read_unlocked()
[all …]
/linux-4.4.14/drivers/oprofile/
Doprofile_files.c31 size_t count, loff_t *offset) in timeout_read()
39 size_t count, loff_t *offset) in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
/linux-4.4.14/drivers/gpio/
Dgpio-cs5535.c82 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set()
93 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set()
104 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear()
115 void cs5535_gpio_clear(unsigned offset, unsigned int reg) in cs5535_gpio_clear()
126 int cs5535_gpio_isset(unsigned offset, unsigned int reg) in cs5535_gpio_isset()
164 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event()
202 static int chip_gpio_request(struct gpio_chip *c, unsigned offset) in chip_gpio_request()
230 static int chip_gpio_get(struct gpio_chip *chip, unsigned offset) in chip_gpio_get()
235 static void chip_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in chip_gpio_set()
243 static int chip_direction_input(struct gpio_chip *c, unsigned offset) in chip_direction_input()
[all …]
Dgpio-tz1090.c108 unsigned int offset) in _tz1090_gpio_clear_bit()
119 unsigned int offset) in tz1090_gpio_clear_bit()
131 unsigned int offset) in _tz1090_gpio_set_bit()
142 unsigned int offset) in tz1090_gpio_set_bit()
154 unsigned int offset, in _tz1090_gpio_mod_bit()
168 unsigned int offset, in tz1090_gpio_mod_bit()
180 unsigned int offset) in tz1090_gpio_read_bit()
188 unsigned int offset) in tz1090_gpio_direction_input()
197 unsigned int offset, int output_value) in tz1090_gpio_direction_output()
213 static int tz1090_gpio_get(struct gpio_chip *chip, unsigned int offset) in tz1090_gpio_get()
[all …]
Dgpio-lp3943.c53 static int lp3943_gpio_request(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_request()
65 static void lp3943_gpio_free(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_free()
73 static int lp3943_gpio_set_mode(struct lp3943_gpio *lp3943_gpio, u8 offset, in lp3943_gpio_set_mode()
83 static int lp3943_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_direction_input()
93 struct gpio_chip *chip, unsigned offset) in lp3943_get_gpio_in_status()
118 struct gpio_chip *chip, unsigned offset) in lp3943_get_gpio_out_status()
139 static int lp3943_gpio_get(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_get()
158 static void lp3943_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in lp3943_gpio_set()
171 static int lp3943_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in lp3943_gpio_direction_output()
Dgpio-max730x.c51 static int max7301_direction_input(struct gpio_chip *chip, unsigned offset) in max7301_direction_input()
81 static int __max7301_set(struct max7301 *ts, unsigned offset, int value) in __max7301_set()
92 static int max7301_direction_output(struct gpio_chip *chip, unsigned offset, in max7301_direction_output()
121 static int max7301_get(struct gpio_chip *chip, unsigned offset) in max7301_get()
149 static void max7301_set(struct gpio_chip *chip, unsigned offset, int value) in max7301_set()
209 int offset = (i - 1) * 4 + j; in __max730x_probe() local
Dgpio-xtensa.c76 static int xtensa_impwire_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_direction()
81 static int xtensa_impwire_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_impwire_get_value()
93 static void xtensa_impwire_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_impwire_set_value()
99 static int xtensa_expstate_get_direction(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_direction()
104 static int xtensa_expstate_get_value(struct gpio_chip *gc, unsigned offset) in xtensa_expstate_get_value()
116 static void xtensa_expstate_set_value(struct gpio_chip *gc, unsigned offset, in xtensa_expstate_set_value()
Dgpio-omap.c89 #define LINE_USED(line, offset) (line & (BIT(offset))) argument
117 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
135 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
151 static int omap_get_gpio_datain(struct gpio_bank *bank, int offset) in omap_get_gpio_datain()
158 static int omap_get_gpio_dataout(struct gpio_bank *bank, int offset) in omap_get_gpio_dataout()
213 static void omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
271 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
424 static void omap_enable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_enable_gpio_module()
445 static void omap_disable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_disable_gpio_module()
470 static int omap_gpio_is_input(struct gpio_bank *bank, unsigned offset) in omap_gpio_is_input()
[all …]
Dgpio-rc5t583.c42 static int rc5t583_gpio_get(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_get()
56 static void rc5t583_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in rc5t583_gpio_set()
66 static int rc5t583_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in rc5t583_gpio_dir_input()
80 static int rc5t583_gpio_dir_output(struct gpio_chip *gc, unsigned offset, in rc5t583_gpio_dir_output()
96 static int rc5t583_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_to_irq()
106 static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) in rc5t583_gpio_free()
Dgpio-spear-spics.c58 static int spics_get_value(struct gpio_chip *chip, unsigned offset) in spics_get_value()
63 static void spics_set_value(struct gpio_chip *chip, unsigned offset, int value) in spics_set_value()
83 static int spics_direction_input(struct gpio_chip *chip, unsigned offset) in spics_direction_input()
88 static int spics_direction_output(struct gpio_chip *chip, unsigned offset, in spics_direction_output()
95 static int spics_request(struct gpio_chip *chip, unsigned offset) in spics_request()
111 static void spics_free(struct gpio_chip *chip, unsigned offset) in spics_free()
Dgpio-da9055.c27 #define DA9055_PORT_SHIFT(offset) (4 * (offset % 2)) argument
43 static int da9055_gpio_get(struct gpio_chip *gc, unsigned offset) in da9055_gpio_get()
72 static void da9055_gpio_set(struct gpio_chip *gc, unsigned offset, int value) in da9055_gpio_set()
82 static int da9055_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9055_gpio_direction_input()
98 unsigned offset, int value) in da9055_gpio_direction_output()
120 static int da9055_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9055_gpio_to_irq()
Dgpio-octeon.c25 static unsigned int bit_cfg_reg(unsigned int offset) in bit_cfg_reg()
42 static int octeon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in octeon_gpio_dir_in()
50 static void octeon_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in octeon_gpio_set()
58 static int octeon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, in octeon_gpio_dir_out()
73 static int octeon_gpio_get(struct gpio_chip *chip, unsigned offset) in octeon_gpio_get()
Dgpio-samsung.c431 static int samsung_gpiolib_2bit_input(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_2bit_input()
450 unsigned offset, int value) in samsung_gpiolib_2bit_output()
494 unsigned int offset) in samsung_gpiolib_4bit_input()
513 unsigned int offset, int value) in samsung_gpiolib_4bit_output()
563 unsigned int offset) in samsung_gpiolib_4bit2_input()
585 unsigned int offset, int value) in samsung_gpiolib_4bit2_output()
622 static int s3c24xx_gpiolib_banka_input(struct gpio_chip *chip, unsigned offset) in s3c24xx_gpiolib_banka_input()
628 unsigned offset, int value) in s3c24xx_gpiolib_banka_output()
658 unsigned offset, int value) in samsung_gpiolib_set()
676 static int samsung_gpiolib_get(struct gpio_chip *chip, unsigned offset) in samsung_gpiolib_get()
[all …]
Dgpio-msic.c75 static int msic_gpio_to_ireg(unsigned offset) in msic_gpio_to_ireg()
90 static int msic_gpio_to_oreg(unsigned offset) in msic_gpio_to_oreg()
105 static int msic_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in msic_gpio_direction_input()
117 unsigned offset, int value) in msic_gpio_direction_output()
132 static int msic_gpio_get(struct gpio_chip *chip, unsigned offset) in msic_gpio_get()
149 static void msic_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in msic_gpio_set()
180 static int msic_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in msic_gpio_to_irq()
195 int offset; in msic_bus_sync_unlock() local
Dgpio-xilinx.c34 # define xgpio_readreg(offset) readl(offset) argument
35 # define xgpio_writereg(offset, val) writel(val, offset) argument
37 # define xgpio_readreg(offset) __raw_readl(offset) argument
38 # define xgpio_writereg(offset, val) __raw_writel(val, offset) argument
121 int offset = xgpio_offset(chip, gpio); in xgpio_set() local
153 int offset = xgpio_offset(chip, gpio); in xgpio_dir_in() local
186 int offset = xgpio_offset(chip, gpio); in xgpio_dir_out() local
Dgpio-mc9s08dz60.c38 static void mc9s_gpio_to_reg_and_bit(int offset, u8 *reg, u8 *bit) in mc9s_gpio_to_reg_and_bit()
44 static int mc9s08dz60_get_value(struct gpio_chip *gc, unsigned offset) in mc9s08dz60_get_value()
56 static int mc9s08dz60_set(struct mc9s08dz60 *mc9s, unsigned offset, int val) in mc9s08dz60_set()
76 static void mc9s08dz60_set_value(struct gpio_chip *gc, unsigned offset, int val) in mc9s08dz60_set_value()
84 unsigned offset, int val) in mc9s08dz60_direction_output()
Dgpio-wm8994.c39 static int wm8994_gpio_request(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_request()
62 static int wm8994_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_direction_in()
71 static int wm8994_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_get()
88 unsigned offset, int value) in wm8994_gpio_direction_out()
100 static void wm8994_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8994_gpio_set()
111 static int wm8994_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8994_gpio_to_irq()
Dgpio-amdpt.c36 static int pt_gpio_request(struct gpio_chip *gc, unsigned offset) in pt_gpio_request()
61 static void pt_gpio_free(struct gpio_chip *gc, unsigned offset) in pt_gpio_free()
78 static void pt_gpio_set_value(struct gpio_chip *gc, unsigned offset, int value) in pt_gpio_set_value()
98 static int pt_gpio_get_value(struct gpio_chip *gc, unsigned offset) in pt_gpio_get_value()
125 static int pt_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in pt_gpio_direction_input()
145 unsigned offset, int value) in pt_gpio_direction_output()
Dgpio-lpc18xx.c39 static void lpc18xx_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in lpc18xx_gpio_set()
45 static int lpc18xx_gpio_get(struct gpio_chip *chip, unsigned offset) in lpc18xx_gpio_get()
51 static int lpc18xx_gpio_direction(struct gpio_chip *chip, unsigned offset, in lpc18xx_gpio_direction()
74 unsigned offset) in lpc18xx_gpio_direction_input()
80 unsigned offset, int value) in lpc18xx_gpio_direction_output()
Dgpio-wm8350.c36 static int wm8350_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_direction_in()
45 static int wm8350_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_get()
61 static void wm8350_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8350_gpio_set()
73 unsigned offset, int value) in wm8350_gpio_direction_out()
90 static int wm8350_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_to_irq()
Dgpio-da9052.c59 static unsigned char da9052_gpio_port_odd(unsigned offset) in da9052_gpio_port_odd()
64 static int da9052_gpio_get(struct gpio_chip *gc, unsigned offset) in da9052_gpio_get()
106 static void da9052_gpio_set(struct gpio_chip *gc, unsigned offset, int value) in da9052_gpio_set()
132 static int da9052_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9052_gpio_direction_input()
158 unsigned offset, int value) in da9052_gpio_direction_output()
183 static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9052_gpio_to_irq()
Dgpio-viperboard.c51 u8 offset; member
88 unsigned offset) in vprbrd_gpioa_get()
139 unsigned offset, int value) in vprbrd_gpioa_set()
181 unsigned offset) in vprbrd_gpioa_direction_input()
219 unsigned offset, int value) in vprbrd_gpioa_direction_output()
264 static int vprbrd_gpiob_setdir(struct vprbrd *vb, unsigned offset, in vprbrd_gpiob_setdir()
286 unsigned offset) in vprbrd_gpiob_get()
319 unsigned offset, int value) in vprbrd_gpiob_set()
353 unsigned offset) in vprbrd_gpiob_direction_input()
375 unsigned offset, int value) in vprbrd_gpiob_direction_output()
Dgpio-amd8111.c80 static int amd_gpio_request(struct gpio_chip *chip, unsigned offset) in amd_gpio_request()
92 static void amd_gpio_free(struct gpio_chip *chip, unsigned offset) in amd_gpio_free()
101 static void amd_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in amd_gpio_set()
116 static int amd_gpio_get(struct gpio_chip *chip, unsigned offset) in amd_gpio_get()
128 static int amd_gpio_dirout(struct gpio_chip *chip, unsigned offset, int value) in amd_gpio_dirout()
145 static int amd_gpio_dirin(struct gpio_chip *chip, unsigned offset) in amd_gpio_dirin()
Dgpio-wm831x.c38 static int wm831x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_direction_in()
52 static int wm831x_gpio_get(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_get()
68 static void wm831x_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm831x_gpio_set()
78 unsigned offset, int value) in wm831x_gpio_direction_out()
100 static int wm831x_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm831x_gpio_to_irq()
109 static int wm831x_gpio_set_debounce(struct gpio_chip *chip, unsigned offset, in wm831x_gpio_set_debounce()
Dgpio-em.c136 unsigned int reg, offset, shift; in em_gio_irq_set_type() local
181 unsigned int offset, irqs_handled = 0; in em_gio_irq_handler() local
198 static int em_gio_direction_input(struct gpio_chip *chip, unsigned offset) in em_gio_direction_input()
204 static int em_gio_get(struct gpio_chip *chip, unsigned offset) in em_gio_get()
217 static void em_gio_set(struct gpio_chip *chip, unsigned offset, int value) in em_gio_set()
226 static int em_gio_direction_output(struct gpio_chip *chip, unsigned offset, in em_gio_direction_output()
235 static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset) in em_gio_to_irq()
240 static int em_gio_request(struct gpio_chip *chip, unsigned offset) in em_gio_request()
245 static void em_gio_free(struct gpio_chip *chip, unsigned offset) in em_gio_free()
Dgpio-104-idio-16.c45 static int idio_16_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in idio_16_gpio_get_direction()
53 static int idio_16_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in idio_16_gpio_direction_input()
59 unsigned offset, int value) in idio_16_gpio_direction_output()
70 static int idio_16_gpio_get(struct gpio_chip *chip, unsigned offset) in idio_16_gpio_get()
84 static void idio_16_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in idio_16_gpio_set()
Dgpio-pl061.c61 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input()
79 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output()
105 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value()
112 static void pl061_set_value(struct gpio_chip *gc, unsigned offset, int value) in pl061_set_value()
123 int offset = irqd_to_hwirq(d); in pl061_irq_type() local
210 int offset; in pl061_irq_handler() local
367 int offset; in pl061_suspend() local
388 int offset; in pl061_resume() local
Dgpio-sa1100.c18 static int sa1100_gpio_get(struct gpio_chip *chip, unsigned offset) in sa1100_gpio_get()
23 static void sa1100_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in sa1100_gpio_set()
31 static int sa1100_direction_input(struct gpio_chip *chip, unsigned offset) in sa1100_direction_input()
41 static int sa1100_direction_output(struct gpio_chip *chip, unsigned offset, int value) in sa1100_direction_output()
52 static int sa1100_to_irq(struct gpio_chip *chip, unsigned offset) in sa1100_to_irq()
Dgpio-vr41xx.c86 #define giu_read(offset) readw(giu_base + (offset)) argument
87 #define giu_write(offset, value) writew((value), giu_base + (offset)) argument
93 static inline u16 giu_set(u16 offset, u16 set) in giu_set()
104 static inline u16 giu_clear(u16 offset, u16 clear) in giu_clear()
335 u16 offset, mask, reg; in giu_set_direction() local
449 u16 offset, mask, reg; in vr41xx_gpio_set() local
482 static int vr41xx_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_direction_input()
487 static int vr41xx_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in vr41xx_gpio_direction_output()
495 static int vr41xx_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_to_irq()
Dgpio-arizona.c36 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in()
45 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get()
63 unsigned offset, int value) in arizona_gpio_direction_out()
75 static void arizona_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in arizona_gpio_set()
Dgpio-sch311x.c143 static int sch311x_gpio_request(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_request()
159 static void sch311x_gpio_free(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_free()
169 static int sch311x_gpio_get(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_get()
182 unsigned offset, int value) in __sch311x_gpio_set()
192 static void sch311x_gpio_set(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_set()
202 static int sch311x_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in sch311x_gpio_direction_in()
214 static int sch311x_gpio_direction_out(struct gpio_chip *chip, unsigned offset, in sch311x_gpio_direction_out()
Dgpio-zx.c51 static int zx_direction_input(struct gpio_chip *gc, unsigned offset) in zx_direction_input()
69 static int zx_direction_output(struct gpio_chip *gc, unsigned offset, in zx_direction_output()
93 static int zx_get_value(struct gpio_chip *gc, unsigned offset) in zx_get_value()
100 static void zx_set_value(struct gpio_chip *gc, unsigned offset, int value) in zx_set_value()
114 int offset = irqd_to_hwirq(d); in zx_irq_type() local
163 int offset; in zx_irq_handler() local
Dgpio-tz1090-pdc.c71 unsigned int offset) in tz1090_pdc_gpio_direction_input()
87 unsigned int offset, in tz1090_pdc_gpio_direction_output()
113 static int tz1090_pdc_gpio_get(struct gpio_chip *chip, unsigned int offset) in tz1090_pdc_gpio_get()
119 static void tz1090_pdc_gpio_set(struct gpio_chip *chip, unsigned int offset, in tz1090_pdc_gpio_set()
140 static int tz1090_pdc_gpio_to_irq(struct gpio_chip *chip, unsigned int offset) in tz1090_pdc_gpio_to_irq()
Dgpio-tps6586x.c46 static int tps6586x_gpio_get(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_get()
59 static void tps6586x_gpio_set(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_set()
68 static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_output()
83 static int tps6586x_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_to_irq()
Dgpio-tps65912.c31 static int tps65912_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_get()
45 static void tps65912_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_set()
59 static int tps65912_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65912_gpio_output()
72 static int tps65912_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65912_gpio_input()
Dgpio-timberdale.c54 unsigned offset, bool enabled) in timbgpio_update_bit()
99 static int timbgpio_to_irq(struct gpio_chip *gpio, unsigned offset) in timbgpio_to_irq()
115 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_disable() local
127 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_enable() local
139 int offset = d->irq - tgpio->irq_base; in timbgpio_irq_type() local
200 int offset; in timbgpio_irq() local
Dgpio-stmpe.c44 static int stmpe_gpio_get(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_get()
59 static void stmpe_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in stmpe_gpio_set()
78 unsigned offset, int val) in stmpe_gpio_direction_output()
91 unsigned offset) in stmpe_gpio_direction_input()
101 static int stmpe_gpio_request(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_request()
127 int offset = d->hwirq; in stmpe_gpio_irq_set_type() local
197 int offset = d->hwirq; in stmpe_gpio_irq_mask() local
208 int offset = d->hwirq; in stmpe_gpio_irq_unmask() local
217 unsigned offset, unsigned gpio) in stmpe_dbg_show_one()
Dgpio-palmas.c43 static int palmas_gpio_get(struct gpio_chip *gc, unsigned offset) in palmas_gpio_get()
74 static void palmas_gpio_set(struct gpio_chip *gc, unsigned offset, in palmas_gpio_set()
96 static int palmas_gpio_output(struct gpio_chip *gc, unsigned offset, in palmas_gpio_output()
118 static int palmas_gpio_input(struct gpio_chip *gc, unsigned offset) in palmas_gpio_input()
135 static int palmas_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in palmas_gpio_to_irq()
Dgpio-kempld.c66 static int kempld_gpio_get(struct gpio_chip *chip, unsigned offset) in kempld_gpio_get()
75 static void kempld_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in kempld_gpio_set()
86 static int kempld_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in kempld_gpio_direction_input()
99 static int kempld_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in kempld_gpio_direction_output()
114 static int kempld_gpio_get_direction(struct gpio_chip *chip, unsigned offset) in kempld_gpio_get_direction()
Dgpio-tc3589x.c42 static int tc3589x_gpio_get(struct gpio_chip *chip, unsigned offset) in tc3589x_gpio_get()
57 static void tc3589x_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in tc3589x_gpio_set()
69 unsigned offset, int val) in tc3589x_gpio_direction_output()
82 unsigned offset) in tc3589x_gpio_direction_input()
106 int offset = d->hwirq; in tc3589x_gpio_irq_set_type() local
171 int offset = d->hwirq; in tc3589x_gpio_irq_mask() local
182 int offset = d->hwirq; in tc3589x_gpio_irq_unmask() local
Dgpio-twl6040.c37 static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) in twl6040gpo_get()
49 static int twl6040gpo_direction_out(struct gpio_chip *chip, unsigned offset, in twl6040gpo_direction_out()
56 static void twl6040gpo_set(struct gpio_chip *chip, unsigned offset, int value) in twl6040gpo_set()
Dgpio-ath79.c48 unsigned offset) in ath79_gpio_direction_input()
65 unsigned offset, int value) in ath79_gpio_direction_output()
86 static int ar934x_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in ar934x_gpio_direction_input()
102 static int ar934x_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in ar934x_gpio_direction_output()
Dgpio-syscon.c67 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get()
83 static void syscon_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_set()
96 static int syscon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in syscon_gpio_dir_in()
114 static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_dir_out()
145 static void keystone_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in keystone_gpio_set()
Dgpio-sx150x.c192 static inline bool offset_is_oscio(struct sx150x_chip *chip, unsigned offset) in offset_is_oscio()
216 static inline void sx150x_find_cfg(u8 offset, u8 width, in sx150x_find_cfg()
226 u8 offset, u8 width, u8 reg, u8 val) in sx150x_write_cfg()
243 static int sx150x_get_io(struct sx150x_chip *chip, unsigned offset) in sx150x_get_io()
266 static void sx150x_set_io(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_set_io()
275 static int sx150x_io_input(struct sx150x_chip *chip, unsigned offset) in sx150x_io_input()
284 static int sx150x_io_output(struct sx150x_chip *chip, unsigned offset, int val) in sx150x_io_output()
302 static int sx150x_gpio_get(struct gpio_chip *gc, unsigned offset) in sx150x_gpio_get()
316 static void sx150x_gpio_set(struct gpio_chip *gc, unsigned offset, int val) in sx150x_gpio_set()
328 static int sx150x_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in sx150x_gpio_direction_input()
[all …]
Dgpio-tps65910.c35 static int tps65910_gpio_get(struct gpio_chip *gc, unsigned offset) in tps65910_gpio_get()
49 static void tps65910_gpio_set(struct gpio_chip *gc, unsigned offset, in tps65910_gpio_set()
63 static int tps65910_gpio_output(struct gpio_chip *gc, unsigned offset, in tps65910_gpio_output()
76 static int tps65910_gpio_input(struct gpio_chip *gc, unsigned offset) in tps65910_gpio_input()
Dgpio-xgene.c55 static int xgene_gpio_get(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get()
66 static void __xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in __xgene_gpio_set()
83 static void xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set()
93 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in()
114 unsigned int offset, int val) in xgene_gpio_dir_out()
Dgpio-intel-mid.c86 static void __iomem *gpio_reg(struct gpio_chip *chip, unsigned offset, in gpio_reg()
96 static void __iomem *gpio_reg_2bit(struct gpio_chip *chip, unsigned offset, in gpio_reg_2bit()
106 static int intel_gpio_request(struct gpio_chip *chip, unsigned offset) in intel_gpio_request()
119 static int intel_gpio_get(struct gpio_chip *chip, unsigned offset) in intel_gpio_get()
126 static void intel_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in intel_gpio_set()
139 static int intel_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in intel_gpio_direction_input()
162 unsigned offset, int value) in intel_gpio_direction_output()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dspu_restore.c83 unsigned int offset; in restore_decr() local
103 unsigned int offset; in write_ppu_mb() local
117 unsigned int offset; in write_ppuint_mb() local
131 unsigned int offset; in restore_fpcr() local
145 unsigned int offset; in restore_srr0() local
158 unsigned int offset; in restore_event_mask() local
171 unsigned int offset; in restore_tag_mask() local
186 unsigned int offset; in restore_complete() local
Dspu_save.c41 unsigned int offset; in save_event_mask() local
52 unsigned int offset; in save_tag_mask() local
84 unsigned int offset; in save_fpcr() local
96 unsigned int offset; in save_decr() local
108 unsigned int offset; in save_srr0() local
/linux-4.4.14/arch/m68k/coldfire/
Dgpio.c117 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input()
122 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value()
127 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output()
133 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value()
139 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request()
144 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free()
149 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
/linux-4.4.14/scripts/dtc/libfdt/
Dfdt.c77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
97 int offset = startoffset; in fdt_next_tag() local
143 int _fdt_check_node_offset(const void *fdt, int offset) in _fdt_check_node_offset()
152 int _fdt_check_prop_offset(const void *fdt, int offset) in _fdt_check_prop_offset()
161 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
201 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
212 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
Dfdt_ro.c58 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
108 static int _nextprop(const void *fdt, int offset) in _nextprop()
132 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
161 int offset = 0; in fdt_path_offset_namelen() local
229 int offset; in fdt_first_property_offset() local
237 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
246 int offset, in fdt_get_property_by_offset()
267 int offset, in fdt_get_property_namelen()
310 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset()
366 int offset, depth, namelen; in fdt_get_path() local
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dphy.c136 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
199 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
264 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88()
289 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88()
334 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp()
372 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp()
386 s32 e1000e_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp_locked()
401 static s32 __e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, in __e1000e_write_phy_reg_igp()
437 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp()
451 s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp_locked()
[all …]
/linux-4.4.14/arch/s390/oprofile/
Dinit.c125 size_t count, loff_t *offset) in hwsampler_read()
131 size_t count, loff_t *offset) in hwsampler_write()
173 size_t count, loff_t *offset) in hw_interval_read()
180 size_t count, loff_t *offset) in hw_interval_write()
216 size_t count, loff_t *offset) in hwsampler_zero_read()
222 size_t count, loff_t *offset) in hwsampler_zero_write()
246 size_t count, loff_t *offset) in hwsampler_kernel_read()
253 size_t count, loff_t *offset) in hwsampler_kernel_write()
281 size_t count, loff_t *offset) in hwsampler_user_read()
288 size_t count, loff_t *offset) in hwsampler_user_write()
[all …]
/linux-4.4.14/arch/sh/include/asm/
Dio_trapped.h31 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped()
36 #define __ioremap_trapped(offset, size) NULL argument
43 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped()
48 #define __ioport_map_trapped(offset, size) NULL argument
54 #define __ioremap_trapped(offset, size) NULL argument
55 #define __ioport_map_trapped(offset, size) NULL argument
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_osdep.h48 #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \ argument
51 #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \ argument
62 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
67 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
75 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
80 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
85 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
90 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
/linux-4.4.14/arch/mips/kernel/
Dgpio_txx9.c22 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_get()
27 static void txx9_gpio_set_raw(unsigned int offset, int value) in txx9_gpio_set_raw()
38 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_set()
48 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_dir_in()
59 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_dir_out()
Dspram.c47 static void ispram_store_tag(unsigned int offset, unsigned int data) in ispram_store_tag()
66 static unsigned int ispram_load_tag(unsigned int offset) in ispram_load_tag()
84 static void dspram_store_tag(unsigned int offset, unsigned int data) in dspram_store_tag()
100 static unsigned int dspram_load_tag(unsigned int offset) in dspram_load_tag()
124 unsigned int offset = 0; in probe_spram() local
/linux-4.4.14/arch/sparc/lib/
Dmemcpy.S17 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
31 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
41 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
49 #define MOVE_LASTALIGNCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
55 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
62 #define RMOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
76 #define RMOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
86 #define RMOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
94 #define RMOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
100 #define SMOVE_CHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, prev, shil, shir, offset2) \ argument
[all …]
Duser_fixup.c21 static unsigned long compute_size(unsigned long start, unsigned long size, unsigned long *offset) in compute_size()
37 unsigned long offset; in copy_from_user_fixup() local
49 unsigned long offset; in copy_to_user_fixup() local
Dcopy_user.S67 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
81 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
91 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
99 #define MOVE_HALFCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
109 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
/linux-4.4.14/drivers/pinctrl/spear/
Dpinctrl-plgpio.c82 u32 offset = PIN_OFFSET(pin); in is_plgpio_set() local
91 u32 offset = PIN_OFFSET(pin); in plgpio_reg_set() local
100 u32 offset = PIN_OFFSET(pin); in plgpio_reg_reset() local
108 static int plgpio_direction_input(struct gpio_chip *chip, unsigned offset) in plgpio_direction_input()
127 static int plgpio_direction_output(struct gpio_chip *chip, unsigned offset, in plgpio_direction_output()
160 static int plgpio_get_value(struct gpio_chip *chip, unsigned offset) in plgpio_get_value()
177 static void plgpio_set_value(struct gpio_chip *chip, unsigned offset, int value) in plgpio_set_value()
197 static int plgpio_request(struct gpio_chip *chip, unsigned offset) in plgpio_request()
249 static void plgpio_free(struct gpio_chip *chip, unsigned offset) in plgpio_free()
284 int offset = d->hwirq; in plgpio_irq_disable() local
[all …]
/linux-4.4.14/arch/ia64/include/asm/uv/
Duv_hub.h172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr()
183 unsigned long offset) in uv_global_mmr32_address()
189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, in uv_write_global_mmr32()
196 unsigned long offset) in uv_read_global_mmr32()
206 unsigned long offset) in uv_global_mmr64_address()
212 static inline void uv_write_global_mmr64(int pnode, unsigned long offset, in uv_write_global_mmr64()
219 unsigned long offset) in uv_read_global_mmr64()
228 static inline unsigned long *uv_local_mmr_address(unsigned long offset) in uv_local_mmr_address()
233 static inline unsigned long uv_read_local_mmr(unsigned long offset) in uv_read_local_mmr()
238 static inline void uv_write_local_mmr(unsigned long offset, unsigned long val) in uv_write_local_mmr()
/linux-4.4.14/arch/s390/pci/
Dpci_insn.c16 static inline void zpci_err_insn(u8 cc, u8 status, u64 req, u64 offset) in zpci_err_insn()
20 u64 offset; in zpci_err_insn() member
102 static inline int __pcilg(u64 *data, u64 req, u64 offset, u8 *status) in __pcilg()
125 int zpci_load(u64 *data, u64 req, u64 offset) in zpci_load()
144 static inline int __pcistg(u64 data, u64 req, u64 offset, u8 *status) in __pcistg()
163 int zpci_store(u64 data, u64 req, u64 offset) in zpci_store()
182 static inline int __pcistb(const u64 *data, u64 req, u64 offset, u8 *status) in __pcistb()
199 int zpci_store_block(const u64 *data, u64 req, u64 offset) in zpci_store_block()
/linux-4.4.14/arch/mips/rb532/
Dgpio.c61 unsigned offset, void __iomem *ioaddr) in rb532_set_bit()
80 static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) in rb532_get_bit()
87 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get()
99 unsigned offset, int value) in rb532_gpio_set()
110 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input()
127 unsigned offset, int value) in rb532_gpio_direction_output()
/linux-4.4.14/arch/avr32/mach-at32ap/
Dhmatrix.c16 static inline void __hmatrix_write_reg(unsigned long offset, u32 value) in __hmatrix_write_reg()
21 static inline u32 __hmatrix_read_reg(unsigned long offset) in __hmatrix_read_reg()
31 void hmatrix_write_reg(unsigned long offset, u32 value) in hmatrix_write_reg()
45 u32 hmatrix_read_reg(unsigned long offset) in hmatrix_read_reg()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpfunc_base.c119 unsigned long offset; in macio_gpio_init_one() local
144 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32()
155 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32()
167 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8()
178 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8()
190 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx()
203 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx()
216 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm()
236 static int macio_do_write_reg8_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg8_slm()
278 static int unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in unin_do_write_reg32()
Dpfunc_core.c160 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg32() local
172 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg32() local
182 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg16() local
194 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg16() local
204 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg8() local
216 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg8() local
234 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg32() local
246 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg16() local
258 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg8() local
309 u32 offset = pmf_next32(cmd); in pmf_parser_read_cfg() local
[all …]
/linux-4.4.14/arch/x86/pci/
Dearly.c10 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config()
18 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte()
26 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16()
34 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config()
41 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte()
47 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dgpuobj.c33 nvkm_gpuobj_rd32_fast(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32_fast()
39 nvkm_gpuobj_wr32_fast(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32_fast()
46 nvkm_gpuobj_heap_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_heap_rd32()
52 nvkm_gpuobj_heap_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_heap_wr32()
97 nvkm_gpuobj_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32()
103 nvkm_gpuobj_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32()
152 u32 offset; in nvkm_gpuobj_ctor() local
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_debug.c26 off_t offset, int count, in proc_get_drv_version()
38 off_t offset, int count, in proc_get_write_reg()
87 off_t offset, int count, in proc_get_read_reg()
147 off_t offset, int count, in proc_get_fwstate()
163 off_t offset, int count, in proc_get_sec_info()
181 off_t offset, int count, in proc_get_mlmext_state()
198 off_t offset, int count, in proc_get_qos_option()
214 off_t offset, int count, in proc_get_ht_option()
229 off_t offset, int count, in proc_get_rf_info()
244 off_t offset, int count, in proc_get_ap_info()
[all …]
/linux-4.4.14/arch/unicore32/kernel/
Dgpio.c53 static int puv3_gpio_get(struct gpio_chip *chip, unsigned offset) in puv3_gpio_get()
58 static void puv3_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in puv3_gpio_set()
66 static int puv3_direction_input(struct gpio_chip *chip, unsigned offset) in puv3_direction_input()
76 static int puv3_direction_output(struct gpio_chip *chip, unsigned offset, in puv3_direction_output()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00mmio.h33 const unsigned int offset, in rt2x00mmio_register_read()
40 const unsigned int offset, in rt2x00mmio_register_multiread()
47 const unsigned int offset, in rt2x00mmio_register_write()
54 const unsigned int offset, in rt2x00mmio_register_multiwrite()
Drt2x00usb.h162 const u16 offset, in rt2x00usb_vendor_request_sw()
199 const unsigned int offset, in rt2x00usb_register_read()
219 const unsigned int offset, in rt2x00usb_register_read_lock()
240 const unsigned int offset, in rt2x00usb_register_multiread()
258 const unsigned int offset, in rt2x00usb_register_write()
277 const unsigned int offset, in rt2x00usb_register_write_lock()
297 const unsigned int offset, in rt2x00usb_register_multiwrite()
Drt2800lib.h54 const unsigned int offset, in rt2800_register_read()
63 const unsigned int offset, in rt2800_register_read_lock()
72 const unsigned int offset, in rt2800_register_write()
81 const unsigned int offset, in rt2800_register_write_lock()
90 const unsigned int offset, in rt2800_register_multiread()
99 const unsigned int offset, in rt2800_register_multiwrite()
109 const unsigned int offset, in rt2800_regbusy_read()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Deeprom.c77 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()
249 static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_modes()
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()
548 ath5k_eeprom_init_11a_pcal_freq(struct ath5k_hw *ah, int offset) in ath5k_eeprom_init_11a_pcal_freq()
601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413()
797 int offset, ret; in ath5k_eeprom_read_pcal_info_5111() local
1022 u32 offset; in ath5k_eeprom_read_pcal_info_5112() local
1167 u32 offset = AR5K_EEPROM_CAL_DATA_START(ee->ee_misc4); in ath5k_cal_data_offset_2413() local
[all …]
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_chips.h49 static inline void pm8001_write_32(void *addr, u32 offset, __le32 val) in pm8001_write_32()
55 u32 offset) in pm8001_cr32()
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-4.4.14/drivers/net/ethernet/ti/
Dcpsw-common.c22 #define CTRL_MAC_LO_REG(offset, id) ((offset) + 0x8 * (id)) argument
23 #define CTRL_MAC_HI_REG(offset, id) ((offset) + 0x8 * (id) + 0x4) argument
25 static int davinci_emac_3517_get_macid(struct device *dev, u16 offset, in davinci_emac_3517_get_macid()
52 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dpci.c38 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid()
51 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr()
69 int offset, int len, u32 *val) in workaround_5945()
112 int offset, int len, u32 *val) in pa_pxp_read_config()
149 int offset, int len, u32 val) in pa_pxp_write_config()
237 void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) in pasemi_pci_getcfgaddr()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dpci.c100 u8 bus, u8 dev_fn, u8 offset) in u3_agp_cfg_access()
121 int offset, int len, u32 *val) in u3_agp_read_config()
152 int offset, int len, u32 val) in u3_agp_write_config()
199 u8 bus, u8 devfn, u8 offset) in u3_ht_cfg_access()
209 static int u3_ht_root_read_config(struct pci_controller *hose, u8 offset, in u3_ht_root_read_config()
232 static int u3_ht_root_write_config(struct pci_controller *hose, u8 offset, in u3_ht_root_write_config()
258 int offset, int len, u32 *val) in u3_ht_read_config()
296 int offset, int len, u32 val) in u3_ht_write_config()
356 u8 bus, u8 dev_fn, int offset) in u4_pcie_cfg_access()
375 int offset, int len, u32 *val) in u4_pcie_read_config()
[all …]
/linux-4.4.14/drivers/pinctrl/sh-pfc/
Dgpio.c51 static void gpio_get_data_reg(struct sh_pfc_chip *chip, unsigned int offset, in gpio_get_data_reg()
138 static int gpio_pin_request(struct gpio_chip *gc, unsigned offset) in gpio_pin_request()
149 static void gpio_pin_free(struct gpio_chip *gc, unsigned offset) in gpio_pin_free()
154 static void gpio_pin_set_value(struct sh_pfc_chip *chip, unsigned offset, in gpio_pin_set_value()
173 static int gpio_pin_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_pin_direction_input()
178 static int gpio_pin_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_pin_direction_output()
186 static int gpio_pin_get(struct gpio_chip *gc, unsigned offset) in gpio_pin_get()
200 static void gpio_pin_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_pin_set()
205 static int gpio_pin_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_pin_to_irq()
262 static int gpio_function_request(struct gpio_chip *gc, unsigned offset) in gpio_function_request()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dr600_hdmi.c177 void r600_hdmi_update_acr(struct drm_encoder *encoder, long offset, in r600_hdmi_update_acr()
217 void r600_set_avi_packet(struct radeon_device *rdev, u32 offset, in r600_set_avi_packet()
250 uint32_t offset = dig->afmt->offset; in r600_hdmi_update_audio_infoframe() local
268 uint32_t offset = dig->afmt->offset; in r600_hdmi_is_audio_buffer_filled() local
301 uint32_t offset = dig->afmt->offset; in r600_hdmi_audio_workaround() local
340 void r600_set_vbi_packet(struct drm_encoder *encoder, u32 offset) in r600_set_vbi_packet()
351 void r600_set_audio_packet(struct drm_encoder *encoder, u32 offset) in r600_set_audio_packet()
393 void r600_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in r600_set_mute()
420 uint32_t offset; in r600_hdmi_update_audio_settings() local
Devergreen_cs.c398 unsigned long offset; in evergreen_cs_track_validate_cb() local
565 unsigned long offset; in evergreen_cs_track_validate_stencil() local
662 unsigned long offset; in evergreen_cs_track_validate_depth() local
949 u64 offset = (u64)track->vgt_strmout_bo_offset[i] + in evergreen_cs_track_check() local
1793 uint64_t offset; in evergreen_packet3_check() local
1852 uint64_t offset; in evergreen_packet3_check() local
1888 uint64_t offset; in evergreen_packet3_check() local
1915 uint64_t offset; in evergreen_packet3_check() local
2092 uint64_t offset; in evergreen_packet3_check() local
2114 u64 offset, tmp; in evergreen_packet3_check() local
[all …]
Devergreen_hdmi.c67 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset, in evergreen_hdmi_update_acr()
208 void evergreen_set_avi_packet(struct radeon_device *rdev, u32 offset, in evergreen_set_avi_packet()
306 void dce4_set_vbi_packet(struct drm_encoder *encoder, u32 offset) in dce4_set_vbi_packet()
317 void dce4_hdmi_set_color_depth(struct drm_encoder *encoder, u32 offset, int bpc) in dce4_hdmi_set_color_depth()
354 void dce4_set_audio_packet(struct drm_encoder *encoder, u32 offset) in dce4_set_audio_packet()
389 void dce4_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in dce4_set_mute()
/linux-4.4.14/drivers/pinctrl/sirf/
Dpinctrl-sirf.c70 struct seq_file *s, unsigned offset) in sirfsoc_pin_dbg_show()
205 struct pinctrl_gpio_range *range, unsigned offset) in sirfsoc_pinmux_request_gpio()
408 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank()
413 static inline int sirfsoc_gpio_to_bankoff(unsigned int offset) in sirfsoc_gpio_to_bankoff()
424 u32 val, offset; in sirfsoc_gpio_irq_ack() local
442 u32 val, offset; in __sirfsoc_gpio_irq_mask() local
472 u32 val, offset; in sirfsoc_gpio_irq_unmask() local
493 u32 val, offset; in sirfsoc_gpio_irq_type() local
608 static int sirfsoc_gpio_request(struct gpio_chip *chip, unsigned offset) in sirfsoc_gpio_request()
631 static void sirfsoc_gpio_free(struct gpio_chip *chip, unsigned offset) in sirfsoc_gpio_free()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dbmi.c118 u32 offset; in ath6kl_bmi_read() local
174 u32 offset; in ath6kl_bmi_write() local
241 u32 offset; in ath6kl_bmi_execute() local
288 u32 offset; in ath6kl_bmi_set_app_start() local
324 u32 offset; in ath6kl_bmi_reg_read() local
367 u32 offset; in ath6kl_bmi_reg_write() local
407 u32 offset; in ath6kl_bmi_lz_data() local
458 u32 offset; in ath6kl_bmi_lz_stream_start() local
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dusb.c96 const u8 direction, const u16 val, const u16 offset, in mt7601u_vendor_request()
132 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr()
156 const u16 offset, const u32 val) in mt7601u_vendor_single_wr()
173 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr()
181 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmw()
188 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmc()
198 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset, in mt7601u_wr_copy()
207 void mt7601u_addr_wr(struct mt7601u_dev *dev, const u32 offset, const u8 *addr) in mt7601u_addr_wr()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-coh901.c220 static int u300_gpio_get(struct gpio_chip *chip, unsigned offset) in u300_gpio_get()
227 static void u300_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in u300_gpio_set()
244 static int u300_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in u300_gpio_direction_input()
259 static int u300_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in u300_gpio_direction_output()
290 unsigned offset, in u300_gpio_config_get()
348 int u300_gpio_config_set(struct gpio_chip *chip, unsigned offset, in u300_gpio_config_set()
410 static void u300_toggle_trigger(struct u300_gpio *gpio, unsigned offset) in u300_toggle_trigger()
434 int offset = d->hwirq; in u300_gpio_irq_type() local
471 int offset = d->hwirq; in u300_gpio_irq_enable() local
487 int offset = d->hwirq; in u300_gpio_irq_disable() local
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Dmac_psc.h222 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte()
227 static inline void psc_write_word(int offset, __u16 data) in psc_write_word()
232 static inline void psc_write_long(int offset, __u32 data) in psc_write_long()
237 static inline u8 psc_read_byte(int offset) in psc_read_byte()
242 static inline u16 psc_read_word(int offset) in psc_read_word()
247 static inline u32 psc_read_long(int offset) in psc_read_long()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.h79 #define STORE_RT_REG(hwfn, offset, val) \ argument
82 #define OVERWRITE_RT_REG(hwfn, offset, val) \ argument
99 #define STORE_RT_REG_AGG(hwfn, offset, val) \ argument
/linux-4.4.14/fs/ecryptfs/
Dread_write.c40 loff_t offset, size_t size) in ecryptfs_write_lower()
74 loff_t offset; in ecryptfs_write_lower_page_segment() local
105 int ecryptfs_write(struct inode *ecryptfs_inode, char *data, loff_t offset, in ecryptfs_write()
231 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower()
262 loff_t offset; in ecryptfs_read_lower_page_segment() local
/linux-4.4.14/drivers/mfd/
Ddm355evm_msp.c123 #define MSP_GPIO_REG(offset) (msp_gpios[(offset)] >> 3) argument
124 #define MSP_GPIO_MASK(offset) BIT(msp_gpios[(offset)] & 0x07) argument
126 static int msp_gpio_in(struct gpio_chip *chip, unsigned offset) in msp_gpio_in()
140 static int msp_gpio_get(struct gpio_chip *chip, unsigned offset) in msp_gpio_get()
153 static int msp_gpio_out(struct gpio_chip *chip, unsigned offset, int value) in msp_gpio_out()
175 static void msp_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in msp_gpio_set()
246 int offset; in add_children() member
/linux-4.4.14/arch/mips/loongson64/common/
Dearly_printk.c16 #define PORT(base, offset) (u8 *)(base + offset) argument
18 static inline unsigned int serial_in(unsigned char *base, int offset) in serial_in()
23 static inline void serial_out(unsigned char *base, int offset, int value) in serial_out()
/linux-4.4.14/sound/firewire/dice/
Ddice.h98 unsigned int offset, in snd_dice_transaction_write_global()
106 unsigned int offset, in snd_dice_transaction_read_global()
114 unsigned int offset, in snd_dice_transaction_write_tx()
121 unsigned int offset, in snd_dice_transaction_read_tx()
128 unsigned int offset, in snd_dice_transaction_write_rx()
135 unsigned int offset, in snd_dice_transaction_read_rx()
142 unsigned int offset, in snd_dice_transaction_write_sync()
149 unsigned int offset, in snd_dice_transaction_read_sync()
/linux-4.4.14/drivers/mtd/maps/
Dtsunami_flash.c17 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8()
24 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8()
30 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from()
43 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h44 unsigned short offset; /* bytes in container */ member
78 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); in __mlxsw_item_get16() local
93 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set16() local
111 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); in __mlxsw_item_get32() local
126 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set32() local
144 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_get64() local
159 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_set64() local
177 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); in __mlxsw_item_memcpy_from() local
186 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); in __mlxsw_item_memcpy_to() local
195 u16 offset; /* byte offset inside the array */ in __mlxsw_item_bit_array_offset() local
[all …]
/linux-4.4.14/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c333 static int bcm2835_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_direction_input()
338 static int bcm2835_gpio_get(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_get()
345 static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in bcm2835_gpio_set()
353 unsigned offset, int value) in bcm2835_gpio_direction_output()
359 static int bcm2835_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_to_irq()
387 unsigned offset; in bcm2835_gpio_irq_handler() local
403 unsigned reg, unsigned offset, bool enable) in __bcm2835_gpio_irq_config()
417 unsigned offset, bool enable) in bcm2835_gpio_irq_config()
447 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_enable() local
461 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_disable() local
[all …]
/linux-4.4.14/mm/
Dreadahead.c153 pgoff_t offset, unsigned long nr_to_read, in __do_page_cache_readahead()
211 pgoff_t offset, unsigned long nr_to_read) in force_page_cache_readahead()
319 pgoff_t offset, unsigned long max) in count_history_pages()
335 pgoff_t offset, in try_context_readahead()
370 bool hit_readahead_marker, pgoff_t offset, in ondemand_readahead()
481 pgoff_t offset, unsigned long req_size) in page_cache_sync_readahead()
516 struct page *page, pgoff_t offset, in page_cache_async_readahead()
552 SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count) in SYSCALL_DEFINE3() argument
Dfrontswap.c213 pgoff_t offset) in __frontswap_test()
222 pgoff_t offset) in __frontswap_set()
229 pgoff_t offset) in __frontswap_clear()
248 pgoff_t offset = swp_offset(entry); in __frontswap_store() local
303 pgoff_t offset = swp_offset(entry); in __frontswap_load() local
335 void __frontswap_invalidate_page(unsigned type, pgoff_t offset) in __frontswap_invalidate_page()
/linux-4.4.14/arch/arm/boot/compressed/
Datags_to_fdt.c14 int offset = fdt_path_offset(fdt, node_path); in node_offset() local
23 int offset = node_offset(fdt, node_path); in setprop() local
32 int offset = node_offset(fdt, node_path); in setprop_string() local
41 int offset = node_offset(fdt, node_path); in setprop_cell() local
50 int offset = fdt_path_offset(fdt, node_path); in getprop() local
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-console.c15 #define PORT(base_addr, offset) ((unsigned int __iomem *)(base_addr+(offset)*4)) argument
19 static inline unsigned int serial_in(int offset, unsigned int base_addr) in serial_in()
24 static inline void serial_out(int offset, int value, unsigned int base_addr) in serial_out()
/linux-4.4.14/arch/m68k/mac/
Dmisc.c64 static __u8 cuda_read_pram(int offset) in cuda_read_pram()
75 static void cuda_write_pram(int offset, __u8 data) in cuda_write_pram()
119 static __u8 pmu_read_pram(int offset) in pmu_read_pram()
130 static void pmu_write_pram(int offset, __u8 data) in pmu_write_pram()
285 static __u8 via_read_pram(int offset) in via_read_pram()
290 static void via_write_pram(int offset, __u8 data) in via_write_pram()
456 void mac_pram_read(int offset, __u8 *buffer, int len) in mac_pram_read()
479 void mac_pram_write(int offset, __u8 *buffer, int len) in mac_pram_write()
576 unsigned long offset = phys-virt; in mac_reset() local
627 static void unmktime(unsigned long time, long offset, in unmktime()
/linux-4.4.14/arch/arm/mach-imx/
Diomux-v1.c39 static inline unsigned long imx_iomuxv1_readl(unsigned offset) in imx_iomuxv1_readl()
44 static inline void imx_iomuxv1_writel(unsigned long val, unsigned offset) in imx_iomuxv1_writel()
49 static inline void imx_iomuxv1_rmwl(unsigned offset, in imx_iomuxv1_rmwl()
98 unsigned long offset = pin < 16 ? MXC_OCR1(port) : MXC_OCR2(port); in imx_iomuxv1_set_ocr() local
109 unsigned long offset = pin < 16 ? MXC_ICONFA1(port) : MXC_ICONFA2(port); in imx_iomuxv1_set_iconfa() local
120 unsigned long offset = pin < 16 ? MXC_ICONFB1(port) : MXC_ICONFB2(port); in imx_iomuxv1_set_iconfb() local
/linux-4.4.14/tools/testing/nvdimm/test/
Diomap.c54 void __iomem *__nfit_test_ioremap(resource_size_t offset, unsigned long size, in __nfit_test_ioremap()
69 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap_nocache()
83 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
97 void *__wrap_memremap(resource_size_t offset, size_t size, in __wrap_memremap()
124 void __iomem *__wrap_ioremap_nocache(resource_size_t offset, unsigned long size) in __wrap_ioremap_nocache()
130 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) in __wrap_ioremap_wc()
/linux-4.4.14/drivers/net/arcnet/
Dcom90io.c71 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-4.4.14/drivers/net/wireless/b43legacy/
Dradio.c114 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16()
141 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_radio_write16()
155 u16 offset = 0x0400; in b43legacy_set_all_gains() local
190 u16 offset = 0x0400; in b43legacy_set_original_gains() local
333 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) in b43legacy_nrssi_hw_write()
341 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_nrssi_hw_read()
922 u8 id, u16 offset, u16 value) in _stack_save()
936 u8 id, u16 offset) in _stack_restore()
954 #define phy_stacksave(offset) \ argument
959 #define phy_stackrestore(offset) \ argument
[all …]
Dilt.c315 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_ilt_write()
322 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset, u32 val) in b43legacy_ilt_write32()
332 u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_ilt_read()
/linux-4.4.14/drivers/reset/
Dreset-zynq.c29 u32 offset; member
41 int offset = id % BITS_PER_LONG; in zynq_reset_assert() local
58 int offset = id % BITS_PER_LONG; in zynq_reset_deassert() local
75 int offset = id % BITS_PER_LONG; in zynq_reset_status() local
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c247 loff_t offset, size_t size) in qlcnic_sysfs_validate_crb()
270 loff_t offset, size_t size) in qlcnic_sysfs_read_crb()
287 loff_t offset, size_t size) in qlcnic_sysfs_write_crb()
303 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem()
316 loff_t offset, size_t size) in qlcnic_sysfs_read_mem()
338 loff_t offset, size_t size) in qlcnic_sysfs_write_mem()
402 char *buf, loff_t offset, in qlcnic_sysfs_write_pm_config()
452 char *buf, loff_t offset, in qlcnic_sysfs_read_pm_config()
545 char *buf, loff_t offset, in qlcnic_sysfs_write_esw_config()
629 char *buf, loff_t offset, in qlcnic_sysfs_read_esw_config()
[all …]
/linux-4.4.14/arch/xtensa/include/asm/
Dio.h32 static inline void __iomem *ioremap_nocache(unsigned long offset, in ioremap_nocache()
42 static inline void __iomem *ioremap_cache(unsigned long offset, in ioremap_cache()
56 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) in ioremap()
/linux-4.4.14/fs/udf/
Ddirectory.c25 sector_t *offset) in udf_fileident_read()
156 struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, int *offset) in udf_get_fileident()
197 struct short_ad *udf_get_fileshortad(uint8_t *ptr, int maxoffset, uint32_t *offset, in udf_get_fileshortad()
220 struct long_ad *udf_get_filelongad(uint8_t *ptr, int maxoffset, uint32_t *offset, int inc) in udf_get_filelongad()
Dpartition.c30 uint16_t partition, uint32_t offset) in udf_get_pblock()
47 uint16_t partition, uint32_t offset) in udf_get_pblock_virt15()
107 uint16_t partition, uint32_t offset) in udf_get_pblock_virt20()
113 uint16_t partition, uint32_t offset) in udf_get_pblock_spar15()
281 uint16_t partition, uint32_t offset) in udf_try_read_meta()
306 uint16_t partition, uint32_t offset) in udf_get_pblock_meta25()
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_hw.c18 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_writeb() local
30 int offset = 0x500 + (reg << 1); in bochs_dispi_read() local
42 int offset = 0x500 + (reg << 1); in bochs_dispi_write() local
185 unsigned long offset = (unsigned long)addr + in bochs_hw_setbase() local
/linux-4.4.14/drivers/staging/vme/devices/
Dvme_pio2_gpio.c33 static int pio2_gpio_get(struct gpio_chip *chip, unsigned int offset) in pio2_gpio_get()
70 static void pio2_gpio_set(struct gpio_chip *chip, unsigned int offset, in pio2_gpio_set()
102 static int pio2_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in pio2_gpio_dir_in()
121 static int pio2_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int value) in pio2_gpio_dir_out()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_sgmac.c26 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr()
32 u32 offset, u32 val) in xgene_enet_wr_ring_if()
38 u32 offset, u32 val) in xgene_enet_wr_diag_csr()
44 u32 offset, u32 val) in xgene_enet_wr_mcx_csr()
86 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr()
91 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr()
239 u32 offset = p->port_id * 4; in xgene_sgmac_init() local
354 u32 offset = p->port_id * MAC_OFFSET; in xgene_enet_cle_bypass() local
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) in gss_krb5_add_padding()
83 unsigned int offset = (buf->page_base + len - 1) in gss_krb5_remove_padding() local
158 gss_wrap_kerberos_v1(struct krb5_ctx *kctx, int offset, in gss_wrap_kerberos_v1()
266 gss_unwrap_kerberos_v1(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v1()
440 gss_wrap_kerberos_v2(struct krb5_ctx *kctx, u32 offset, in gss_wrap_kerberos_v2()
495 gss_unwrap_kerberos_v2(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v2()
591 gss_wrap_kerberos(struct gss_ctx *gctx, int offset, in gss_wrap_kerberos()
610 gss_unwrap_kerberos(struct gss_ctx *gctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos()
/linux-4.4.14/arch/x86/include/asm/uv/
Duv_hub.h132 unsigned long offset; member
372 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr()
401 static inline unsigned long *uv_global_mmr32_address(int pnode, unsigned long offset) in uv_global_mmr32_address()
407 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, unsigned long val) in uv_write_global_mmr32()
412 static inline unsigned long uv_read_global_mmr32(int pnode, unsigned long offset) in uv_read_global_mmr32()
421 static inline volatile void __iomem *uv_global_mmr64_address(int pnode, unsigned long offset) in uv_global_mmr64_address()
427 static inline void uv_write_global_mmr64(int pnode, unsigned long offset, unsigned long val) in uv_write_global_mmr64()
432 static inline unsigned long uv_read_global_mmr64(int pnode, unsigned long offset) in uv_read_global_mmr64()
441 static inline unsigned long uv_global_gru_mmr_address(int pnode, unsigned long offset) in uv_global_gru_mmr_address()
447 static inline void uv_write_global_mmr8(int pnode, unsigned long offset, unsigned char val) in uv_write_global_mmr8()
[all …]
/linux-4.4.14/fs/xfs/
Dxfs_aops.c138 xfs_off_t offset, in xfs_setfilesize()
284 loff_t offset, in xfs_map_blocks()
348 xfs_off_t offset) in xfs_imap_valid()
572 xfs_off_t offset, in xfs_add_to_ioend()
603 xfs_off_t offset) in xfs_map_buffer()
627 xfs_off_t offset) in xfs_map_at_offset()
702 xfs_off_t offset = page_offset(page); in xfs_convert_page() local
861 unsigned int offset, in xfs_vm_invalidatepage()
892 loff_t offset = page_offset(page); in xfs_aops_discard_page() local
951 loff_t offset; in xfs_vm_writepage() local
[all …]
/linux-4.4.14/fs/fat/
Dfatent.c22 int *offset, sector_t *blocknr) in fat12_ent_blocknr()
32 int *offset, sector_t *blocknr) in fat_ent_blocknr()
41 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) in fat12_ent_set_ptr()
55 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) in fat16_ent_set_ptr()
61 static void fat32_ent_set_ptr(struct fat_entry *fatent, int offset) in fat32_ent_set_ptr()
68 int offset, sector_t blocknr) in fat12_ent_bread()
100 int offset, sector_t blocknr) in fat_ent_bread()
320 int offset, sector_t blocknr) in fat_ent_update_ptr()
353 int err, offset; in fat_ent_read() local
437 int offset; in fat_ent_read_block() local
[all …]
/linux-4.4.14/drivers/char/tpm/
Dtpm_atmel.h29 #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset); argument
30 #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset) argument
81 #define atmel_getb(chip, offset) inb(chip->vendor->base + offset) argument
82 #define atmel_putb(val, chip, offset) outb(val, chip->vendor->base + offset) argument
/linux-4.4.14/lib/
Dfind_bit.c62 unsigned long offset) in find_next_bit()
71 unsigned long offset) in find_next_zero_bit()
177 long size, unsigned long offset) in find_next_zero_bit_le()
186 long size, unsigned long offset) in find_next_bit_le()
/linux-4.4.14/arch/arm/mach-mmp/
Ddevices.c81 static unsigned int u2o_get(void __iomem *base, unsigned int offset) in u2o_get()
86 static void u2o_set(void __iomem *base, unsigned int offset, in u2o_set()
97 static void u2o_clear(void __iomem *base, unsigned int offset, in u2o_clear()
108 static void u2o_write(void __iomem *base, unsigned int offset, in u2o_write()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Defuse.c234 u8 offset, wren; in read_efuse() local
420 u16 offset, u32 *value) in efuse_shadow_read()
432 void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset, in efuse_shadow_write()
448 u16 i, offset, base; in efuse_shadow_update() local
553 u16 offset, u8 *value) in efuse_shadow_read_1byte()
560 u16 offset, u16 *value) in efuse_shadow_read_2byte()
570 u16 offset, u32 *value) in efuse_shadow_read_4byte()
581 u16 offset, u8 value) in efuse_shadow_write_1byte()
589 u16 offset, u16 value) in efuse_shadow_write_2byte()
599 u16 offset, u32 value) in efuse_shadow_write_4byte()
[all …]
/linux-4.4.14/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c122 unsigned offset, bool *bit) in abx500_gpio_get_bit()
144 unsigned offset, int val) in abx500_gpio_set_bits()
165 static int abx500_gpio_get(struct gpio_chip *chip, unsigned offset) in abx500_gpio_get()
193 static void abx500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in abx500_gpio_set()
203 static int abx500_get_pull_updown(struct abx500_pinctrl *pct, int offset, in abx500_get_pull_updown()
240 int offset, enum abx500_gpio_pull_updown val) in abx500_set_pull_updown()
284 unsigned offset, in abx500_gpio_direction_output()
324 static int abx500_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in abx500_gpio_direction_input()
333 static int abx500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in abx500_gpio_to_irq()
367 unsigned offset; in abx500_set_mode() local
[all …]
/linux-4.4.14/drivers/staging/gs_fpgaboot/
Dgs_fpgaboot.c48 static void read_bitstream(char *bitdata, char *buf, int *offset, int rdsize) in read_bitstream()
54 static void readinfo_bitstream(char *bitdata, char *buf, int *offset) in readinfo_bitstream()
74 static int readlength_bitstream(char *bitdata, int *lendata, int *offset) in readlength_bitstream()
100 static int readmagic_bitstream(char *bitdata, int *offset) in readmagic_bitstream()
138 int offset; in gs_read_bitstream() local
/linux-4.4.14/fs/btrfs/
Dfree-space-cache.c48 u64 offset) in __lookup_free_space_inode()
134 u64 ino, u64 offset) in __create_free_space_inode()
467 unsigned offset = 0; in io_ctl_set_crc() local
490 unsigned offset = 0; in io_ctl_check_crc() local
518 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry()
670 struct btrfs_path *path, u64 offset) in __load_free_space_cache()
983 struct btrfs_path *path, u64 offset, in update_cache_item()
1147 struct btrfs_path *path, u64 offset) in btrfs_wait_cache_io()
1226 struct btrfs_path *path, u64 offset) in __btrfs_write_out_cache()
1408 u64 offset) in offset_to_bit()
[all …]
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.h63 unsigned int offset = reg & 0xffff; in snd_cs46xx_poke() local
76 unsigned int offset = reg & 0xffff; in snd_cs46xx_peek() local
80 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int v… in snd_cs46xx_pokeBA0()
85 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-bus.c125 int fbtft_write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus8()
180 int fbtft_write_vmem16_bus9(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus9()
228 int fbtft_write_vmem8_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem8_bus8()
236 int fbtft_write_vmem16_bus16(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus16()
/linux-4.4.14/drivers/clk/bcm/
Dclk-iproc.h77 unsigned int offset; member
86 unsigned int offset; member
96 unsigned int offset; member
106 unsigned int offset; member
115 unsigned int offset; member
128 unsigned int offset; member
158 unsigned int offset; member
178 unsigned int offset; member
/linux-4.4.14/drivers/crypto/caam/
Dsg_sw_sec4.h14 dma_addr_t dma, u32 len, u32 offset) in dma_to_sec4_sg_one()
33 struct sec4_sg_entry *sec4_sg_ptr, u32 offset) in sg_to_sec4_sg()
51 u32 offset) in sg_to_sec4_sg_last()
/linux-4.4.14/arch/x86/crypto/
Dsha256-avx2-asm.S212 offset = \disp + 1*4 define
263 offset = \disp + 2*4 define
313 offset = \disp + 3*4 define
418 offset = 4*1 + \disp define
458 offset = 4*2 + \disp define
498 offset = 4*3 + \disp define
/linux-4.4.14/kernel/
Dmemremap.c21 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) in ioremap_cache()
27 static void *try_ram_remap(resource_size_t offset, size_t size) in try_ram_remap()
58 void *memremap(resource_size_t offset, size_t size, unsigned long flags) in memremap()
122 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_ingenic.c53 static uint8_t __init early_in(struct uart_port *port, int offset) in early_in()
58 static void __init early_out(struct uart_port *port, int offset, uint8_t value) in early_out()
85 int offset; in ingenic_early_console_setup_clock() local
144 static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value) in ingenic_uart_serial_out()
178 static unsigned int ingenic_uart_serial_in(struct uart_port *p, int offset) in ingenic_uart_serial_in()
D8250_uniphier.c41 static unsigned int uniphier_serial_in(struct uart_port *p, int offset) in uniphier_serial_in()
66 static void uniphier_serial_out(struct uart_port *p, int offset, int value) in uniphier_serial_out()
118 int offset = UNIPHIER_UART_DLR << up->port.regshift; in uniphier_serial_dl_read() local
125 int offset = UNIPHIER_UART_DLR << up->port.regshift; in uniphier_serial_dl_write() local
/linux-4.4.14/arch/mips/loongson64/loongson-3/
Dhpet.c22 static unsigned int smbus_read(int offset) in smbus_read()
27 static void smbus_write(int offset, int data) in smbus_write()
32 static void smbus_enable(int offset, int bit) in smbus_enable()
40 static int hpet_read(int offset) in hpet_read()
45 static void hpet_write(int offset, int data) in hpet_write()
/linux-4.4.14/drivers/crypto/qce/
Dcommon.c28 static inline u32 qce_read(struct qce_device *qce, u32 offset) in qce_read()
33 static inline void qce_write(struct qce_device *qce, u32 offset, u32 val) in qce_write()
38 static inline void qce_write_array(struct qce_device *qce, u32 offset, in qce_write_array()
48 qce_clear_array(struct qce_device *qce, u32 offset, unsigned int len) in qce_clear_array()
231 u32 totallen, u32 offset) in qce_setup_regs_ahash()
316 u32 totallen, u32 offset) in qce_setup_regs_ablkcipher()
397 u32 offset) in qce_start()
/linux-4.4.14/drivers/pinctrl/intel/
Dpinctrl-baytrail.c152 static void __iomem *byt_gpio_reg(struct gpio_chip *chip, unsigned offset, in byt_gpio_reg()
166 static void byt_gpio_clear_triggering(struct byt_gpio *vg, unsigned offset) in byt_gpio_clear_triggering()
179 static u32 byt_get_gpio_mux(struct byt_gpio *vg, unsigned offset) in byt_get_gpio_mux()
194 static int byt_gpio_request(struct gpio_chip *chip, unsigned offset) in byt_gpio_request()
230 static void byt_gpio_free(struct gpio_chip *chip, unsigned offset) in byt_gpio_free()
241 u32 offset = irqd_to_hwirq(d); in byt_irq_type() local
273 static int byt_gpio_get(struct gpio_chip *chip, unsigned offset) in byt_gpio_get()
287 static void byt_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in byt_gpio_set()
306 static int byt_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in byt_gpio_direction_input()
454 unsigned offset = irqd_to_hwirq(d); in byt_irq_ack() local
[all …]
/linux-4.4.14/drivers/soc/tegra/fuse/
Dfuse-tegra.c44 static u8 fuse_readb(struct tegra_fuse *fuse, unsigned int offset) in fuse_readb()
175 unsigned int offset = fuse->soc->info->spare + spare * 4; in tegra_fuse_read_spare() local
180 u32 __init tegra_fuse_read_early(unsigned int offset) in tegra_fuse_read_early()
185 int tegra_fuse_readl(unsigned long offset, u32 *value) in tegra_fuse_readl()
/linux-4.4.14/drivers/vfio/pci/
Dvfio_pci_config.c40 #define is_bar(offset) \ argument
128 static int vfio_user_config_read(struct pci_dev *pdev, int offset, in vfio_user_config_read()
159 static int vfio_user_config_write(struct pci_dev *pdev, int offset, in vfio_user_config_write()
182 int offset, __le32 *val) in vfio_default_config_read()
208 int offset, __le32 val) in vfio_default_config_write()
255 int offset, __le32 *val) in vfio_direct_config_read()
280 int offset, __le32 val) in vfio_raw_config_write()
293 int offset, __le32 *val) in vfio_raw_config_read()
473 int offset, __le32 *val) in vfio_basic_config_read()
494 int offset, __le32 val) in vfio_basic_config_write()
[all …]
/linux-4.4.14/arch/metag/include/asm/
Dio.h151 #define ioremap(offset, size) \ argument
154 #define ioremap_nocache(offset, size) \ argument
157 #define ioremap_cached(offset, size) \ argument
160 #define ioremap_wc(offset, size) \ argument
163 #define ioremap_wt(offset, size) \ argument
/linux-4.4.14/arch/s390/include/asm/
Dpci_io.h66 static inline int zpci_write_single(u64 req, const u64 *data, u64 offset, u8 len) in zpci_write_single()
90 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) in zpci_read_single()
117 static inline int zpci_write_block(u64 req, const u64 *data, u64 offset) in zpci_write_block()
139 u64 req, offset = ZPCI_OFFSET(src); in zpci_memcpy_fromio() local
160 u64 req, offset = ZPCI_OFFSET(dst); in zpci_memcpy_toio() local
/linux-4.4.14/fs/squashfs/
Dfile.c60 static struct meta_index *locate_meta_index(struct inode *inode, int offset, in locate_meta_index()
99 static struct meta_index *empty_meta_index(struct inode *inode, int offset, in empty_meta_index()
174 u64 *start_block, int *offset) in read_indexes()
241 int offset = 0; in fill_meta_index() local
339 int offset; in read_blocklist() local
375 int bytes, int offset) in squashfs_copy_cache()
/linux-4.4.14/fs/nfs/
Dnfs42proc.c41 loff_t offset, loff_t len) in _nfs42_proc_fallocate()
77 loff_t offset, loff_t len) in nfs42_proc_fallocate()
93 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_allocate()
114 int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) in nfs42_proc_deallocate()
138 static loff_t _nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in _nfs42_proc_llseek()
174 loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) in nfs42_proc_llseek()
/linux-4.4.14/block/partitions/
Dmsdos.c216 sector_t offset, sector_t size, int origin) in parse_solaris_x86()
273 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd()
323 sector_t offset, sector_t size, int origin) in parse_freebsd()
331 sector_t offset, sector_t size, int origin) in parse_netbsd()
339 sector_t offset, sector_t size, int origin) in parse_openbsd()
352 sector_t offset, sector_t size, int origin) in parse_unixware()
396 sector_t offset, sector_t size, int origin) in parse_minix()
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wlan_cfg.c164 static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8) in wilc_wlan_cfg_set_byte()
180 static int wilc_wlan_cfg_set_hword(u8 *frame, u32 offset, u16 id, u16 val16) in wilc_wlan_cfg_set_hword()
198 static int wilc_wlan_cfg_set_word(u8 *frame, u32 offset, u16 id, u32 val32) in wilc_wlan_cfg_set_word()
218 static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, u32 size) in wilc_wlan_cfg_set_str()
237 static int wilc_wlan_cfg_set_bin(u8 *frame, u32 offset, u16 id, u8 *b, u32 size) in wilc_wlan_cfg_set_bin()
389 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size) in wilc_wlan_cfg_set_wid()
414 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id) in wilc_wlan_cfg_get_wid()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowacpi.c36 nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) in nouveau_acpi_get_bios_chunk()
47 acpi_read_fast(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in acpi_read_fast()
68 acpi_read_slow(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in acpi_read_slow()
/linux-4.4.14/drivers/isdn/hisax/
Ddiva.c132 ReadISAC(struct IsdnCardState *cs, u_char offset) in ReadISAC()
138 WriteISAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC()
156 ReadISAC_IPAC(struct IsdnCardState *cs, u_char offset) in ReadISAC_IPAC()
162 WriteISAC_IPAC(struct IsdnCardState *cs, u_char offset, u_char value) in WriteISAC_IPAC()
180 ReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) in ReadHSCX()
187 WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) in WriteHSCX()
194 MemReadISAC_IPAC(struct IsdnCardState *cs, u_char offset) in MemReadISAC_IPAC()
200 MemWriteISAC_IPAC(struct IsdnCardState *cs, u_char offset, u_char value) in MemWriteISAC_IPAC()
220 MemReadHSCX(struct IsdnCardState *cs, int hscx, u_char offset) in MemReadHSCX()
226 MemWriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value) in MemWriteHSCX()
[all …]
/linux-4.4.14/arch/arm/common/
Dscoop.c58 unsigned offset, int value) in __scoop_gpio_set()
70 static void scoop_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in scoop_gpio_set()
82 static int scoop_gpio_get(struct gpio_chip *chip, unsigned offset) in scoop_gpio_get()
91 unsigned offset) in scoop_gpio_direction_input()
109 unsigned offset, int value) in scoop_gpio_direction_output()
/linux-4.4.14/arch/arm/mach-w90x900/
Dgpio.c54 static int nuc900_gpio_get(struct gpio_chip *chip, unsigned offset) in nuc900_gpio_get()
66 static void nuc900_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in nuc900_gpio_set()
87 static int nuc900_dir_input(struct gpio_chip *chip, unsigned offset) in nuc900_dir_input()
105 static int nuc900_dir_output(struct gpio_chip *chip, unsigned offset, int val) in nuc900_dir_output()
/linux-4.4.14/arch/x86/platform/ce4100/
Dce4100.c47 static unsigned int mem_serial_in(struct uart_port *p, int offset) in mem_serial_in()
63 static unsigned int ce4100_mem_serial_in(struct uart_port *p, int offset) in ce4100_mem_serial_in()
87 static void ce4100_mem_serial_out(struct uart_port *p, int offset, int value) in ce4100_mem_serial_out()
/linux-4.4.14/drivers/memory/tegra/
Dmc.h17 static inline u32 mc_readl(struct tegra_mc *mc, unsigned long offset) in mc_readl()
23 unsigned long offset) in mc_writel()
/linux-4.4.14/arch/arm/mach-gemini/
Dgpio.c154 static void _set_gpio_direction(struct gpio_chip *chip, unsigned offset, in _set_gpio_direction()
168 static void gemini_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in gemini_gpio_set()
178 static int gemini_gpio_get(struct gpio_chip *chip, unsigned offset) in gemini_gpio_get()
185 static int gemini_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in gemini_gpio_direction_input()
191 static int gemini_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in gemini_gpio_direction_output()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dqsfp.c68 int offset, void *bp, int len) in __i2c_write()
102 int i2c_write(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_write()
121 int offset, void *bp, int len) in __i2c_read()
174 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read()
193 int offset; in qsfp_write() local
246 int offset; in qsfp_read() local
/linux-4.4.14/drivers/usb/musb/
Dblackfin.c41 static u8 bfin_readb(const void __iomem *addr, unsigned offset) in bfin_readb()
46 static u16 bfin_readw(const void __iomem *addr, unsigned offset) in bfin_readw()
51 static u32 bfin_readl(const void __iomem *addr, unsigned offset) in bfin_readl()
56 static void bfin_writeb(void __iomem *addr, unsigned offset, u8 data) in bfin_writeb()
61 static void bfin_writew(void __iomem *addr, unsigned offset, u16 data) in bfin_writew()
66 static void bfin_writel(void __iomem *addr, unsigned offset, u32 data) in bfin_writel()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c78 nvkm_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nvkm_instobj_rd32()
84 nvkm_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nvkm_instobj_wr32()
90 nvkm_instobj_map(struct nvkm_memory *memory, struct nvkm_vma *vma, u64 offset) in nvkm_instobj_map()
146 nvkm_instobj_rd32_slow(struct nvkm_memory *memory, u64 offset) in nvkm_instobj_rd32_slow()
153 nvkm_instobj_wr32_slow(struct nvkm_memory *memory, u64 offset, u32 data) in nvkm_instobj_wr32_slow()
179 u32 offset; in nvkm_instobj_new() local
/linux-4.4.14/arch/um/os-Linux/
Daio.c20 unsigned long long offset; member
67 int len, unsigned long long offset, struct aio_context *aio) in do_aio()
266 unsigned long long offset, struct aio_context *aio) in submit_aio_26()
295 unsigned long long offset, struct aio_context *aio) in submit_aio_26()
362 unsigned long long offset, struct aio_context *aio) in submit_aio_24()
382 unsigned long long offset, int reply_fd, in submit_aio()
/linux-4.4.14/drivers/pcmcia/
Dvrc4173_cardu.c56 static inline uint8_t exca_readb(vrc4173_socket_t *socket, uint16_t offset) in exca_readb()
61 static inline uint16_t exca_readw(vrc4173_socket_t *socket, uint16_t offset) in exca_readw()
71 static inline void exca_writeb(vrc4173_socket_t *socket, uint16_t offset, uint8_t val) in exca_writeb()
76 static inline void exca_writew(vrc4173_socket_t *socket, uint8_t offset, uint16_t val) in exca_writew()
82 static inline uint32_t cardbus_socket_readl(vrc4173_socket_t *socket, u16 offset) in cardbus_socket_readl()
87 static inline void cardbus_socket_writel(vrc4173_socket_t *socket, u16 offset, uint32_t val) in cardbus_socket_writel()
308 uint32_t start, stop, offset, page; in cardu_get_mem_map() local
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c64 u16 offset = 0; in i40e_parse_ieee_etscfg_tlv() local
134 u16 offset = 0; in i40e_parse_ieee_etsrec_tlv() local
216 u16 offset = 0; in i40e_parse_ieee_app_tlv() local
306 u16 offset = 0; in i40e_parse_cee_pgcfg_tlv() local
381 u16 length, typelength, offset = 0; in i40e_parse_cee_app_tlv() local
522 u16 offset = 0; in i40e_lldp_to_dcb_config() local
943 u32 offset = (2 * I40E_NVM_LLDP_CFG_PTR); in i40e_read_lldp_cfg() local
/linux-4.4.14/drivers/misc/ibmasm/
Dibmasmfs.c264 static ssize_t command_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in command_file_read()
301 …ize_t command_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) in command_file_write()
373 static ssize_t event_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in event_file_read()
416 …c ssize_t event_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) in event_file_write()
457 …ic ssize_t r_heartbeat_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in r_heartbeat_file_read()
485 …e_t r_heartbeat_file_write(struct file *file, const char __user *buf, size_t count, loff_t *offset) in r_heartbeat_file_write()
507 …size_t remote_settings_file_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in remote_settings_file_read()
541 …mote_settings_file_write(struct file *file, const char __user *ubuff, size_t count, loff_t *offset) in remote_settings_file_write()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-flash.c28 #define ADRS(offset) (COBALT_BUS_FLASH_BASE + offset) argument
37 static map_word flash_read16(struct map_info *map, unsigned long offset) in flash_read16()
51 unsigned long offset) in flash_write16()
/linux-4.4.14/lib/lzo/
Dlzo1x_decompress_safe.c68 size_t offset; in lzo1x_decompress_safe() local
136 size_t offset; in lzo1x_decompress_safe() local
161 size_t offset; in lzo1x_decompress_safe() local

12345678910>>...21