Searched refs:parent (Results 201 - 225 of 304) sorted by relevance

1234567891011>>

/fuchsia/zircon/system/dev/bus/platform/
H A Dplatform-proxy-device.h31 explicit ProxyDevice(zx_device_t* parent, uint32_t device_id, fbl::RefPtr<PlatformProxy> proxy);
34 static zx_status_t CreateRoot(zx_device_t* parent, fbl::RefPtr<PlatformProxy> proxy);
37 static zx_status_t CreateChild(zx_device_t* parent, uint32_t device_id,
/fuchsia/zircon/system/dev/gpu/aml-gpu/
H A Daml-gpu.c178 static zx_status_t aml_gpu_bind(void* ctx, zx_device_t* parent) { argument
185 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &gpu->pdev)) != ZX_OK) {
263 status = device_add(parent, &args, &gpu->zxdev);
/fuchsia/zircon/system/dev/gpio/gpio-test/
H A Dgpio-test.c145 static zx_status_t gpio_test_bind(void* ctx, zx_device_t* parent) { argument
152 if (device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &pdev) != ZX_OK) {
185 zx_status_t status = device_add(parent, &args, NULL);
/fuchsia/zircon/system/dev/ethernet/aml-ethernet-s912/
H A Daml-ethernet.cpp40 zx_status_t AmlEthernet::InitPdev(zx_device_t* parent) { argument
42 zx_status_t status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &pdev_);
55 status = device_get_protocol(parent, ZX_PROTOCOL_I2C, &i2c_);
/fuchsia/zircon/system/ulib/fuzz-utils/
H A Dpath.cpp107 // Now recursively create the parent directories
112 xprintf("Failed to ensure parent directory: %s\n", zx_status_get_string(rc));
162 fbl::unique_ptr<Path> parent; local
163 parent.swap(parent_->parent_);
164 parent_.swap(parent);
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dph.c86 node_validate(const node_t *node, const node_t *parent) argument
91 if (parent != NULL) {
92 assert_d_ge(node_cmp_magic(node, parent), 0,
93 "Child is less than parent");
/fuchsia/zircon/system/dev/audio/usb-audio/
H A Dusb-audio-stream-interface.cpp17 // We use our parent's log prefix
23 UsbAudioDevice* parent,
25 ZX_DEBUG_ASSERT(parent != nullptr);
34 new (&ac) UsbAudioStreamInterface(parent, iter->desc_list(), iid));
40 LOG_EX(ERROR, *parent,
45 LOG_EX(ERROR, *parent,
22 Create( UsbAudioDevice* parent, DescriptorListMemory::Iterator* iter) argument
/fuchsia/zircon/system/dev/display/hikey-display/
H A Ddsi.c346 static zx_status_t dsi_bind(void* ctx, zx_device_t* parent) { argument
354 zx_status_t status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &dsi->pdev);
358 dsi->parent = parent;
412 status = device_add(parent, &args, &dsi->zxdev);
/fuchsia/zircon/system/dev/i2c/imx-i2c/
H A Dimx-i2c.cpp245 if (device_get_protocol(parent(), ZX_PROTOCOL_PLATFORM_DEV, &pdev) != ZX_OK) {
250 if (device_get_protocol(parent(), ZX_PROTOCOL_PLATFORM_BUS, &pbus) != ZX_OK) {
298 extern "C" zx_status_t imx_i2c_bind(void* ctx, zx_device_t* parent) { argument
300 if (device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &pdev) != ZX_OK) {
314 auto dev = fbl::make_unique_checked<imx_i2c::ImxI2cDevice>(&ac, parent, info.mmio_count);
/fuchsia/zircon/system/dev/thermal/aml-thermal-s912/
H A Daml-thermal.c337 static zx_status_t aml_thermal_bind(void* ctx, zx_device_t* parent) { argument
351 status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &thermal->pdev);
353 THERMAL_ERROR("Could not get parent protocol\n");
366 status = device_get_protocol(parent, ZX_PROTOCOL_SCPI, &thermal->scpi);
374 status = device_get_metadata(parent, DEVICE_METADATA_PRIVATE, thermal->device,
395 status = device_add(parent, &args, &thermal->zxdev);
/fuchsia/zircon/system/dev/bluetooth/bt-transport-uart/
H A Dbt-transport-uart.c46 zx_device_t* parent; member in struct:__anon226
474 return device_get_protocol(hci->parent, proto_id, protocol);
491 static zx_status_t hci_bind(void* ctx, zx_device_t* parent) { argument
494 zx_status_t status = device_get_protocol(parent, ZX_PROTOCOL_SERIAL, &serial);
515 hci->parent = parent;
554 status = device_add(parent, &args, &hci->zxdev);
/fuchsia/zircon/system/ulib/minfs/
H A Dfsck.cpp28 zx_status_t CheckInode(ino_t ino, ino_t parent, bool dot_or_dotdot);
51 ino_t parent, uint32_t flags);
171 ino_t parent, uint32_t flags) {
242 if (de->ino != parent) {
243 FS_TRACE_ERROR("check: ino#%u: de[%u]: '..' ino=%u (not parent!)\n", ino, eno, de->ino);
417 zx_status_t MinfsChecker::CheckInode(ino_t ino, ino_t parent, bool dot_or_dotdot) { argument
454 if ((status = CheckDirectory(&inode, ino, parent, CD_DUMP)) < 0) {
457 if ((status = CheckDirectory(&inode, ino, parent, CD_RECURSE)) < 0) {
170 CheckDirectory(minfs_inode_t* inode, ino_t ino, ino_t parent, uint32_t flags) argument
/fuchsia/zircon/system/utest/hid-parser/
H A Dhid-parser-test.cpp156 collection = collection->parent;
162 // No parent collection.
163 EXPECT_TRUE(collection->parent == nullptr);
247 collection = collection->parent;
253 // No parent collection.
254 EXPECT_TRUE(collection->parent == nullptr);
321 // No parent collection.
322 EXPECT_TRUE(collection->parent == nullptr);
346 // No parent collection.
347 EXPECT_TRUE(collection->parent
[all...]
/fuchsia/zircon/system/dev/usb/dwc2/
H A Ddwc2.c115 dwc_usb_t *parent; member in struct:dwc_usb_device
126 zx_device_t* parent; member in struct:dwc_usb
178 dwc_usb_device_t* parent; member in struct:dwc_usb_endpoint
604 ep->parent = dev;
734 dwc->usb_devices[dwc->next_device_address].parent = dwc;
741 ctrl_endpoint->parent = &dwc->usb_devices[dwc->next_device_address];
1173 dwc_usb_device_t* dev = ep->parent;
1187 if (ep->parent->speed == USB_SPEED_HIGH) {
1203 usb_request_physmap(req->setup_req, dev->parent->bti_handle);
1223 usb_request_physmap(usb_req, dev->parent
[all...]
/fuchsia/zircon/system/core/devmgr/
H A Dvfs-rpc.cpp198 zx_status_t memfs_mount(VnodeDir* parent, const char* name, VnodeDir* subtree) { argument
200 zx_status_t status = parent->Lookup(&vn, fbl::StringPiece(name));
207 return parent->vfs()->InstallRemote(fbl::move(vn), fs::MountChannel(h));
H A Ddevice-internal.h95 // parent in the device tree
96 zx_device_t* parent; member in struct:zx_device
98 // for the parent's device_list
/fuchsia/zircon/system/dev/scpi/aml-scpi-s912/
H A Daml-scpi.c283 static zx_status_t aml_scpi_bind(void* ctx, zx_device_t* parent) { argument
292 status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &scpi->pdev);
294 SCPI_ERROR("Could not get parent protocol\n");
297 status = device_get_protocol(parent, ZX_PROTOCOL_MAILBOX, &scpi->mailbox);
/fuchsia/zircon/system/dev/tee/optee/
H A Doptee-controller.cpp184 status = device_get_protocol(parent(), ZX_PROTOCOL_PLATFORM_DEV, &pdev_proto_);
360 extern "C" zx_status_t optee_bind(void* ctx, zx_device_t* parent) { argument
362 auto tee = fbl::make_unique_checked<::optee::OpteeController>(&ac, parent);
/fuchsia/zircon/system/dev/audio/astro-tdm-output/
H A Daudio-stream-out.h32 AstroAudioStreamOut(zx_device_t* parent);
/fuchsia/zircon/system/dev/board/imx8mevk/
H A Dimx8mevk-gpio.c107 status = device_get_protocol(bus->parent, ZX_PROTOCOL_GPIO_IMPL, &bus->gpio);
/fuchsia/zircon/system/dev/display/vim-display/
H A Dvim-display.h59 zx_device_t* parent; member in struct:vim2_display
/fuchsia/zircon/system/dev/i2c/aml-i2c/
H A Daml-i2c.c353 static zx_status_t aml_i2c_bind(void* ctx, zx_device_t* parent) { argument
361 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_DEV, &i2c->pdev)) != ZX_OK) {
367 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
407 status = device_add(parent, &args, &i2c->zxdev);
/fuchsia/zircon/system/dev/nand/ram-nand/
H A Dram-nand.h52 explicit NandDevice(const NandParams& params, zx_device_t* parent = nullptr);
/fuchsia/zircon/system/ulib/memfs/
H A Ddnode.h42 // Takes a parent-less node and makes it a child of the parent node.
45 // If the child is a directory, increments the parent link count by one.
46 static void AddChild(fbl::RefPtr<Dnode> parent, fbl::RefPtr<Dnode> child);
48 // Removes a dnode from its parent (if dnode has a parent)
49 // Decrements parent link count by one.
52 // Detaches a dnode from its parent / vnode.
58 // Look up the child dnode (within a parent directory) by name.
/fuchsia/zircon/system/ulib/tee-client-api/include/tee-client-api/
H A Dtee-client-types.h142 * entirety of its parent Shared Memory block. The parameter structure
144 * Implemetnation must read only the parent field and may update the
147 * region of its parent Shared Memory block and is tagged as input.
149 * region of its parent Shared Memory block and is tagged as output.
151 * region of its parent Shared Memory block and is tagged as both
312 * parent A pointer to a TEEC_SharedMemory structure. The memory reference refers either to the
315 * with the flags defined in the parent Shared Memory Block. Note that the parent field
325 TEEC_SharedMemory* parent; member in struct:__anon1202

Completed in 324 milliseconds

1234567891011>>