Lines Matching refs:bus_
42 : PlatformDeviceType(parent), bus_(bus), vid_(pdev->vid), pid_(pdev->pid),
77 zx_status_t status = zx_resource_create(bus_->GetResource(), ZX_RSRC_KIND_MMIO, mmio.base,
105 zx_status_t status = zx_resource_create(bus_->GetResource(), options, irq.irq, 1, rsrc_name,
126 zx_status_t status = bus_->GetBti(bti.iommu_index, bti.bti_id, out_handle);
190 auto status = bus_->GetZbiMetadata(metadata.zbi_type, metadata.zbi_extra, &data, &length);
212 if (bus_->gpio() == nullptr) {
219 return bus_->gpio()->ConfigIn(dr->gpio(index).gpio, flags);
224 if (bus_->gpio() == nullptr) {
231 return bus_->gpio()->ConfigOut(dr->gpio(index).gpio, initial_value);
236 if (bus_->gpio() == nullptr) {
243 return bus_->gpio()->SetAltFunction(dr->gpio(index).gpio, function);
248 if (bus_->gpio() == nullptr) {
255 return bus_->gpio()->Read(dr->gpio(index).gpio, out_value);
259 if (bus_->gpio() == nullptr) {
266 return bus_->gpio()->Write(dr->gpio(index).gpio, value);
272 if (bus_->gpio() == nullptr) {
279 zx_status_t status = bus_->gpio()->GetInterrupt(dr->gpio(index).gpio, flags, out_handle);
287 if (bus_->gpio() == nullptr) {
293 return bus_->gpio()->ReleaseInterrupt(dr->gpio(index).gpio);
298 if (bus_->gpio() == nullptr) {
304 return bus_->gpio()->SetPolarity(dr->gpio(index).gpio, flags);
309 if (bus_->i2c() == nullptr) {
318 return bus_->I2cTransact(txid, req, &pdev_channel, channel);
323 if (bus_->i2c() == nullptr) {
331 return bus_->i2c()->GetMaxTransferSize(pdev_channel.bus_id, out_size);
335 if (bus_->clk() == nullptr) {
342 return bus_->clk()->Enable(dr->clk(index).clk);
346 if (bus_->clk() == nullptr) {
353 return bus_->clk()->Disable(dr->clk(index).clk);
414 status = bus_->GetBoardInfo(&resp->board_info);
543 status = bus_->Proxy(&args);
621 status = bus_->GetZbiMetadata(metadata.zbi_type, metadata.zbi_extra, &data, &length);