| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/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
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | sdio.c | 38 static u32 mt7663s_read_mailbox(struct mt76_dev *dev, u32 offset) in mt7663s_read_mailbox() 93 static void mt7663s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_write_mailbox() 146 static u32 mt7663s_rr(struct mt76_dev *dev, u32 offset) in mt7663s_rr() 154 static void mt7663s_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_wr() 162 static u32 mt7663s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt7663s_rmw() 170 static void mt7663s_write_copy(struct mt76_dev *dev, u32 offset, in mt7663s_write_copy() 182 static void mt7663s_read_copy(struct mt76_dev *dev, u32 offset, in mt7663s_read_copy()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | evergreen_cs.c | 399 unsigned long offset; in evergreen_cs_track_validate_cb() local 566 unsigned long offset; in evergreen_cs_track_validate_stencil() local 663 unsigned long offset; in evergreen_cs_track_validate_depth() local 950 u64 offset = (u64)track->vgt_strmout_bo_offset[i] + in evergreen_cs_track_check() local 1794 uint64_t offset; in evergreen_packet3_check() local 1853 uint64_t offset; in evergreen_packet3_check() local 1889 uint64_t offset; in evergreen_packet3_check() local 1916 uint64_t offset; in evergreen_packet3_check() local 2093 uint64_t offset; in evergreen_packet3_check() local 2115 u64 offset, tmp; in evergreen_packet3_check() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 34 #define is_bar(offset) \ argument 122 static int vfio_user_config_read(struct pci_dev *pdev, int offset, in vfio_user_config_read() 153 static int vfio_user_config_write(struct pci_dev *pdev, int offset, in vfio_user_config_write() 176 int offset, __le32 *val) in vfio_default_config_read() 202 int offset, __le32 val) in vfio_default_config_write() 249 int offset, __le32 *val) in vfio_direct_config_read() 274 int offset, __le32 val) in vfio_raw_config_write() 287 int offset, __le32 *val) in vfio_raw_config_read() 301 int offset, __le32 val) in vfio_virt_config_write() 309 int offset, __le32 *val) in vfio_virt_config_read() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/gpio/ |
| H A D | at91_gpio.c | 46 static void at91_set_port_pullup(struct at91_port *at91_port, unsigned offset, in at91_set_port_pullup() 215 static bool at91_get_port_output(struct at91_port *at91_port, int offset) in at91_get_port_output() 225 static void at91_set_port_input(struct at91_port *at91_port, int offset, in at91_set_port_input() 251 static void at91_set_port_output(struct at91_port *at91_port, int offset, in at91_set_port_output() 414 static void at91_set_port_value(struct at91_port *at91_port, int offset, in at91_set_port_value() 439 static int at91_get_port_value(struct at91_port *at91_port, int offset) in at91_get_port_value() 510 static int at91_gpio_direction_input(struct udevice *dev, unsigned offset) in at91_gpio_direction_input() 520 static int at91_gpio_direction_output(struct udevice *dev, unsigned offset, in at91_gpio_direction_output() 531 static int at91_gpio_get_value(struct udevice *dev, unsigned offset) in at91_gpio_get_value() 539 static int at91_gpio_set_value(struct udevice *dev, unsigned offset, in at91_gpio_set_value() [all …]
|
| H A D | db8500_gpio.c | 87 unsigned offset = get_gpio_offset(gpio); in gpio_set_mode() local 118 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_set_pull() local 138 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_make_input() local 146 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_get_input() local 158 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_make_output() local 167 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_set_output() local
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-xgene.c | 37 static int xgene_gpio_get(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get() 48 static void __xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in __xgene_gpio_set() 65 static void xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set() 75 static int xgene_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get_direction() 89 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in() 110 unsigned int offset, int val) in xgene_gpio_dir_out()
|
| H A D | gpio-bd71828.c | 18 static void bd71828_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set() 38 static int bd71828_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd71828_gpio_get() 56 static int bd71828_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set_config() 81 static int bd71828_get_direction(struct gpio_chip *chip, unsigned int offset) in bd71828_get_direction()
|
| H A D | gpio-stmpe.c | 41 static int stmpe_gpio_get(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_get() 56 static void stmpe_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in stmpe_gpio_set() 75 unsigned offset) in stmpe_gpio_get_direction() 94 unsigned offset, int val) in stmpe_gpio_direction_output() 107 unsigned offset) in stmpe_gpio_direction_input() 117 static int stmpe_gpio_request(struct gpio_chip *chip, unsigned offset) in stmpe_gpio_request() 144 int offset = d->hwirq; in stmpe_gpio_irq_set_type() local 232 int offset = d->hwirq; in stmpe_gpio_irq_mask() local 243 int offset = d->hwirq; in stmpe_gpio_irq_unmask() local 252 unsigned offset, unsigned gpio) in stmpe_dbg_show_one()
|
| /OK3568_Linux_fs/kernel/drivers/net/arcnet/ |
| H A D | com90io.c | 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() 111 static void put_whole_buffer(struct net_device *dev, unsigned offset, in put_whole_buffer() 333 int offset, void *buf, int count) in com90io_copy_to_card() 340 int offset, void *buf, int count) in com90io_copy_from_card()
|
| /OK3568_Linux_fs/kernel/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_wrap.c | 49 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() 247 gss_unwrap_kerberos_v1(struct krb5_ctx *kctx, int offset, int len, in gss_unwrap_kerberos_v1() 409 gss_wrap_kerberos_v2(struct krb5_ctx *kctx, u32 offset, in gss_wrap_kerberos_v2() 460 gss_unwrap_kerberos_v2(struct krb5_ctx *kctx, int offset, int len, in gss_unwrap_kerberos_v2() 561 gss_wrap_kerberos(struct gss_ctx *gctx, int offset, in gss_wrap_kerberos() 579 gss_unwrap_kerberos(struct gss_ctx *gctx, int offset, in gss_unwrap_kerberos()
|
| /OK3568_Linux_fs/kernel/arch/m68k/mac/ |
| H A D | misc.c | 41 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte() 53 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte() 66 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte() 78 static void pmu_pram_write_byte(unsigned char data, int offset) in pmu_pram_write_byte() 211 static unsigned char via_pram_read_byte(int offset) in via_pram_read_byte() 220 static void via_pram_write_byte(unsigned char data, int offset) in via_pram_write_byte() 491 unsigned long offset = phys-virt; in mac_reset() local 546 static void unmktime(time64_t time, long offset, in unmktime()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/maps/ |
| H A D | tsunami_flash.c | 18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() 31 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() 44 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nft_set_pipapo_avx2.c | 104 int offset = start % BITS_PER_LONG; in nft_pipapo_avx2_fill() local 156 static int nft_pipapo_avx2_refill(int offset, unsigned long *map, in nft_pipapo_avx2_refill() 219 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_2() 281 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_4() 357 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_8() 452 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_12() 541 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_4b_32() 676 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_1() 733 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_2() 797 struct nft_pipapo_field *f, int offset, in nft_pipapo_avx2_lookup_8b_4() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_hdmi_regs.h | 127 unsigned int offset; member 137 #define VC4_HD_REG(reg, offset) _VC4_REG(VC4_HD, reg, offset) argument 138 #define VC4_HDMI_REG(reg, offset) _VC4_REG(VC4_HDMI, reg, offset) argument 139 #define VC5_CEC_REG(reg, offset) _VC4_REG(VC5_CEC, reg, offset) argument 140 #define VC5_CSC_REG(reg, offset) _VC4_REG(VC5_CSC, reg, offset) argument 141 #define VC5_DVP_REG(reg, offset) _VC4_REG(VC5_DVP, reg, offset) argument 142 #define VC5_PHY_REG(reg, offset) _VC4_REG(VC5_PHY, reg, offset) argument 143 #define VC5_RAM_REG(reg, offset) _VC4_REG(VC5_RAM, reg, offset) argument 144 #define VC5_RM_REG(reg, offset) _VC4_REG(VC5_RM, reg, offset) argument
|
| /OK3568_Linux_fs/u-boot/drivers/dfu/ |
| H A D | dfu_nand.c | 23 u64 offset, void *buf, long *len) in nand_block_op() 89 u64 offset, void *buf, long *len) in nand_block_write() 95 u64 offset, void *buf, long *len) in nand_block_read() 101 u64 offset, void *buf, long *len) in dfu_write_medium_nand() 124 static int dfu_read_medium_nand(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_nand()
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/bcm/ |
| H A D | pinctrl-bcm2835.c | 313 static int bcm2835_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_direction_input() 318 static int bcm2835_gpio_get(struct gpio_chip *chip, unsigned offset) in bcm2835_gpio_get() 325 static int bcm2835_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in bcm2835_gpio_get_direction() 340 static void bcm2835_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in bcm2835_gpio_set() 348 unsigned offset, int value) in bcm2835_gpio_direction_output() 390 unsigned offset; in bcm2835_gpio_irq_handle_bank() local 446 unsigned reg, unsigned offset, bool enable) in __bcm2835_gpio_irq_config() 460 unsigned offset, bool enable) in bcm2835_gpio_irq_config() 491 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_enable() local 506 unsigned offset = GPIO_REG_SHIFT(gpio); in bcm2835_gpio_irq_disable() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 31 void efuse_shadow_read_one_byte(struct efuse_t *efuse, u16 offset, u8 *value) in efuse_shadow_read_one_byte() 36 void efuse_shadow_read_two_byte(struct efuse_t *efuse, u16 offset, u16 *value) in efuse_shadow_read_two_byte() 42 void efuse_shadow_read_four_byte(struct efuse_t *efuse, u16 offset, u32 *value) in efuse_shadow_read_four_byte() 50 void efuse_shadow_write_one_byte(struct efuse_t *efuse, u16 offset, u16 value) in efuse_shadow_write_one_byte() 55 void efuse_shadow_write_two_byte(struct efuse_t *efuse, u16 offset, u16 value) in efuse_shadow_write_two_byte() 61 void efuse_shadow_write_four_byte(struct efuse_t *efuse, u16 offset, u32 value) in efuse_shadow_write_four_byte() 276 rtw_efuse_shadow_read(void *efuse, u8 byte_count, u16 offset, u32 *value, in rtw_efuse_shadow_read() 313 rtw_efuse_shadow_write(void *efuse, u8 byte_count, u16 offset, u32 value, in rtw_efuse_shadow_write() 645 enum rtw_hal_status rtw_efuse_get_offset_mask(void *efuse, u16 offset, u8 *mask) in rtw_efuse_get_offset_mask() 979 void efuse_bt_shadow_read_one_byte(struct efuse_t *efuse, u16 offset, u8 *value) in efuse_bt_shadow_read_one_byte() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/efuse/ |
| H A D | hal_efuse.c | 31 void efuse_shadow_read_one_byte(struct efuse_t *efuse, u16 offset, u8 *value) in efuse_shadow_read_one_byte() 36 void efuse_shadow_read_two_byte(struct efuse_t *efuse, u16 offset, u16 *value) in efuse_shadow_read_two_byte() 42 void efuse_shadow_read_four_byte(struct efuse_t *efuse, u16 offset, u32 *value) in efuse_shadow_read_four_byte() 50 void efuse_shadow_write_one_byte(struct efuse_t *efuse, u16 offset, u16 value) in efuse_shadow_write_one_byte() 55 void efuse_shadow_write_two_byte(struct efuse_t *efuse, u16 offset, u16 value) in efuse_shadow_write_two_byte() 61 void efuse_shadow_write_four_byte(struct efuse_t *efuse, u16 offset, u32 value) in efuse_shadow_write_four_byte() 276 rtw_efuse_shadow_read(void *efuse, u8 byte_count, u16 offset, u32 *value, in rtw_efuse_shadow_read() 313 rtw_efuse_shadow_write(void *efuse, u8 byte_count, u16 offset, u32 value, in rtw_efuse_shadow_write() 645 enum rtw_hal_status rtw_efuse_get_offset_mask(void *efuse, u16 offset, u8 *mask) in rtw_efuse_get_offset_mask() 979 void efuse_bt_shadow_read_one_byte(struct efuse_t *efuse, u16 offset, u8 *value) in efuse_bt_shadow_read_one_byte() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/ |
| H A D | pfunc_core.c | 161 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg32() local 173 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg32() local 183 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg16() local 195 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg16() local 205 u32 offset = pmf_next32(cmd); in pmf_parser_write_reg8() local 217 u32 offset = pmf_next32(cmd); in pmf_parser_read_reg8() local 235 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg32() local 247 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg16() local 259 u32 offset = pmf_next32(cmd); in pmf_parser_wait_reg8() local 310 u32 offset = pmf_next32(cmd); in pmf_parser_read_cfg() local [all …]
|
| /OK3568_Linux_fs/kernel/include/dt-bindings/clock/ |
| H A D | dra7.h | 9 #define DRA7_CLKCTRL_INDEX(offset) ((offset) - DRA7_CLKCTRL_OFFSET) argument 18 #define _DRA7_IPU_CLKCTRL_INDEX(offset) ((offset) - _DRA7_IPU_CLKCTRL_OFFSET) argument 29 #define DRA7_RTC_CLKCTRL_INDEX(offset) ((offset) - DRA7_RTC_CLKCTRL_OFFSET) argument 39 #define DRA7_VPE_CLKCTRL_INDEX(offset) ((offset) - DRA7_VPE_CLKCTRL_OFFSET) argument 63 #define DRA7_ATL_CLKCTRL_INDEX(offset) ((offset) - DRA7_ATL_CLKCTRL_OFFSET) argument 110 #define _DRA7_L4PER_CLKCTRL_INDEX(offset) ((offset) - _DRA7_L4PER_CLKCTRL_OFFSET) argument 193 #define DRA7_IPU_CLKCTRL_INDEX(offset) ((offset) - DRA7_IPU_CLKCTRL_OFFSET) argument 215 #define DRA7_VPE_CLKCTRL_INDEX(offset) ((offset) - DRA7_VPE_CLKCTRL_OFFSET) argument 242 #define DRA7_ATL_CLKCTRL_INDEX(offset) ((offset) - DRA7_ATL_CLKCTRL_OFFSET) argument 283 #define DRA7_PCIE_CLKCTRL_INDEX(offset) ((offset) - DRA7_PCIE_CLKCTRL_OFFSET) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | sii9234.c | 194 static int sii9234_writeb(struct sii9234 *ctx, int id, int offset, in sii9234_writeb() 212 static int sii9234_writebm(struct sii9234 *ctx, int id, int offset, in sii9234_writebm() 249 static int sii9234_readb(struct sii9234 *ctx, int id, int offset) in sii9234_readb() 284 #define mhl_tx_writeb(sii9234, offset, value) \ argument 286 #define mhl_tx_writebm(sii9234, offset, value, mask) \ argument 288 #define mhl_tx_readb(sii9234, offset) \ argument 290 #define cbus_writeb(sii9234, offset, value) \ argument 292 #define cbus_writebm(sii9234, offset, value, mask) \ argument 294 #define cbus_readb(sii9234, offset) \ argument 296 #define hdmi_writeb(sii9234, offset, value) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/nomadik/ |
| H A D | pinctrl-abx500.c | 90 unsigned offset, bool *bit) in abx500_gpio_get_bit() 113 unsigned offset, int val) in abx500_gpio_set_bits() 134 static int abx500_gpio_get(struct gpio_chip *chip, unsigned offset) in abx500_gpio_get() 162 static void abx500_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in abx500_gpio_set() 173 unsigned offset, in abx500_gpio_direction_output() 203 static int abx500_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in abx500_gpio_direction_input() 212 static int abx500_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in abx500_gpio_to_irq() 246 unsigned offset; in abx500_set_mode() local 370 unsigned offset = gpio - 1; in abx500_get_mode() local 450 unsigned offset, unsigned gpio) in abx500_gpio_dbg_show_one() [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | swapfile.c | 129 unsigned long offset, unsigned long flags) in __try_to_reclaim_swap() 206 offset_to_swap_extent(struct swap_info_struct *sis, unsigned long offset) in offset_to_swap_extent() 230 pgoff_t offset; in swap_page_sector() local 248 pgoff_t offset = start_page - se->start_page; in discard_swap_cluster() local 353 unsigned long offset) in lock_cluster() 376 struct swap_info_struct *si, unsigned long offset) in lock_cluster_or_swap_info() 591 unsigned long offset) in scan_swap_map_ssd_cluster_conflict() 614 unsigned long *offset, unsigned long *scan_base) in scan_swap_map_try_ssd_cluster() 682 static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, in swap_range_alloc() 711 static void swap_range_free(struct swap_info_struct *si, unsigned long offset, in swap_range_free() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/ |
| H A D | pinmux.c | 16 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_set_cfgbank() local 32 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_get_cfgbank() local 53 u32 offset = GPIO_DRV_OFFSET(pin); in sunxi_gpio_set_drv() local 65 u32 offset = GPIO_PULL_OFFSET(pin); in sunxi_gpio_set_pull() local
|