blob: a33d10562d850d731889643792d6eb4208f3bc9b [file] [view]
<!--
Copyright 2023 The Fuchsia Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
DO NOT EDIT. Generated from FIDL library zx by zither, a Fuchsia platform tool.
See //docs/reference/syscalls/README.md#documentation-generation for
regeneration instructions.
-->
# zx_pci_config_write
## Summary
This function is obsolete and should not be used.
## Declaration
```c
#include <zircon/syscalls.h>
zx_status_t zx_pci_config_write(zx_handle_t handle,
uint16_t offset,
size_t width,
uint32_t val);
```
## Description
This function is obsolete and should not be used. Drivers should instead use the PCI protocol
Typically, you obtain this in your `bind()` function through `device_get_protocol()`.
## Rights
*handle* must be of type `ZX_OBJ_TYPE_PCI_DEVICE` and have `ZX_RIGHT_READ` and have `ZX_RIGHT_WRITE`.
## Return value
TODO(https://fxbug.dev/42108078)
## Errors
TODO(https://fxbug.dev/42108078)
## See also
TODO(https://fxbug.dev/42108078)