/u-boot/api/ |
A D | api.c | 201 struct device_info *di; in API_dev_enum() local 205 if (di == NULL) in API_dev_enum() 214 if (dev_enum_net(di)) in API_dev_enum() 226 di->cookie = NULL; in API_dev_enum() 234 struct device_info *di; in API_dev_open() local 239 if (di == NULL) in API_dev_open() 246 if (di->cookie == NULL) in API_dev_open() 266 struct device_info *di; in API_dev_close() local 271 if (di == NULL) in API_dev_close() 329 if (di == NULL) in API_dev_write() [all …]
|
A D | api_display.c | 19 int display_get_info(int type, struct display_info *di) in display_get_info() argument 21 if (!di) in display_get_info() 31 di->pixel_width = panel_info.vl_col; in display_get_info() 32 di->pixel_height = panel_info.vl_row; in display_get_info() 33 di->screen_rows = lcd_get_screen_rows(); in display_get_info() 34 di->screen_cols = lcd_get_screen_columns(); in display_get_info() 39 di->type = type; in display_get_info()
|
A D | api_storage.c | 110 if (di->cookie != NULL) { in dev_stor_get() 113 if (di->cookie == in dev_stor_get() 128 if (di->cookie != NULL) { in dev_stor_get() 140 di->type = specs[type].type; in dev_stor_get() 142 dd = (struct blk_desc *)di->cookie; in dev_stor_get() 147 di->di_stor.block_count = dd->lba; in dev_stor_get() 151 di->cookie = NULL; in dev_stor_get() 204 if (di->cookie == NULL) { in dev_enum_stor() 214 } else if (dev_is_stor(type, di)) { in dev_enum_stor() 264 (u_int32_t)di->cookie); in dev_enum_stor() [all …]
|
A D | api_net.c | 56 int dev_enum_net(struct device_info *di) in dev_enum_net() argument 60 di->type = DEV_TYP_NET; in dev_enum_net() 61 di->cookie = (void *)eth_current; in dev_enum_net() 62 if (di->cookie == NULL) in dev_enum_net() 65 memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6); in dev_enum_net() 68 (u_int32_t)di->cookie); in dev_enum_net() 99 int dev_enum_net(struct device_info *di) in dev_enum_net() argument
|
A D | api_private.h | 31 int display_get_info(int type, struct display_info *di);
|
/u-boot/examples/api/ |
A D | glue.c | 181 struct device_info *di; in ub_dev_enum() local 185 di = &devices[0]; in ub_dev_enum() 196 di++; in ub_dev_enum() 215 struct device_info *di; in ub_dev_open() local 221 di = &devices[handle]; in ub_dev_open() 231 struct device_info *di; in ub_dev_close() local 236 di = &devices[handle]; in ub_dev_close() 277 struct device_info *di; in ub_dev_read() local 284 di = &devices[handle]; in ub_dev_read() 313 di = &devices[handle]; in ub_dev_recv() [all …]
|
A D | demo.c | 32 struct device_info *di; in main() local 104 di = ub_dev_get(i); in main() 106 if (di->type & DEV_TYP_STOR) in main() 131 di = ub_dev_get(i); in main() 133 if (di->type == DEV_TYP_NET) in main() 296 struct device_info *di = ub_dev_get(handle); in test_dump_di() local 299 printf(" cookie\t= 0x%08x\n", (uint32_t)di->cookie); in test_dump_di() 300 printf(" type\t\t= 0x%08x\n", di->type); in test_dump_di() 302 if (di->type == DEV_TYP_NET) { in test_dump_di() 305 printf("%02x ", di->di_net.hwaddr[i]); in test_dump_di() [all …]
|
A D | glue.h | 63 int ub_display_get_info(int type, struct display_info *di);
|
/u-boot/drivers/video/imx/ |
A D | ipu_regs.h | 333 #define DI_GENERAL(di) (&DI_REG(di)->general) argument 334 #define DI_BS_CLKGEN0(di) (&DI_REG(di)->bs_clkgen0) argument 335 #define DI_BS_CLKGEN1(di) (&DI_REG(di)->bs_clkgen1) argument 337 #define DI_SW_GEN0(di, gen) (&DI_REG(di)->sw_gen0[gen - 1]) argument 338 #define DI_SW_GEN1(di, gen) (&DI_REG(di)->sw_gen1[gen - 1]) argument 339 #define DI_STP_REP(di, gen) (&DI_REG(di)->stp_rep[(gen - 1) / 2]) argument 340 #define DI_STP_REP9(di) (&DI_REG(di)->stp_rep9) argument 341 #define DI_SYNC_AS_GEN(di) (&DI_REG(di)->sync_as) argument 342 #define DI_DW_GEN(di, gen) (&DI_REG(di)->dw_gen[gen]) argument 344 #define DI_POL(di) (&DI_REG(di)->pol) argument [all …]
|
A D | ipu_disp.c | 43 #define DC_DISP_ID_SYNC(di) (di) argument 181 static void ipu_di_data_wave_config(int di, in ipu_di_data_wave_config() argument 188 __raw_writel(reg, DI_DW_GEN(di, wave_gen)); in ipu_di_data_wave_config() 196 reg = __raw_readl(DI_DW_GEN(di, wave_gen)); in ipu_di_data_pin_config() 199 __raw_writel(reg, DI_DW_GEN(di, wave_gen)); in ipu_di_data_pin_config() 224 __raw_writel(reg, DI_SW_GEN0(di, wave_gen)); in ipu_di_sync_config() 542 if (di) { in ipu_dc_init() 563 reg |= di << 2; in ipu_dc_init() 611 int di; in ipu_dp_dc_enable() local 632 di = g_dc_di_assignment[dc_chan]; in ipu_dp_dc_enable() [all …]
|
A D | ipu.h | 152 uint32_t di; member 159 uint32_t di; member 169 uint32_t di; member 260 void ipu_dc_init(int dc_chan, int di, unsigned char interlaced);
|
A D | ipu_common.c | 601 if (params->mem_dc_sync.di > 1) { in ipu_init_channel() 606 g_dc_di_assignment[1] = params->mem_dc_sync.di; in ipu_init_channel() 607 ipu_dc_init(1, params->mem_dc_sync.di, in ipu_init_channel() 609 ipu_di_use_count[params->mem_dc_sync.di]++; in ipu_init_channel() 614 if (params->mem_dp_bg_sync.di > 1) { in ipu_init_channel() 619 g_dc_di_assignment[5] = params->mem_dp_bg_sync.di; in ipu_init_channel() 622 ipu_dc_init(5, params->mem_dp_bg_sync.di, in ipu_init_channel() 624 ipu_di_use_count[params->mem_dp_bg_sync.di]++; in ipu_init_channel()
|
/u-boot/test/py/tests/test_android/ |
A D | test_ab.py | 49 di = None variable 52 global di 53 if not di: 54 di = ABTestDiskImage(u_boot_console) 55 return di
|
/u-boot/fs/squashfs/ |
A D | sqfs_inode.c | 46 struct squashfs_directory_index *di; in sqfs_inode_size() local 52 di = ldir->index; in sqfs_inode_size() 54 sz = get_unaligned_le32(&di->size) + 1; in sqfs_inode_size() 56 di = (void *)di + sizeof(*di) + sz; in sqfs_inode_size()
|
/u-boot/arch/arc/lib/ |
A D | libgcc2.h | 61 #define __NW(a,b) __gnu_ ## a ## di ## b 64 #define __NW(a,b) __ ## a ## di ## b 77 #define __NDW(a,b) __gnu_ ## a ## di ## b 80 #define __NDW(a,b) __ ## a ## di ## b
|
/u-boot/fs/btrfs/ |
A D | btrfs.c | 19 struct btrfs_dir_item *di) in show_dir() argument 33 u8 type = btrfs_dir_type(eb, di); in show_dir() 44 btrfs_dir_item_key_to_cpu(eb, di, &key); in show_dir() 108 read_extent_buffer(eb, namebuf, (unsigned long)(di + 1), in show_dir() 109 btrfs_dir_name_len(eb, di)); in show_dir() 110 printf("%24.24s %.*s", filetime, btrfs_dir_name_len(eb, di), namebuf); in show_dir()
|
A D | dir-item.c | 147 struct btrfs_dir_item *di; in btrfs_iter_dir() local 152 di = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_iter_dir() 154 if (verify_dir_item(root, path.nodes[0], di)) { in btrfs_iter_dir() 158 ret = callback(root, path.nodes[0], di); in btrfs_iter_dir()
|
/u-boot/drivers/mtd/ubi/ |
A D | kapi.c | 32 void ubi_do_get_device_info(struct ubi_device *ubi, struct ubi_device_info *di) in ubi_do_get_device_info() argument 34 di->ubi_num = ubi->ubi_num; in ubi_do_get_device_info() 35 di->leb_size = ubi->leb_size; in ubi_do_get_device_info() 36 di->leb_start = ubi->leb_start; in ubi_do_get_device_info() 37 di->min_io_size = ubi->min_io_size; in ubi_do_get_device_info() 38 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info() 39 di->ro_mode = ubi->ro_mode; in ubi_do_get_device_info() 41 di->cdev = ubi->cdev.dev; in ubi_do_get_device_info() 54 int ubi_get_device_info(int ubi_num, struct ubi_device_info *di) in ubi_get_device_info() argument 63 ubi_do_get_device_info(ubi, di); in ubi_get_device_info()
|
/u-boot/arch/arm/include/asm/mach-imx/ |
A D | video.h | 13 int di; member
|
/u-boot/include/linux/mtd/ |
A D | ubi.h | 223 struct ubi_device_info di; member 230 int ubi_get_device_info(int ubi_num, struct ubi_device_info *di);
|
/u-boot/arch/arm/mach-imx/ |
A D | video.c | 47 ret = ipuv3_fb_init(&displays[i].mode, displays[i].di ? 1 : 0, in board_video_skip()
|
/u-boot/drivers/bios_emulator/include/ |
A D | biosemu.h | 176 u16 di_hi, di; member 186 u16 di, di_hi; member
|
/u-boot/arch/x86/lib/ |
A D | bios.h | 67 DOWNTO16(di);
|
/u-boot/board/ge/b1x5v2/ |
A D | b1x5v2.c | 154 .di = 0, 177 .di = 0, 200 .di = 0,
|
/u-boot/drivers/video/exynos/ |
A D | exynos_mipi_dsi_lowlevel.h | 93 unsigned int di, const unsigned char data0, const unsigned char data1);
|