Searched refs:pbus (Results 51 - 75 of 75) sorted by relevance

123

/fuchsia/zircon/system/dev/clk/amlogic-clk/
H A Daml-clk.cpp152 platform_bus_protocol_t pbus; local
153 status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus);
166 status = pbus_register_protocol(&pbus, ZX_PROTOCOL_CLK, &clk_proto, NULL, NULL);
/fuchsia/zircon/system/dev/display/aml-canvas/
H A Daml-canvas.c217 platform_bus_protocol_t pbus; local
218 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
261 pbus_register_protocol(&pbus, ZX_PROTOCOL_AMLOGIC_CANVAS, &canvas->canvas, aml_canvas_proxy_cb,
/fuchsia/zircon/system/dev/board/astro/
H A Dastro-thermal.c279 status = pbus_device_add(&bus->pbus, &thermal_dev);
H A Dastro-sdio.c129 if ((status = pbus_device_add(&bus->pbus, &aml_sd_emmc_dev)) != ZX_OK) {
H A Dastro-rawnand.c120 status = pbus_device_add(&bus->pbus, &raw_nand_dev);
H A Dastro-usb.c104 return pbus_device_add(&bus->pbus, &xhci_dev);
H A Dastro-bluetooth.c125 status = pbus_device_add(&bus->pbus, &bt_uart_dev);
/fuchsia/zircon/system/dev/board/gauss/
H A Dgauss-usb.c102 if ((status = pbus_device_add(&bus->pbus, &xhci_dev)) != ZX_OK) {
H A Dgauss-pcie.c154 zx_status_t st = pbus_device_add(&bus->pbus, &pcie_dev);
H A Dgauss-rawnand.c121 status = pbus_device_add(&bus->pbus, &raw_nand_dev);
/fuchsia/zircon/system/dev/board/vim/
H A Dvim-sdio.c129 if ((status = pbus_device_add(&bus->pbus, &aml_sd_emmc_dev)) != ZX_OK) {
H A Dvim-sd-emmc.c130 if ((status = pbus_device_add(&bus->pbus, &emmc_dev)) != ZX_OK) {
H A Dvim-thermal.c213 zx_status_t status = pbus_device_add(&bus->pbus, &mailbox_dev);
H A Dvim-usb.c106 if ((status = pbus_device_add(&bus->pbus, &xhci_dev)) != ZX_OK) {
H A Dvim-eth.c156 zx_status_t status = pbus_device_add(&bus->pbus, &eth_board_dev);
/fuchsia/zircon/system/dev/board/imx8mevk/
H A Dimx8mevk.c144 if ((status = pbus_device_add(&bus->pbus, &display_dev)) != ZX_OK) {
163 zx_status_t status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &bus->pbus);
H A Dimx8mevk-usb.c189 if ((status = pbus_device_add(&bus->pbus, &usb1_dev)) != ZX_OK) {
193 if ((status = pbus_device_add(&bus->pbus, &usb2_dev)) != ZX_OK) {
H A Dimx8mevk-gpu.c227 status = pbus_device_add(&bus->pbus, &dev);
/fuchsia/zircon/system/dev/i2c/aml-i2c/
H A Daml-i2c.c366 platform_bus_protocol_t pbus; local
367 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
415 pbus_register_protocol(&pbus, ZX_PROTOCOL_I2C_IMPL, &i2c->i2c, NULL, NULL);
/fuchsia/zircon/system/dev/i2c/imx-i2c/
H A Dimx-i2c.cpp249 platform_bus_protocol_t pbus; local
250 if (device_get_protocol(parent(), ZX_PROTOCOL_PLATFORM_BUS, &pbus) != ZX_OK) {
258 pbus_register_protocol(&pbus, ZX_PROTOCOL_I2C_IMPL, &i2c_proto, NULL, NULL);
/fuchsia/zircon/system/dev/gpio/aml-gxl-gpio/
H A Daml-gxl-gpio.c489 platform_bus_protocol_t pbus; local
490 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
573 pbus_register_protocol(&pbus, ZX_PROTOCOL_GPIO_IMPL, &gpio->gpio, NULL, NULL);
/fuchsia/zircon/system/dev/gpio/aml-axg-gpio/
H A Daml-axg-gpio.c462 platform_bus_protocol_t pbus; local
463 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
531 pbus_register_protocol(&pbus, ZX_PROTOCOL_GPIO_IMPL, &gpio->gpio, NULL, NULL);
/fuchsia/zircon/system/dev/gpio/imx8/
H A Dimx8-gpio.c28 platform_bus_protocol_t pbus; member in struct:__anon369
432 status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &gpio->pbus);
503 pbus_register_protocol(&gpio->pbus, ZX_PROTOCOL_GPIO_IMPL, &gpio->gpio, NULL, NULL);
/fuchsia/zircon/system/dev/i2c/dw-i2c/
H A Ddw-i2c.c454 platform_bus_protocol_t pbus; local
455 if ((status = device_get_protocol(parent, ZX_PROTOCOL_PLATFORM_BUS, &pbus)) != ZX_OK) {
505 pbus_register_protocol(&pbus, ZX_PROTOCOL_I2C_IMPL, &i2c->i2c, NULL, NULL);
/fuchsia/zircon/system/dev/block/imx-sdhci/
H A Dimx-sdhci.c99 platform_bus_protocol_t pbus; member in struct:imx_sdhci_device

Completed in 119 milliseconds

123