Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 11 of 11) sorted by relevance

/hal_microchip-3.7.0/mec5/drivers/
Dmec_espi_oob.c159 int mec_hal_espi_oob_buffer_set(struct mec_espi_io_regs *iobase, uint8_t dir, in mec_hal_espi_oob_buffer_set() argument
182 if (dir == MEC_ESPI_OOB_DIR_DN) { in mec_hal_espi_oob_buffer_set()
278 uint32_t mec_hal_espi_oob_status(struct mec_espi_io_regs *iobase, uint8_t dir) in mec_hal_espi_oob_status() argument
280 if (dir == MEC_ESPI_OOB_DIR_DN) { in mec_hal_espi_oob_status()
287 int mec_hal_espi_oob_is_done(uint32_t status, uint8_t dir) in mec_hal_espi_oob_is_done() argument
291 if (dir == MEC_ESPI_OOB_DIR_DN) { in mec_hal_espi_oob_is_done()
302 int mec_hal_espi_oob_is_error(uint32_t status, uint8_t dir) in mec_hal_espi_oob_is_error() argument
308 if (dir == MEC_ESPI_OOB_DIR_DN) { in mec_hal_espi_oob_is_error()
335 void mec_hal_espi_oob_status_clr_done(struct mec_espi_io_regs *iobase, uint8_t dir) in mec_hal_espi_oob_status_clr_done() argument
337 if (dir == MEC_ESPI_OOB_DIR_UP) { in mec_hal_espi_oob_status_clr_done()
[all …]
Dmec_espi_oob.h71 int mec_hal_espi_oob_buffer_set(struct mec_espi_io_regs *iobase, uint8_t dir,
85 uint32_t mec_hal_espi_oob_status(struct mec_espi_io_regs *iobase, uint8_t dir);
86 int mec_hal_espi_oob_is_done(uint32_t status, uint8_t dir);
87 int mec_hal_espi_oob_is_error(uint32_t status, uint8_t dir);
88 void mec_hal_espi_oob_status_clr_done(struct mec_espi_io_regs *iobase, uint8_t dir);
89 void mec_hal_espi_oob_status_clr_err(struct mec_espi_io_regs *iobase, uint8_t dir);
92 void mec_hal_espi_oob_status_clr_all(struct mec_espi_io_regs *iobase, uint8_t dir);
Dmec_dmac.c453 enum mec_dmac_dir dir) in mec_hal_dma_chan_dir_set() argument
455 if (!base || (chan >= MEC_DMAC_CHAN_MAX) || (dir >= MEC_DMAC_DIR_MAX)) { in mec_hal_dma_chan_dir_set()
459 if (dir == MEC_DMAC_DIR_MEM_TO_DEV) { in mec_hal_dma_chan_dir_set()
469 enum mec_dmac_dir * dir) in mec_hal_dma_chan_dir_get() argument
471 if (!base || !dir || (chan >= MEC_DMAC_CHAN_MAX)) { in mec_hal_dma_chan_dir_get()
475 *dir = MEC_DMAC_DIR_DEV_TO_MEM; in mec_hal_dma_chan_dir_get()
477 *dir = MEC_DMAC_DIR_MEM_TO_DEV; in mec_hal_dma_chan_dir_get()
601 if (cfg->dir == MEC_DMAC_DIR_MEM_TO_DEV) { in mec_hal_dma_chan_cfg()
657 cfg->dir = MEC_DMAC_DIR_MEM_TO_DEV; in mec_hal_dma_chan_cfg_get()
665 cfg->dir = MEC_DMAC_DIR_DEV_TO_MEM; in mec_hal_dma_chan_cfg_get()
Dmec_dmac_api.h94 enum mec_dmac_dir dir; member
134 enum mec_dmac_dir dir);
136 enum mec_dmac_dir *dir);
/hal_microchip-3.7.0/mpfs/mpfs_hal/startup_gcc/
Dnewlib_stubs.c181 int _lseek(int file, int ptr, int dir);
182 int _lseek(int file, int ptr, int dir) in _lseek() argument
186 (void)dir; in _lseek()
/hal_microchip-3.7.0/
D.gitignore2 .dir-locals.el
/hal_microchip-3.7.0/mpfs/drivers/mss/mss_i2c/
Dmss_i2c.c185 this_i2c->dir = WRITE_DIR; in MSS_I2C_write()
258 this_i2c->dir = READ_DIR; in MSS_I2C_read()
341 this_i2c->dir = WRITE_DIR; in MSS_I2C_write_read()
674 (this_i2c->dir & DATA_DIR_MASK)); in mss_i2c_isr()
676 if (this_i2c->dir == WRITE_DIR) in mss_i2c_isr()
680 else if (this_i2c->dir == READ_DIR) in mss_i2c_isr()
743 this_i2c->dir = READ_DIR; in mss_i2c_isr()
Dmss_i2c.h581 uint_fast8_t dir; member
/hal_microchip-3.7.0/mpfs/drivers/mss/mss_usb/
Dmss_usb_common_cif.h476 mss_usb_dma_dir_t dir,
Dmss_usb_common_reg_io.h1205 mss_usb_dma_dir_t dir in MSS_USB_CIF_dma_set_dir() argument
1212 USB->DMA_CHANNEL[dma_channel].CNTL |= (dir << DMA_CNTL_REG_DMA_DIR_SHIFT); in MSS_USB_CIF_dma_set_dir()
/hal_microchip-3.7.0/mec/mec1501/component/
Dgpio.h983 mchp_gpio_dir_set(uintptr_t gp_ctrl_addr, enum mchp_gpio_dir dir) in mchp_gpio_dir_set() argument
987 | (((uint32_t) dir << MCHP_GPIO_CTRL_DIR_POS) in mchp_gpio_dir_set()