Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 124) sorted by relevance

12345

/rk3399_rockchip-uboot/examples/api/
H A Dglue.c212 int ub_dev_open(int handle) in ub_dev_open() argument
217 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_open()
220 di = &devices[handle]; in ub_dev_open()
228 int ub_dev_close(int handle) in ub_dev_close() argument
232 if (handle < 0 || handle >= UB_MAX_DEV) in ub_dev_close()
235 di = &devices[handle]; in ub_dev_close()
251 static int dev_valid(int handle) in dev_valid() argument
253 if (handle < 0 || handle >= UB_MAX_DEV) in dev_valid()
256 if (devices[handle].state != DEV_STA_OPEN) in dev_valid()
262 static int dev_stor_valid(int handle) in dev_stor_valid() argument
[all …]
H A Dglue.h55 int ub_dev_open(int handle);
56 int ub_dev_close(int handle);
57 int ub_dev_read(int handle, void *buf, lbasize_t len,
59 int ub_dev_send(int handle, void *buf, int len);
60 int ub_dev_recv(int handle, void *buf, int len, int *rlen);
H A Ddemo.c293 void test_dump_di(int handle) in test_dump_di() argument
296 struct device_info *di = ub_dev_get(handle); in test_dump_di()
298 printf("device info (%d):\n", handle); in test_dump_di()
/rk3399_rockchip-uboot/include/
H A Dsmbios.h64 u16 handle; member
83 u16 handle; member
101 u16 handle; member
121 u16 handle; member
149 u16 handle; member
182 u16 handle; member
191 u16 handle; member
198 u16 handle; member
212 int length, int handle) in fill_smbios_header() argument
218 header->handle = handle; in fill_smbios_header()
[all …]
H A Defi_api.h78 void **handle, efi_guid_t *protocol,
81 void *handle, efi_guid_t *protocol,
83 efi_status_t (EFIAPI *uninstall_protocol_interface)(void *handle,
105 efi_status_t (EFIAPI *start_image)(efi_handle_t handle,
108 efi_status_t (EFIAPI *exit)(efi_handle_t handle,
131 efi_status_t (EFIAPI *open_protocol)(efi_handle_t handle,
135 efi_status_t (EFIAPI *close_protocol)(void *handle,
138 efi_status_t(EFIAPI *open_protocol_information)(efi_handle_t handle,
142 efi_status_t (EFIAPI *protocols_per_handle)(efi_handle_t handle,
152 void **handle, ...);
[all …]
/rk3399_rockchip-uboot/lib/
H A Dsmbios.c76 static int smbios_write_type0(ulong *current, int handle) in smbios_write_type0() argument
82 fill_smbios_header(t, SMBIOS_BIOS_INFORMATION, len, handle); in smbios_write_type0()
111 static int smbios_write_type1(ulong *current, int handle) in smbios_write_type1() argument
118 fill_smbios_header(t, SMBIOS_SYSTEM_INFORMATION, len, handle); in smbios_write_type1()
132 static int smbios_write_type2(ulong *current, int handle) in smbios_write_type2() argument
138 fill_smbios_header(t, SMBIOS_BOARD_INFORMATION, len, handle); in smbios_write_type2()
150 static int smbios_write_type3(ulong *current, int handle) in smbios_write_type3() argument
156 fill_smbios_header(t, SMBIOS_SYSTEM_ENCLOSURE, len, handle); in smbios_write_type3()
202 static int smbios_write_type4(ulong *current, int handle) in smbios_write_type4() argument
208 fill_smbios_header(t, SMBIOS_PROCESSOR_INFORMATION, len, handle); in smbios_write_type4()
[all …]
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_boottime.c455 static efi_status_t EFIAPI efi_install_protocol_interface(void **handle, in efi_install_protocol_interface() argument
463 if (!handle || !protocol || in efi_install_protocol_interface()
470 if (!*handle) { in efi_install_protocol_interface()
479 if (efiobj->handle != *handle) in efi_install_protocol_interface()
512 static efi_status_t EFIAPI efi_install_protocol_interface_ext(void **handle, in efi_install_protocol_interface_ext() argument
516 EFI_ENTRY("%p, %p, %d, %p", handle, protocol, protocol_interface_type, in efi_install_protocol_interface_ext()
519 return EFI_EXIT(efi_install_protocol_interface(handle, protocol, in efi_install_protocol_interface_ext()
524 static efi_status_t EFIAPI efi_reinstall_protocol_interface(void *handle, in efi_reinstall_protocol_interface() argument
528 EFI_ENTRY("%p, %p, %p, %p", handle, protocol, old_interface, in efi_reinstall_protocol_interface()
533 static efi_status_t EFIAPI efi_uninstall_protocol_interface(void *handle, in efi_uninstall_protocol_interface() argument
[all …]
H A Dhelloworld.c14 efi_status_t EFIAPI efi_main(efi_handle_t handle, in efi_main() argument
21 boottime->exit(handle, 0, 0, NULL); in efi_main()
/rk3399_rockchip-uboot/tools/
H A Dmingw_support.c28 HANDLE handle = INVALID_HANDLE_VALUE; in mmap() local
48 handle = CreateFileMappingA((HANDLE) _get_osfhandle(fd), NULL, in mmap()
50 if (!handle) in mmap()
53 map = MapViewOfFile(handle, mvf_flags, HIDWORD(offset), in mmap()
55 CloseHandle(handle); in mmap()
/rk3399_rockchip-uboot/arch/nios2/include/asm/
H A Ddma-mapping.h11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() argument
19 if (handle) in dma_alloc_coherent()
20 *handle = addr; in dma_alloc_coherent()
/rk3399_rockchip-uboot/arch/nds32/include/asm/
H A Ddma-mapping.h12 static void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() argument
14 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
15 return (void *)*handle; in dma_alloc_coherent()
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Ddma-mapping.h15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() argument
17 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
18 return (void *)*handle; in dma_alloc_coherent()
/rk3399_rockchip-uboot/arch/arm/include/asm/
H A Ddma-mapping.h15 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() argument
17 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); in dma_alloc_coherent()
18 return (void *)*handle; in dma_alloc_coherent()
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffsfs.c142 static struct yaffsfs_FileDes *yaffsfs_HandleToFileDes(int handle) in yaffsfs_HandleToFileDes() argument
144 struct yaffsfs_Handle *h = yaffsfs_HandleToPointer(handle); in yaffsfs_HandleToFileDes()
152 static struct yaffsfs_Inode *yaffsfs_HandleToInode(int handle) in yaffsfs_HandleToInode() argument
154 struct yaffsfs_FileDes *fd = yaffsfs_HandleToFileDes(handle); in yaffsfs_HandleToInode()
163 static struct yaffs_obj *yaffsfs_HandleToObject(int handle) in yaffsfs_HandleToObject() argument
165 struct yaffsfs_Inode *in = yaffsfs_HandleToInode(handle); in yaffsfs_HandleToObject()
285 int handle = yaffsfs_NewHandle(&h); in yaffsfs_NewHandleAndFileDes() local
287 if (handle < 0) in yaffsfs_NewHandleAndFileDes()
297 return handle; in yaffsfs_NewHandleAndFileDes()
312 static int yaffsfs_GetHandle(int handle) in yaffsfs_GetHandle() argument
[all …]
/rk3399_rockchip-uboot/doc/device-tree-bindings/net/
H A Dfsl-tsec-phy.txt7 - phy-handle : See ethernet.txt file in the same directory.
17 phy-handle = <&phy0>;
52 with other PHYs on the bus. The TBI PHYs are referred to by a "tbi-handle"
53 property under the tsec node, which has a similar meaning of "phy-handle".
57 phy-handle = <&tbi1>;
H A Dethernet.txt17 - phy-handle: phandle, specifies a reference to a node representing a PHY
19 - phy: the same as "phy-handle" property, not recommended for new bindings.
20 - phy-device: the same as "phy-handle" property, not recommended for new
H A Daltera_tse.txt23 - phy-handle: See ethernet.txt in the same directory.
25 include phy-handle or phy-addr.
73 phy-handle = <&phy0>;
111 phy-handle = <&phy1>;
/rk3399_rockchip-uboot/drivers/misc/
H A Dfsl_portals.c100 char handle[64], *p; in fdt_qportal() local
102 strncpy(handle, name, sizeof(handle)); in fdt_qportal()
103 p = strchr(handle, '@'); in fdt_qportal()
110 dev_off = fdt_path_offset(blob, handle); in fdt_qportal()
121 dev_off = fdt_path_offset(blob, handle); in fdt_qportal()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/
H A Dportals.c158 char handle[64], *p; in fdt_qportal() local
160 strncpy(handle, name, sizeof(handle)); in fdt_qportal()
161 p = strchr(handle, '@'); in fdt_qportal()
168 dev_off = fdt_path_offset(blob, handle); in fdt_qportal()
179 dev_off = fdt_path_offset(blob, handle); in fdt_qportal()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dzynqmp-zc1751-xm018-dc4.dts144 phy-handle = <&ethernet_phy0>;
163 phy-handle = <&ethernet_phy7>;
170 phy-handle = <&ethernet_phy3>;
177 phy-handle = <&ethernet_phy8>;
H A Ddra72-evm-revc.dts53 phy-handle = <&dp83867_0>;
59 phy-handle = <&dp83867_1>;
H A Ddragonboard410c-uboot.dtsi2 * U-Boot addition to handle Dragonboard 410c pins
H A Drk3568-evb.dts55 phy-handle = <&rgmii_phy0>;
82 phy-handle = <&rgmii_phy1>;
/rk3399_rockchip-uboot/doc/
H A DREADME.bedbug25 Added code to handle the debug exception (0x2000) on the 405.
26 Also added code to handle critical exceptions since the debug
35 Added code to handle critical exceptions
/rk3399_rockchip-uboot/lib/bzip2/
H A Dbzlib.c923 FILE* handle; member
973 bzf->handle = f; in BZ_API()
1006 if (ferror(bzf->handle)) in BZ_API()
1025 n, bzf->handle ); in BZ_API()
1026 if (n != n2 || ferror(bzf->handle)) in BZ_API()
1065 if (ferror(bzf->handle)) in BZ_API()
1084 n, bzf->handle ); in BZ_API()
1085 if (n != n2 || ferror(bzf->handle)) in BZ_API()
1093 if ( !abandon && !ferror ( bzf->handle ) ) { in BZ_API()
1094 fflush ( bzf->handle ); in BZ_API()
[all …]

12345