/u-boot/scripts/ |
A D | objdiff | 46 dir=${1%/*} 48 if [ "$dir" = "$1" ]; then 49 dir=. 52 dir=$(cd $dir; pwd) 54 echo $TMPD/$CMT${dir#$SRCTREE} 58 dir=$(get_output_dir $1) 60 stripped=$dir/${base%.o}.stripped 61 dis=$dir/${base%.o}.dis 63 [ ! -d "$dir" ] && mkdir -p $dir
|
A D | Makefile.clean | 14 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 15 include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile)
|
/u-boot/fs/squashfs/ |
A D | sqfs_dir.c | 35 struct squashfs_dir_inode *dir; in sqfs_dir_offset() local 41 dir = (struct squashfs_dir_inode *)base; in sqfs_dir_offset() 42 start_block = get_unaligned_le32(&dir->start_block); in sqfs_dir_offset() 43 offset = get_unaligned_le16(&dir->offset); in sqfs_dir_offset() 75 struct squashfs_dir_inode *dir; in sqfs_is_empty_dir() local 80 dir = (struct squashfs_dir_inode *)base; in sqfs_is_empty_dir() 81 file_size = get_unaligned_le16(&dir->file_size); in sqfs_is_empty_dir()
|
A D | sqfs.c | 491 memcpy(&dirs->i_dir, dir, sizeof(*dir)); in sqfs_search_dir() 622 memcpy(&dirs->i_dir, dir, sizeof(*dir)); in sqfs_search_dir() 1154 *dir = NULL; in sqfs_split_path() 1203 if (!*dir) { in sqfs_split_path() 1208 (*dir)[0] = '/'; in sqfs_split_path() 1212 if (!*dir) { in sqfs_split_path() 1221 free(*dir); in sqfs_split_path() 1222 *dir = NULL; in sqfs_split_path() 1573 free(dir); in sqfs_read() 1661 free(dir); in sqfs_size() [all …]
|
/u-boot/include/linux/ |
A D | dma-mapping.h | 30 enum dma_data_direction dir) in dma_map_single() argument 36 if (dir == DMA_FROM_DEVICE) in dma_map_single() 56 enum dma_data_direction dir) in dma_unmap_single() argument 60 if (dir != DMA_TO_DEVICE) in dma_unmap_single()
|
/u-boot/drivers/cache/ |
A D | cache-ncore.c | 43 #define CCU_DIR_REG_ADDR(base, reg, dir) \ argument 44 ((base) + (reg) + ((dir) * DIR_REG_SZ)) 97 u32 i, dir; in ncore_ccu_init_coh_agent() local 109 for (dir = 0; dir < num_of_dirs; dir++) { in ncore_ccu_init_coh_agent() 112 dir), in ncore_ccu_init_coh_agent()
|
/u-boot/arch/powerpc/include/asm/ |
A D | mpc85xx_gpio.h | 21 unsigned int dir, unsigned int val) in mpc85xx_gpio_set() argument 26 dir &= mask; in mpc85xx_gpio_set() 30 dir |= (in_be32(&gpio->gpdir) & ~mask); in mpc85xx_gpio_set() 39 out_be32(&gpio->gpdir, dir); in mpc85xx_gpio_set()
|
/u-boot/doc/sphinx/ |
A D | load_config.py | 31 dir = config_file[start + 1:end] 33 print("source directory: %s" % dir) 38 if l[0].find(dir + '/') == 0: 40 fn = l[0][len(dir) + 1:]
|
/u-boot/arch/x86/lib/ |
A D | pinctrl_ich6.c | 53 static int ich6_pinctrl_set_direction(uint16_t base, unsigned offset, int dir) in ich6_pinctrl_set_direction() argument 55 if (!dir) in ich6_pinctrl_set_direction() 68 int dir, val; in ich6_pinctrl_cfg_pin() local 85 dir = fdtdec_get_int(gd->fdt_blob, pin_node, "direction", -1); in ich6_pinctrl_cfg_pin() 86 if (dir != -1) in ich6_pinctrl_cfg_pin() 89 dir); in ich6_pinctrl_cfg_pin() 102 gpio_offset[0], gpio_offset[1], is_gpio, dir, val, in ich6_pinctrl_cfg_pin()
|
/u-boot/fs/yaffs2/ |
A D | yaffsfs.c | 644 while (dir) { in yaffsfs_DoFindDirectory() 667 return dir; in yaffsfs_DoFindDirectory() 672 dir = dir->parent; in yaffsfs_DoFindDirectory() 674 dir = yaffs_find_by_name(dir, str); in yaffsfs_DoFindDirectory() 676 dir = yaffsfs_FollowLink(dir, symDepth, loop); in yaffsfs_DoFindDirectory() 678 if (dir && dir->variant_type != in yaffsfs_DoFindDirectory() 715 dir = in yaffsfs_FindObject() 724 obj = dir; in yaffsfs_FindObject() 1447 else if (!dir) in yaffsfs_DoUnlink() 2403 if (dir) in yaffs_mkdir() [all …]
|
/u-boot/fs/ubifs/ |
A D | ubifs.c | 391 struct inode *dir; in ubifs_finddir() local 397 if (!file || !dentry || !dir) { in ubifs_finddir() 403 dir->i_sb = sb; in ubifs_finddir() 406 file->f_path.dentry->d_inode = dir; in ubifs_finddir() 463 free(dir); in ubifs_finddir() 579 struct inode *dir; in ubifs_ls() local 594 if (!file || !dentry || !dir) { in ubifs_ls() 600 dir->i_sb = ubifs_sb; in ubifs_ls() 603 file->f_path.dentry->d_inode = dir; in ubifs_ls() 614 if (dir) in ubifs_ls() [all …]
|
/u-boot/arch/powerpc/cpu/mpc83xx/ |
A D | qe_io.c | 29 static void qe_cfg_iopin(qepio83xx_t *par_io, u8 port, u8 pin, int dir, in qe_cfg_iopin() argument 43 dbit_dir = (u32)(dir << offset); in qe_cfg_iopin() 97 void qe_config_iopin(u8 port, u8 pin, int dir, int open_drain, int assign) in qe_config_iopin() argument 102 qe_cfg_iopin(par_io, port, pin, dir, open_drain, assign); in qe_config_iopin()
|
A D | cpu_init.c | 32 extern void qe_config_iopin(u8 port, u8 pin, int dir, 39 int dir, open_drain, assign; in config_qe_ioports() local 45 dir = qe_iop_conf_tab[i].dir; in config_qe_ioports() 48 qe_config_iopin(port, pin, dir, open_drain, assign); in config_qe_ioports() 247 im->gpio[0].dir = CONFIG_SYS_GPIO1_DIR; in cpu_init_f() 251 im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR; in cpu_init_f()
|
/u-boot/drivers/usb/musb/ |
A D | musb_core.c | 48 # define config_fifo(dir, idx, addr) argument 50 # define config_fifo(dir, idx, addr) \ argument 52 writeb(idx, &musbr->dir##fifosz); \ 53 writew(addr, &musbr->dir##fifoadd); \
|
/u-boot/drivers/gpio/ |
A D | mpc83xx_gpio.c | 66 clrbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_input() 94 setbits_be32(&im->gpio[ctrlr].dir, line_mask); in gpio_direction_output() 155 out_be32(&im->gpio[0].dir, CONFIG_MPC83XX_GPIO_0_INIT_DIRECTION); in mpc83xx_gpio_init_f() 164 out_be32(&im->gpio[1].dir, CONFIG_MPC83XX_GPIO_1_INIT_DIRECTION); in mpc83xx_gpio_init_f()
|
A D | da8xx_gpio.c | 349 setbits_le32(&bank->dir, 1U << GPIO_BIT(gpio)); in _gpio_direction_input() 372 return in_le32(&bank->dir) & (1U << GPIO_BIT(gpio)); in _gpio_get_dir() 378 clrbits_le32(&bank->dir, 1U << GPIO_BIT(gpio)); in _gpio_direction_output() 387 unsigned int gpio, dir, val; in gpio_info() local 392 dir = _gpio_get_dir(bank, gpio); in gpio_info() 396 gpio, dir ? " in" : "out", val, in gpio_info() 491 unsigned int dir; in davinci_gpio_get_function() local 494 dir = _gpio_get_dir(base, offset); in davinci_gpio_get_function() 496 if (dir) in davinci_gpio_get_function()
|
/u-boot/scripts/dtc/ |
A D | srcpos.c | 43 char *dir = xmalloc(len + 1); in get_dirname() local 45 memcpy(dir, path, len); in get_dirname() 46 dir[len] = '\0'; in get_dirname() 47 return dir; in get_dirname() 107 cur_dir = current_srcfile->dir; in fopen_any_on_path() 153 srcfile->dir = get_dirname(srcfile->name); in srcfile_push()
|
/u-boot/drivers/dma/ |
A D | sandbox-dma-test.c | 26 enum dma_direction dir; member 65 uc->dir = DMA_MEM_TO_DEV; in sandbox_dma_of_xlate() 67 uc->dir = DMA_DEV_TO_MEM; in sandbox_dma_of_xlate() 69 uc->dir = DMA_MEM_TO_MEM; in sandbox_dma_of_xlate() 70 debug("%s(dma id=%lu dir=%d)\n", __func__, dma->id, uc->dir); in sandbox_dma_of_xlate() 167 if (uc->dir != DMA_MEM_TO_DEV) in sandbox_dma_send() 197 if (uc->dir != DMA_DEV_TO_MEM) in sandbox_dma_receive()
|
/u-boot/fs/ext4/ |
A D | ext4_common.c | 452 if (dir->namelen % 4 != 0) in check_void_in_dentry() 489 struct ext2_dirent *dir; in ext4fs_update_parent_dentry() local 593 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry() 599 dir = (struct ext2_dirent *)((char *)dir + templength); in ext4fs_update_parent_dentry() 614 dir->filetype = file_type; in ext4fs_update_parent_dentry() 615 temp_dir = (char *)dir; in ext4fs_update_parent_dentry() 639 struct ext2_dirent *dir = NULL; in search_dir() local 677 if (dir->inode && (strlen(dirname) == dir->namelen) && in search_dir() 895 previous_dir = dir; in unlink_filename() 903 if (dir->inode && (strlen(filename) == dir->namelen) && in unlink_filename() [all …]
|
/u-boot/drivers/spi/ |
A D | spi-mem.c | 53 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data() 55 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data() 64 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_map_mem_op_data() 99 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_unmap_mem_op_data() 101 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_unmap_mem_op_data() 107 op->data.dir == SPI_MEM_DATA_IN ? in spi_controller_dma_unmap_mem_op_data() 162 if (op->data.dir != SPI_MEM_NO_DATA && in spi_mem_default_supports_op() 164 op->data.dir == SPI_MEM_DATA_OUT)) in spi_mem_default_supports_op() 321 if (op->data.dir == SPI_MEM_DATA_IN) { in spi_mem_exec_op() 347 if (op->data.dir == SPI_MEM_DATA_IN) in spi_mem_exec_op() [all …]
|
/u-boot/arch/powerpc/dts/ |
A D | kmtuge1.dts | 29 /* port pin dir open_drain assignment has_irq */ 40 /* port pin dir open_drain assignment has_irq */ 59 *port pin dir open_drain assignment has_irq
|
A D | kmtuxa1.dts | 29 /* port pin dir open_drain assignment has_irq */ 40 /* port pin dir open_drain assignment has_irq */ 59 *port pin dir open_drain assignment has_irq
|
/u-boot/fs/fat/ |
A D | fat.c | 1322 fat_dir *dir; in fat_opendir() local 1325 dir = malloc_cache_aligned(sizeof(*dir)); in fat_opendir() 1326 if (!dir) in fat_opendir() 1328 memset(dir, 0, sizeof(*dir)); in fat_opendir() 1330 ret = fat_itr_root(&dir->itr, &dir->fsdata); in fat_opendir() 1342 free(dir->fsdata.fatbuf); in fat_opendir() 1344 free(dir); in fat_opendir() 1350 fat_dir *dir = (fat_dir *)dirs; in fat_readdir() local 1353 if (!fat_itr_next(&dir->itr)) in fat_readdir() 1374 free(dir->fsdata.fatbuf); in fat_closedir() [all …]
|
/u-boot/drivers/net/ |
A D | bcm-sf2-eth.h | 42 int (*enable_dma)(struct eth_dma *dma, int dir); 43 int (*disable_dma)(struct eth_dma *dma, int dir);
|
/u-boot/arch/mips/mach-ath79/ar933x/ |
A D | ddr.c | 240 int i, j, dir, err, done; in ddr_tap_tuning() local 266 dir = 1; in ddr_tap_tuning() 297 if (dir) { in ddr_tap_tuning() 298 dir = 0; in ddr_tap_tuning() 309 if (dir) { in ddr_tap_tuning() 313 dir = 0; in ddr_tap_tuning()
|