| /drivers/mtd/nand/spi/ |
| A D | otp.c | 52 static int spinand_otp_check_bounds(struct spinand_device *spinand, loff_t ofs, in spinand_otp_check_bounds() 63 loff_t ofs, size_t len) in spinand_user_otp_check_bounds() 69 static int spinand_otp_rw(struct spinand_device *spinand, loff_t ofs, in spinand_otp_rw() 137 int spinand_fact_otp_read(struct spinand_device *spinand, loff_t ofs, in spinand_fact_otp_read() 154 int spinand_user_otp_read(struct spinand_device *spinand, loff_t ofs, in spinand_user_otp_read() 171 int spinand_user_otp_write(struct spinand_device *spinand, loff_t ofs, in spinand_user_otp_write() 242 static int spinand_mtd_fact_otp_read(struct mtd_info *mtd, loff_t ofs, in spinand_mtd_fact_otp_read() 248 static int spinand_mtd_user_otp_read(struct mtd_info *mtd, loff_t ofs, in spinand_mtd_user_otp_read() 254 static int spinand_mtd_user_otp_write(struct mtd_info *mtd, loff_t ofs, in spinand_mtd_user_otp_write() 277 static int spinand_mtd_user_otp_erase(struct mtd_info *mtd, loff_t ofs, in spinand_mtd_user_otp_erase() [all …]
|
| /drivers/tty/serial/ |
| A D | stm32-usart.c | 141 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local 226 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local 351 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_pending_rx_pio() local 371 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_get_char_pio() local 384 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars_pio() local 497 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars() local 656 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_enable() local 671 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tc_interrupt_enable() local 679 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_disable() local 690 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tc_interrupt_disable() local [all …]
|
| /drivers/mtd/spi-nor/ |
| A D | atmel.c | 19 static int at25fs_nor_lock(struct spi_nor *nor, loff_t ofs, u64 len) in at25fs_nor_lock() 24 static int at25fs_nor_unlock(struct spi_nor *nor, loff_t ofs, u64 len) in at25fs_nor_unlock() 40 static int at25fs_nor_is_locked(struct spi_nor *nor, loff_t ofs, u64 len) in at25fs_nor_is_locked() 71 static int atmel_nor_set_global_protection(struct spi_nor *nor, loff_t ofs, in atmel_nor_set_global_protection() 121 static int atmel_nor_global_protect(struct spi_nor *nor, loff_t ofs, u64 len) in atmel_nor_global_protect() 126 static int atmel_nor_global_unprotect(struct spi_nor *nor, loff_t ofs, u64 len) in atmel_nor_global_unprotect() 131 static int atmel_nor_is_global_protected(struct spi_nor *nor, loff_t ofs, in atmel_nor_is_global_protected()
|
| A D | swp.c | 56 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, in spi_nor_get_locked_range_sr() 92 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr() 114 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr) in spi_nor_is_locked_sr() 119 static bool spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, u64 len, in spi_nor_is_unlocked_sr() 158 static int spi_nor_sr_lock(struct spi_nor *nor, loff_t ofs, u64 len) in spi_nor_sr_lock() 247 static int spi_nor_sr_unlock(struct spi_nor *nor, loff_t ofs, u64 len) in spi_nor_sr_unlock() 331 static int spi_nor_sr_is_locked(struct spi_nor *nor, loff_t ofs, u64 len) in spi_nor_sr_is_locked() 353 static int spi_nor_lock(struct mtd_info *mtd, loff_t ofs, u64 len) in spi_nor_lock() 368 static int spi_nor_unlock(struct mtd_info *mtd, loff_t ofs, u64 len) in spi_nor_unlock() 383 static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, u64 len) in spi_nor_is_locked()
|
| A D | sst.c | 16 static int sst26vf_nor_lock(struct spi_nor *nor, loff_t ofs, u64 len) in sst26vf_nor_lock() 21 static int sst26vf_nor_unlock(struct spi_nor *nor, loff_t ofs, u64 len) in sst26vf_nor_unlock() 41 static int sst26vf_nor_is_locked(struct spi_nor *nor, loff_t ofs, u64 len) in sst26vf_nor_is_locked()
|
| /drivers/net/wireless/intel/iwlwifi/ |
| A D | iwl-io.c | 17 void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_write8() 24 void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write32() 31 void iwl_write64(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write64() 39 u32 iwl_read32(struct iwl_trans *trans, u32 ofs) in iwl_read32() 111 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_prph_no_grab() 118 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph_no_grab() 124 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write_prph64_no_grab() 131 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_prph() 171 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) in iwl_set_bits_prph() 182 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, in iwl_set_bits_mask_prph() [all …]
|
| A D | iwl-io.h | 47 static inline void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph() 70 static inline u32 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_umac_prph() 75 static inline u32 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph_no_grab() 81 static inline u32 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph() 86 static inline void iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph_no_grab() 93 static inline void iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph()
|
| A D | iwl-trans.c | 436 void iwl_trans_write8(struct iwl_trans *trans, u32 ofs, u8 val) in iwl_trans_write8() 441 void iwl_trans_write32(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_trans_write32() 446 u32 iwl_trans_read32(struct iwl_trans *trans, u32 ofs) in iwl_trans_read32() 451 u32 iwl_trans_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_trans_read_prph() 456 void iwl_trans_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_trans_write_prph() 563 int iwl_trans_read_config32(struct iwl_trans *trans, u32 ofs, in iwl_trans_read_config32()
|
| /drivers/net/wireless/mediatek/mt76/ |
| A D | mt792x_regs.h | 9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument 18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 261 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 367 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 374 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 389 #define MT_CBTOP_RGU(ofs) (0x70002000 + (ofs)) argument 401 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument 406 #define MT_DMA_SHDL(ofs) (0x7c026000 + (ofs)) argument 431 #define MT_UMAC(ofs) (0x74000000 + (ofs)) argument 460 #define MT_UWFDMA0(ofs) (0x7c024000 + (ofs)) argument [all …]
|
| /drivers/net/wireless/mediatek/mt76/mt7915/ |
| A D | regs.h | 131 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument 147 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 168 #define MT_PSE(ofs) (MT_PSE_BASE + (ofs)) argument 172 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 582 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 614 #define MT_WFDMA1(ofs) (MT_WFDMA1_BASE + (ofs)) argument 1038 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 1096 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 1129 #define MT_SEMA(ofs) (MT_SEMA_BASE + (ofs)) argument 1160 #define MT_SLP(ofs) (MT_SLP_BASE + (ofs)) argument [all …]
|
| /drivers/net/wireless/mediatek/mt76/mt7996/ |
| A D | regs.h | 85 #define MT_RRO_TOP(ofs) (MT_RRO_TOP_BASE + (ofs)) argument 128 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument 145 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument 298 #define MT_WF_UMIB(ofs) (MT_WF_UMIB_BASE + (ofs)) argument 304 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument 402 #define MT_WFDMA0(ofs) (MT_WFDMA0_BASE + (ofs)) argument 632 #define MT_SWDEF(ofs) (MT_SWDEF_BASE + (ofs)) argument 678 #define MT_TOP(ofs) (MT_TOP_BASE + (ofs)) argument 710 #define MT_PCIE_MAC(ofs) (MT_PCIE_MAC_BASE + (ofs)) argument 714 #define MT_PCIE1_MAC(ofs) (MT_PCIE1_MAC_BASE + (ofs)) argument [all …]
|
| /drivers/mtd/maps/ |
| A D | pci.c | 37 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() 45 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() 59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() 124 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() 212 intel_dc21285_translate(struct map_pci_info *map, unsigned long ofs) in intel_dc21285_translate()
|
| A D | physmap-core.c | 122 unsigned long ofs) in physmap_set_addr_gpios() 143 unsigned long ofs) in physmap_addr_gpios_read() 160 unsigned long ofs, ssize_t len) in physmap_addr_gpios_copy_from() 182 unsigned long ofs) in physmap_addr_gpios_write() 196 static void physmap_addr_gpios_copy_to(struct map_info *map, unsigned long ofs, in physmap_addr_gpios_copy_to()
|
| A D | dc21285.c | 54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8() 61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16() 68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32()
|
| A D | map_funcs.c | 13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read() 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
|
| A D | pcmciamtd.c | 108 static map_word pcmcia_read8_remap(struct map_info *map, unsigned long ofs) in pcmcia_read8_remap() 123 static map_word pcmcia_read16_remap(struct map_info *map, unsigned long ofs) in pcmcia_read16_remap() 217 static map_word pcmcia_read8(struct map_info *map, unsigned long ofs) in pcmcia_read8() 232 static map_word pcmcia_read16(struct map_info *map, unsigned long ofs) in pcmcia_read16()
|
| /drivers/net/wireless/mediatek/mt76/mt7615/ |
| A D | regs.h | 36 #define MT_HW_INFO(ofs) (MT_HW_INFO_BASE + (ofs)) argument 52 #define MT_MCU(ofs) (MT_MCU_BASE + (ofs)) argument 65 #define MT_MCU_CIRQ(ofs) (MT_MCU_CIRQ_BASE + (ofs)) argument 88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument 195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument 251 #define MT_WF_CFG(ofs) (MT_WF_CFG_BASE + (ofs)) argument 260 #define MT_WF_AGG(ofs) (MT_WF_AGG_BASE + (ofs)) argument 291 #define MT_WF_ARB(ofs) (MT_WF_ARB_BASE + (ofs)) argument 387 #define MT_WF_DMA(ofs) (MT_WF_DMA_BASE + (ofs)) argument 405 #define MT_WF_PF(ofs) (MT_WF_PF_BASE + (ofs)) argument [all …]
|
| /drivers/media/pci/pt3/ |
| A D | pt3_dma.c | 61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) in next_unit() 75 int idx, ofs; in pt3_proc_dma() local 107 int idx, ofs; in pt3_init_dmabuf() local 150 int idx, ofs; in pt3_alloc_dmabuf() local
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-intel-gw.c | 72 static void pcie_update_bits(void __iomem *base, u32 ofs, u32 mask, u32 val) in pcie_update_bits() 83 static inline void pcie_app_wr(struct intel_pcie *pcie, u32 ofs, u32 val) in pcie_app_wr() 88 static void pcie_app_wr_mask(struct intel_pcie *pcie, u32 ofs, in pcie_app_wr_mask() 94 static inline u32 pcie_rc_cfg_rd(struct intel_pcie *pcie, u32 ofs) in pcie_rc_cfg_rd() 99 static inline void pcie_rc_cfg_wr(struct intel_pcie *pcie, u32 ofs, u32 val) in pcie_rc_cfg_wr() 104 static void pcie_rc_cfg_wr_mask(struct intel_pcie *pcie, u32 ofs, in pcie_rc_cfg_wr_mask()
|
| /drivers/mtd/lpddr/ |
| A D | lpddr_cmds.c | 538 unsigned long ofs, last_end = 0; in lpddr_point() local 590 unsigned long ofs; in lpddr_unpoint() local 649 unsigned long ofs, vec_seek, i; in lpddr_writev() local 691 unsigned long ofs, len; in lpddr_erase() local 748 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_lock() 753 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_unlock()
|
| /drivers/mtd/ |
| A D | mtdconcat.c | 481 static int concat_xxlock(struct mtd_info *mtd, loff_t ofs, uint64_t len, in concat_xxlock() 519 static int concat_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_lock() 524 static int concat_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_unlock() 529 static int concat_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in concat_is_locked() 586 static int concat_block_isbad(struct mtd_info *mtd, loff_t ofs) in concat_block_isbad() 609 static int concat_block_markbad(struct mtd_info *mtd, loff_t ofs) in concat_block_markbad()
|
| /drivers/mtd/devices/ |
| A D | docg3.c | 433 static void doc_setup_writeaddr_sector(struct docg3 *docg3, int sector, int ofs) in doc_setup_writeaddr_sector() 457 int wear, int ofs) in doc_read_seek() 506 int ofs) in doc_write_seek() 833 int *ofs, int reliable) in calc_block_sector() 869 int block0, block1, page, ret, skip, ofs = 0; in doc_read_oob() local 1016 int block0, block1, page, ofs, is_good; in doc_block_isbad() local 1188 int block0, block1, page, ret = 0, ofs = 0; in doc_erase() local 1234 int block0, block1, page, ret, ofs = 0; in doc_write_page() local 1382 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, in doc_write_oob()
|
| /drivers/net/arcnet/ |
| A D | arc-rawmode.c | 45 int ofs; in rx() local 118 int ofs; in prepare_tx() local
|
| A D | rfc1051.c | 128 int ofs; in rx() local 213 int ofs; in prepare_tx() local
|
| /drivers/mtd/chips/ |
| A D | fwh_lock.h | 80 static int fwh_lock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_lock_varsize() 91 static int fwh_unlock_varsize(struct mtd_info *mtd, loff_t ofs, uint64_t len) in fwh_unlock_varsize()
|