Home
last modified time | relevance | path

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

/lk-master/lib/fs/fat32/
A Dfile.c75 if (dir[offset + i] == 0x20) { in fat32_dir_get_filename()
82 if (dir[offset + i] == 0x20) { in fat32_dir_get_filename()
90 result[j++] = dir[offset + i]; in fat32_dir_get_filename()
95 result[j++] = dir[offset + 8 + i]; in fat32_dir_get_filename()
103 if (dir[char_offset] != 0x00 && dir[char_offset] != 0xff) { in fat32_dir_get_filename()
104 result[j++] = dir[char_offset]; in fat32_dir_get_filename()
122 uint8_t *dir = malloc(fat->bytes_per_cluster); in fat32_open_file() local
151 if ( dir[offset] == 0xE5 /*deleted*/) { in fat32_open_file()
154 } else if ((dir[offset + 0x0B] & 0x08)) { in fat32_open_file()
155 if (dir[offset + 0x0B] == 0x0f) { in fat32_open_file()
[all …]
/lk-master/lib/fs/ext2/
A Dext3_fs.h665 #define is_dx(dir) (EXT3_HAS_COMPAT_FEATURE(dir->i_sb, \ argument
667 (EXT3_I(dir)->i_flags & EXT3_INDEX_FL))
668 #define EXT3_DIR_LINK_MAX(dir) (!is_dx(dir) && (dir)->i_nlink >= EXT3_LINK_MAX) argument
669 #define EXT3_DIR_LINK_EMPTY(dir) ((dir)->i_nlink == 2 || (dir)->i_nlink == 1) argument
671 #define is_dx(dir) 0 argument
672 #define EXT3_DIR_LINK_MAX(dir) ((dir)->i_nlink >= EXT3_LINK_MAX) argument
673 #define EXT3_DIR_LINK_EMPTY(dir) ((dir)->i_nlink == 2) argument
A Drules.mk12 $(LOCAL_DIR)/dir.c \
/lk-master/lib/fs/memfs/
A Dmemfs.c323 dircookie *dir = malloc(sizeof(*dir)); in memfs_opendir() local
324 if (!dir) in memfs_opendir()
327 dir->fs = mem; in memfs_opendir()
330 dir->next_file = list_peek_head_type(&mem->files, memfs_file_t, node); in memfs_opendir()
331 list_add_head(&mem->dcookies, &dir->node); in memfs_opendir()
334 *dcookie = dir; in memfs_opendir()
/lk-master/make/
A Dmacros.mk5 GET_LOCAL_DIR = $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
8 MKDIR = if [ ! -d $(dir $@) ]; then mkdir -p $(dir $@); fi
/lk-master/platform/stm32f7xx/
A Dusbc.c226 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type) { in usbc_setup_endpoint() argument
227 LTRACEF("ep %u dir %u width %u\n", ep, dir, width); in usbc_setup_endpoint()
231 …HAL_StatusTypeDef ret = HAL_PCD_EP_Open(&usbc.handle, ep | ((dir == USB_IN) ? 0x80 : 0), width, ty… in usbc_setup_endpoint()
234 if (dir == USB_IN) { in usbc_setup_endpoint()
/lk-master/platform/stm32f0xx/
A Di2c.c288 stm32_i2c_dir_t dir; in stm32_i2c_txn() local
292 dir = STM32_I2C_DIR_W; in stm32_i2c_txn()
296 dir = STM32_I2C_DIR_R; in stm32_i2c_txn()
302 i2c->regs->CR2 = (address & 0x7f) << 1 | dir | (count & 0xff) << I2C_CR2_NBYTES_SHIFT in stm32_i2c_txn()
A Dusbc.c262 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type) { in usbc_setup_endpoint() argument
263 LTRACEF("ep %u dir %u width %u\n", ep, dir, width); in usbc_setup_endpoint()
273 uint8_t ep_addr = ep | ((dir == USB_IN) ? 0x80 : 0); in usbc_setup_endpoint()
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/usbd/
A Dusbd_hw.h244 void (*DirCtrlEP)(USBD_HANDLE_T hUsb, uint32_t dir);
435 extern void hwUSB_DirCtrlEP(USBD_HANDLE_T hUsb, uint32_t dir);
/lk-master/dev/include/dev/
A Dusbc.h54 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type);
/lk-master/lib/fs/spifs/
A Dspifs.c1061 dircookie *dir = malloc(sizeof(*dir)); in spifs_opendir() local
1062 if (!dir) in spifs_opendir()
1065 dir->fs = spifs; in spifs_opendir()
1071 dir->next_file = list_next_type(&spifs->files, &front_toc_file->node, in spifs_opendir()
1073 list_add_head(&spifs->dcookies, &dir->node); in spifs_opendir()
1077 *dcookie = dir; in spifs_opendir()
/lk-master/external/platform/nrfx/hal/
A Dnrf_gpio.h195 nrf_gpio_pin_dir_t dir,
577 nrf_gpio_pin_dir_t dir, in nrf_gpio_cfg() argument
585 reg->PIN_CNF[pin_number] = ((uint32_t)dir << GPIO_PIN_CNF_DIR_Pos) in nrf_gpio_cfg()
/lk-master/platform/stellaris/
A Dusbc.c212 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type) { in usbc_setup_endpoint() argument
/lk-master/.github/workflows/
A Dgithub-ci.yml112 # name: build-dir
/lk-master/external/lib/lwip/netif/ppp/
A Dppp_oe.c1084 pppoe_ifattach_hook(void *arg, struct pbuf **mp, struct netif *ifp, int dir)

Completed in 23 milliseconds