| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-stmfx.c | 45 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument 46 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument 47 #define get_mask(offset) (BIT(get_shift(offset))) argument 103 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get() 116 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set() 126 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction() 147 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input() 157 unsigned int offset, int value) in stmfx_gpio_direction_output() 169 unsigned int offset) in stmfx_pinconf_get_pupd() 183 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | radio.c | 99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16() 126 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_radio_write16() 139 u16 offset = 0x0400; in b43legacy_set_all_gains() local 174 u16 offset = 0x0400; in b43legacy_set_original_gains() local 317 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) in b43legacy_nrssi_hw_write() 324 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_nrssi_hw_read() 905 u8 id, u16 offset, u16 value) in _stack_save() 919 u8 id, u16 offset) in _stack_restore() 937 #define phy_stacksave(offset) \ argument 942 #define phy_stackrestore(offset) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_sysfs.c | 246 loff_t offset, size_t size) in qlcnic_sysfs_validate_crb() 269 loff_t offset, size_t size) in qlcnic_sysfs_read_crb() 286 loff_t offset, size_t size) in qlcnic_sysfs_write_crb() 302 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem() 315 loff_t offset, size_t size) in qlcnic_sysfs_read_mem() 337 loff_t offset, size_t size) in qlcnic_sysfs_write_mem() 401 char *buf, loff_t offset, in qlcnic_sysfs_write_pm_config() 451 char *buf, loff_t offset, in qlcnic_sysfs_read_pm_config() 544 char *buf, loff_t offset, in qlcnic_sysfs_write_esw_config() 628 char *buf, loff_t offset, in qlcnic_sysfs_read_esw_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-moxtet.c | 34 static int moxtet_gpio_get_value(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_value() 55 static void moxtet_gpio_set_value(struct gpio_chip *gc, unsigned int offset, in moxtet_gpio_set_value() 75 static int moxtet_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_direction() 89 unsigned int offset) in moxtet_gpio_direction_input() 102 unsigned int offset, int val) in moxtet_gpio_direction_output()
|
| H A D | gpio-ts4900.c | 40 unsigned int offset) in ts4900_gpio_get_direction() 54 unsigned int offset) in ts4900_gpio_direction_input() 65 unsigned int offset, int value) in ts4900_gpio_direction_output() 94 static int ts4900_gpio_get(struct gpio_chip *chip, unsigned int offset) in ts4900_gpio_get() 104 static void ts4900_gpio_set(struct gpio_chip *chip, unsigned int offset, in ts4900_gpio_set()
|
| H A D | gpio-pisosr.c | 65 unsigned offset) in pisosr_gpio_get_direction() 72 unsigned offset) in pisosr_gpio_direction_input() 79 unsigned offset, int value) in pisosr_gpio_direction_output() 85 static int pisosr_gpio_get(struct gpio_chip *chip, unsigned offset) in pisosr_gpio_get() 99 unsigned long offset; in pisosr_gpio_get_multiple() local
|
| H A D | gpio-amd8111.c | 79 static int amd_gpio_request(struct gpio_chip *chip, unsigned offset) in amd_gpio_request() 91 static void amd_gpio_free(struct gpio_chip *chip, unsigned offset) in amd_gpio_free() 100 static void amd_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in amd_gpio_set() 115 static int amd_gpio_get(struct gpio_chip *chip, unsigned offset) in amd_gpio_get() 127 static int amd_gpio_dirout(struct gpio_chip *chip, unsigned offset, int value) in amd_gpio_dirout() 144 static int amd_gpio_dirin(struct gpio_chip *chip, unsigned offset) in amd_gpio_dirin()
|
| H A D | gpio-reg.c | 25 static int gpio_reg_get_direction(struct gpio_chip *gc, unsigned offset) in gpio_reg_get_direction() 33 static int gpio_reg_direction_output(struct gpio_chip *gc, unsigned offset, in gpio_reg_direction_output() 45 static int gpio_reg_direction_input(struct gpio_chip *gc, unsigned offset) in gpio_reg_direction_input() 52 static void gpio_reg_set(struct gpio_chip *gc, unsigned offset, int value) in gpio_reg_set() 69 static int gpio_reg_get(struct gpio_chip *gc, unsigned offset) in gpio_reg_get() 99 static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset) in gpio_reg_to_irq()
|
| H A D | gpio-madera.c | 24 unsigned int offset) in madera_gpio_get_direction() 43 static int madera_gpio_direction_in(struct gpio_chip *chip, unsigned int offset) in madera_gpio_direction_in() 54 static int madera_gpio_get(struct gpio_chip *chip, unsigned int offset) in madera_gpio_get() 71 unsigned int offset, int value) in madera_gpio_direction_out() 90 static void madera_gpio_set(struct gpio_chip *chip, unsigned int offset, in madera_gpio_set()
|
| /OK3568_Linux_fs/kernel/fs/iomap/ |
| H A D | seek.c | 74 page_cache_seek_hole_data(struct inode *inode, loff_t offset, loff_t length, in page_cache_seek_hole_data() 121 iomap_seek_hole_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_hole_actor() 140 iomap_seek_hole(struct inode *inode, loff_t offset, const struct iomap_ops *ops) in iomap_seek_hole() 164 iomap_seek_data_actor(struct inode *inode, loff_t offset, loff_t length, in iomap_seek_data_actor() 183 iomap_seek_data(struct inode *inode, loff_t offset, const struct iomap_ops *ops) in iomap_seek_data()
|
| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A D | read_write.c | 28 loff_t offset, size_t size) in ecryptfs_write_lower() 62 loff_t offset; in ecryptfs_write_lower_page_segment() local 93 int ecryptfs_write(struct inode *ecryptfs_inode, char *data, loff_t offset, in ecryptfs_write() 219 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower() 250 loff_t offset; in ecryptfs_read_lower_page_segment() local
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| H A D | memcpy.S | 19 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument 33 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument 43 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument 51 #define MOVE_LASTALIGNCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument 57 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_sgmac.c | 14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() 19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr() 26 u32 offset, u32 val) in xgene_enet_wr_ring_if() 32 u32 offset, u32 val) in xgene_enet_wr_diag_csr() 38 u32 offset, u32 val) in xgene_enet_wr_mcx_csr() 45 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr() 50 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr() 55 static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_mcx_csr() 334 u32 data, data1, data2, offset; in xgene_sgmac_init() local 487 u32 offset = p->port_id * MAC_OFFSET; in xgene_enet_cle_bypass() local
|
| /OK3568_Linux_fs/kernel/drivers/ssb/ |
| H A D | pcmcia.c | 71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write() 83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read() 197 u16 *offset) in select_core_and_segment() 223 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8() 239 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16() 255 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32() 275 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read() 331 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8() 344 static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pcmcia_write16() 357 static void ssb_pcmcia_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pcmcia_write32() [all …]
|
| /OK3568_Linux_fs/kernel/sound/firewire/dice/ |
| H A D | dice.h | 137 unsigned int offset, in snd_dice_transaction_write_global() 145 unsigned int offset, in snd_dice_transaction_read_global() 153 unsigned int offset, in snd_dice_transaction_write_tx() 160 unsigned int offset, in snd_dice_transaction_read_tx() 167 unsigned int offset, in snd_dice_transaction_write_rx() 174 unsigned int offset, in snd_dice_transaction_read_rx() 181 unsigned int offset, in snd_dice_transaction_write_sync() 188 unsigned int offset, in snd_dice_transaction_read_sync()
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pcie_layerscape.c | 26 static unsigned int dbi_readl(struct ls_pcie *pcie, unsigned int offset) in dbi_readl() 32 unsigned int offset) in dbi_writel() 37 static unsigned int ctrl_readl(struct ls_pcie *pcie, unsigned int offset) in ctrl_readl() 46 unsigned int offset) in ctrl_writel() 148 unsigned long long offset = 0; in ls_pcie_setup_atu() local 245 int offset) in ls_pcie_conf_address() 267 uint offset, ulong *valuep, in ls_pcie_read_config() 296 uint offset, ulong value, in ls_pcie_write_config()
|
| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | 74x164_gpio.c | 63 static int gen_74x164_get_value(struct udevice *dev, unsigned offset) in gen_74x164_get_value() 72 static int gen_74x164_set_value(struct udevice *dev, unsigned offset, in gen_74x164_set_value() 92 static int gen_74x164_direction_input(struct udevice *dev, unsigned offset) in gen_74x164_direction_input() 97 static int gen_74x164_direction_output(struct udevice *dev, unsigned offset, in gen_74x164_direction_output() 103 static int gen_74x164_get_function(struct udevice *dev, unsigned offset) in gen_74x164_get_function()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | spram.c | 43 static void ispram_store_tag(unsigned int offset, unsigned int data) in ispram_store_tag() 62 static unsigned int ispram_load_tag(unsigned int offset) in ispram_load_tag() 80 static void dspram_store_tag(unsigned int offset, unsigned int data) in dspram_store_tag() 96 static unsigned int dspram_load_tag(unsigned int offset) in dspram_load_tag() 120 unsigned int offset = 0; in probe_spram() local
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pasemi/ |
| H A D | pci.c | 27 static inline int pa_pxp_offset_valid(u8 bus, u8 devfn, int offset) in pa_pxp_offset_valid() 40 u8 bus, u8 devfn, int offset) in pa_pxp_cfg_addr() 58 int offset, int len, u32 *val) in workaround_5945() 156 int offset, int len, u32 *val) in pa_pxp_read_config() 195 int offset, int len, u32 val) in pa_pxp_write_config() 290 void __iomem *pasemi_pci_getcfgaddr(struct pci_dev *dev, int offset) in pasemi_pci_getcfgaddr()
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | i2c_eeprom.c | 13 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 23 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() 33 static int i2c_eeprom_std_read(struct udevice *dev, int offset, uint8_t *buf, in i2c_eeprom_std_read() 39 static int i2c_eeprom_std_write(struct udevice *dev, int offset, in i2c_eeprom_std_write()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/stm32/ |
| H A D | pinctrl-stm32.c | 154 u32 offset, u32 value) in stm32_gpio_backup_value() 160 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode() 169 static void stm32_gpio_backup_driving(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_driving() 176 static void stm32_gpio_backup_speed(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_speed() 183 static void stm32_gpio_backup_bias(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_bias() 193 unsigned offset, int value) in __stm32_gpio_set() 207 static int stm32_gpio_request(struct gpio_chip *chip, unsigned offset) in stm32_gpio_request() 223 static void stm32_gpio_free(struct gpio_chip *chip, unsigned offset) in stm32_gpio_free() 228 static int stm32_gpio_get_noclk(struct gpio_chip *chip, unsigned int offset) in stm32_gpio_get_noclk() 235 static int stm32_gpio_get(struct gpio_chip *chip, unsigned offset) in stm32_gpio_get() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_coherency.c | 22 static int cpu_set(struct context *ctx, unsigned long offset, u32 v) in cpu_set() 55 static int cpu_get(struct context *ctx, unsigned long offset, u32 *v) in cpu_get() 85 static int gtt_set(struct context *ctx, unsigned long offset, u32 v) in gtt_set() 118 static int gtt_get(struct context *ctx, unsigned long offset, u32 *v) in gtt_get() 151 static int wc_set(struct context *ctx, unsigned long offset, u32 v) in wc_set() 174 static int wc_get(struct context *ctx, unsigned long offset, u32 *v) in wc_get() 195 static int gpu_set(struct context *ctx, unsigned long offset, u32 v) in gpu_set()
|
| /OK3568_Linux_fs/kernel/fs/squashfs/ |
| H A D | file.c | 47 static struct meta_index *locate_meta_index(struct inode *inode, int offset, in locate_meta_index() 86 static struct meta_index *empty_meta_index(struct inode *inode, int offset, in empty_meta_index() 161 u64 *start_block, int *offset) in read_indexes() 232 int offset = 0; in fill_meta_index() local 330 int offset; in read_blocklist() local 364 void squashfs_fill_page(struct page *page, struct squashfs_cache_entry *buffer, int offset, int ava… in squashfs_fill_page() 383 int bytes, int offset) in squashfs_copy_cache()
|
| /OK3568_Linux_fs/u-boot/env/ |
| H A D | mmc.c | 70 const char *offset; in mmc_offset() member 104 s64 offset = CONFIG_ENV_OFFSET; in mmc_offset() local 116 s64 offset = mmc_offset(copy); in mmc_get_env_addr() local 187 unsigned long offset, const void *buffer) in write_env() 205 u32 offset; in env_mmc_save() local 250 unsigned long offset, const void *buffer) in read_env() 331 u32 offset; in env_mmc_load() local
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | fwofld.h | 40 #define GET_W8_MSK(offset) \ argument 44 #define GET_W16_MSK(offset) \ argument 47 #define MAC_REG_W8_OFLD(offset, val, lc) \ argument 50 #define MAC_REG_W16_OFLD(offset, val, lc) \ argument 53 #define MAC_REG_W32_OFLD(offset, val, lc) \ argument 56 #define MAC_REG_W_OFLD(offset, mask, val, lc) \ argument 59 #define MAC_REG_P_OFLD(offset, mask, val, lc) \ argument
|