Home
last modified time | relevance | path

Searched defs:ofs (Results 1 – 25 of 134) sorted by relevance

123456

/drivers/tty/serial/
Dstm32-usart.c67 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_empty() local
152 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_config_rs485() local
227 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_pending_rx() local
251 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_get_char() local
271 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_receive_chars() local
348 const struct stm32_usart_offsets *ofs = &stm32port->info->ofs; in stm32_usart_tx_dma_complete() local
364 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_enable() local
379 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tc_interrupt_enable() local
387 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tx_interrupt_disable() local
398 const struct stm32_usart_offsets *ofs = &stm32_port->info->ofs; in stm32_usart_tc_interrupt_disable() local
[all …]
/drivers/mtd/spi-nor/
Datmel.c19 static int atmel_at25fs_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_lock()
24 static int atmel_at25fs_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_unlock()
40 static int atmel_at25fs_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_at25fs_is_locked()
69 static int atmel_set_global_protection(struct spi_nor *nor, loff_t ofs, in atmel_set_global_protection()
119 static int atmel_global_protect(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_global_protect()
124 static int atmel_global_unprotect(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_global_unprotect()
129 static int atmel_is_global_protected(struct spi_nor *nor, loff_t ofs, uint64_t len) in atmel_is_global_protected()
Dswp.c50 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, in spi_nor_get_locked_range_sr()
87 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr()
109 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_locked_sr()
115 static bool spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_is_unlocked_sr()
154 static int spi_nor_sr_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_lock()
239 static int spi_nor_sr_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_unlock()
324 static int spi_nor_sr_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_is_locked()
346 static int spi_nor_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_lock()
361 static int spi_nor_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_unlock()
376 static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len) in spi_nor_is_locked()
Dsst.c13 static int sst26vf_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26vf_lock()
18 static int sst26vf_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26vf_unlock()
38 static int sst26vf_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26vf_is_locked()
/drivers/net/wireless/intel/iwlwifi/
Diwl-io.c17 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()
113 u32 iwl_read_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_prph_no_grab()
121 void iwl_write_prph_no_grab(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph_no_grab()
128 void iwl_write_prph64_no_grab(struct iwl_trans *trans, u64 ofs, u64 val) in iwl_write_prph64_no_grab()
136 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_prph()
148 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) in iwl_write_prph_delay()
173 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) in iwl_set_bits_prph()
[all …]
Diwl-io.h42 static inline void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph()
66 static inline u32 iwl_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_umac_prph()
71 static inline u32 iwl_read_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph_no_grab()
77 static inline u32 iwl_read_umac_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_umac_prph()
82 static inline void iwl_write_umac_prph_no_grab(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph_no_grab()
89 static inline void iwl_write_umac_prph(struct iwl_trans *trans, u32 ofs, in iwl_write_umac_prph()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dregs.h9 #define MT_MCU_WFDMA0(ofs) (MT_MCU_WFDMA0_BASE + (ofs)) argument
14 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
23 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
35 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
57 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
88 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
96 #define MT_WF_ETBF(_band, ofs) (MT_WF_ETBF_BASE(_band) + (ofs)) argument
119 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument
132 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument
158 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument
[all …]
/drivers/net/wireless/mediatek/mt76/mt7921/
Dregs.h9 #define MT_MCU_WFDMA1(ofs) (MT_MCU_WFDMA1_BASE + (ofs)) argument
18 #define MT_PLE(ofs) (MT_PLE_BASE + (ofs)) argument
29 #define MT_MDP(ofs) (MT_MDP_BASE + (ofs)) argument
52 #define MT_WF_TMAC(_band, ofs) (MT_WF_TMAC_BASE(_band) + (ofs)) argument
77 #define MT_WF_DMA(_band, ofs) (MT_WF_DMA_BASE(_band) + (ofs)) argument
85 #define MT_WF_LPON(_band, ofs) (MT_WF_LPON_BASE(_band) + (ofs)) argument
96 #define MT_WF_MIB(_band, ofs) (MT_WF_MIB_BASE(_band) + (ofs)) argument
145 #define MT_WTBLON_TOP(ofs) (MT_WTBLON_TOP_BASE + (ofs)) argument
163 #define MT_WF_AGG(_band, ofs) (MT_WF_AGG_BASE(_band) + (ofs)) argument
194 #define MT_WF_ARB(_band, ofs) (MT_WF_ARB_BASE(_band) + (ofs)) argument
[all …]
/drivers/mtd/maps/
Dpci.c37 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()
Dphysmap-core.c129 unsigned long ofs) in physmap_set_addr_gpios()
150 unsigned long ofs) in physmap_addr_gpios_read()
167 unsigned long ofs, ssize_t len) in physmap_addr_gpios_copy_from()
189 unsigned long ofs) in physmap_addr_gpios_write()
203 static void physmap_addr_gpios_copy_to(struct map_info *map, unsigned long ofs, in physmap_addr_gpios_copy_to()
Ddc21285.c54 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()
Dmap_funcs.c13 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()
Dsbc_gxx.c91 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs) in sbc_gxx_page()
102 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8()
Dpcmciamtd.c108 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/media/pci/pt3/
Dpt3_dma.c61 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/net/wireless/mediatek/mt76/mt7615/
Dregs.h36 #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
69 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs)) argument
88 #define MT_HIF2(ofs) (MT_HIF2_BASE + (ofs)) argument
162 #define MT_CSR(ofs) ((dev)->reg_map[MT_CSR_BASE] + (ofs)) argument
165 #define MT_PLE(ofs) ((dev)->reg_map[MT_PLE_BASE] + (ofs)) argument
177 #define MT_PSE(ofs) ((dev)->reg_map[MT_PSE_BASE] + (ofs)) argument
189 #define MT_PP(ofs) ((dev)->reg_map[MT_PP_BASE] + (ofs)) argument
195 #define MT_WF_PHY(ofs) (MT_WF_PHY_BASE + (ofs)) argument
[all …]
/drivers/pci/controller/dwc/
Dpcie-intel-gw.c75 static void pcie_update_bits(void __iomem *base, u32 ofs, u32 mask, u32 val) in pcie_update_bits()
86 static inline void pcie_app_wr(struct intel_pcie_port *lpp, u32 ofs, u32 val) in pcie_app_wr()
91 static void pcie_app_wr_mask(struct intel_pcie_port *lpp, u32 ofs, in pcie_app_wr_mask()
97 static inline u32 pcie_rc_cfg_rd(struct intel_pcie_port *lpp, u32 ofs) in pcie_rc_cfg_rd()
102 static inline void pcie_rc_cfg_wr(struct intel_pcie_port *lpp, u32 ofs, u32 val) in pcie_rc_cfg_wr()
107 static void pcie_rc_cfg_wr_mask(struct intel_pcie_port *lpp, u32 ofs, in pcie_rc_cfg_wr_mask()
/drivers/mtd/lpddr/
Dlpddr_cmds.c541 unsigned long ofs, last_end = 0; in lpddr_point() local
593 unsigned long ofs; in lpddr_unpoint() local
652 unsigned long ofs, vec_seek, i; in lpddr_writev() local
694 unsigned long ofs, len; in lpddr_erase() local
751 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_lock()
756 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in lpddr_unlock()
/drivers/mtd/
Dmtdconcat.c481 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/
Ddocg3.c433 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
1008 int block0, block1, page, ofs, is_good; in doc_block_isbad() local
1180 int block0, block1, page, ret = 0, ofs = 0; in doc_erase() local
1226 int block0, block1, page, ret, ofs = 0; in doc_write_page() local
1374 static int doc_write_oob(struct mtd_info *mtd, loff_t ofs, in doc_write_oob()
/drivers/net/arcnet/
Darc-rawmode.c45 int ofs; in rx() local
118 int ofs; in prepare_tx() local
Drfc1051.c127 int ofs; in rx() local
212 int ofs; in prepare_tx() local
Dcapmode.c49 int ofs; in rx() local
137 int ofs; in prepare_tx() local
/drivers/mtd/chips/
Dfwh_lock.h80 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()
Dcfi_cmdset_0020.c387 unsigned long ofs; in cfi_staa_read() local
614 unsigned long ofs; in cfi_staa_write_buffers() local
1126 static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_staa_lock()
1272 static int cfi_staa_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in cfi_staa_unlock()

123456