Searched refs:ifc (Results 1 - 25 of 29) sorted by relevance

12

/fuchsia/zircon/system/dev/audio/usb-audio/
H A Dusb-audio-device.cpp205 [iid](const UsbAudioStreamInterface& ifc) -> bool { return ifc.iid() == iid; });
214 auto ifc = UsbAudioStreamInterface::Create(this, &iter); local
215 if (ifc == nullptr) {
221 aud_stream_ifcs.push_back(fbl::move(ifc));
251 info.ifc->bInterfaceNumber, info.out_ep->bEndpointAddress);
255 info.ifc,
261 info.ifc->bInterfaceNumber, info.in_ep->bEndpointAddress);
265 info.ifc,
351 ZX_DEBUG_ASSERT(inout_info->ifc !
[all...]
H A Dusb-audio-device.h58 explicit MidiStreamingInfo(const usb_interface_descriptor_t* i) : ifc(i) {}
59 const usb_interface_descriptor_t* ifc; member in struct:audio::usb::UsbAudioDevice::MidiStreamingInfo
H A Dusb-audio-stream.h49 fbl::unique_ptr<UsbAudioStreamInterface> ifc);
73 fbl::unique_ptr<UsbAudioStreamInterface> ifc,
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/
H A Dethernet.h154 EthmacIfcProxy(ethmac_ifc_t* ifc, void* cookie) argument
155 : ifc_(ifc), cookie_(cookie) {}
201 static zx_status_t Start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
202 auto ifc_proxy = fbl::unique_ptr<EthmacIfcProxy>(new EthmacIfcProxy(ifc, cookie));
231 zx_status_t Start(D* ifc) { argument
234 return ops_->start(ctx_, ifc->ethmac_ifc(), ifc);
H A Dhidbus.h70 HidBusIfcProxy(hidbus_ifc_t* ifc, void* cookie) argument
71 : ifc_(ifc), cookie_(cookie) {}
118 static zx_status_t Start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
119 HidBusIfcProxy proxy(ifc, cookie);
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-test.cpp95 tftp_file_interface ifc = { open_read_fn, open_write_fn, read_fn, write_fn, close_fn }; local
96 auto status = tftp_session_set_file_interface(ts.session, &ifc);
413 tftp_file_interface ifc = {open_read_cb, open_write_cb, NULL, NULL, NULL}; local
414 tftp_session_set_file_interface(ts.session, &ifc);
488 tftp_file_interface ifc = {dummy_open_read, dummy_open_write, NULL, NULL, NULL}; local
489 tftp_session_set_file_interface(ts.session, &ifc);
797 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
798 tftp_session_set_file_interface(ts.session, &ifc);
899 tftp_file_interface ifc = {NULL, mock_open_write, NULL, NULL, NULL}; local
900 tftp_session_set_file_interface(ts.session, &ifc);
966 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
1002 tftp_file_interface ifc = {NULL, local
1051 tftp_file_interface ifc = {NULL, local
1114 tftp_file_interface ifc = {NULL, local
1164 tftp_file_interface ifc = {NULL, local
1227 tftp_file_interface ifc = {NULL, local
1290 tftp_file_interface ifc = {NULL, local
1379 tftp_file_interface ifc = {NULL, NULL, NULL, NULL, NULL}; local
1458 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
1504 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
1557 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
1602 tftp_file_interface ifc = {NULL, NULL, mock_read, NULL, NULL}; local
1673 tftp_file_interface ifc = {NULL, NULL, NULL, NULL, NULL}; local
1742 tftp_file_interface ifc = {NULL, NULL, NULL, NULL, NULL}; local
1843 tftp_file_interface ifc = {open_read_should_wait, open_write_should_wait, NULL, NULL, NULL}; local
[all...]
/fuchsia/zircon/system/dev/ethernet/intel-ethernet/
H A Dethernet.c46 ethmac_ifc_t* ifc; member in struct:ethernet_device
66 if (edev->ifc && (edev->state == ETH_RUNNING)) {
67 edev->ifc->recv(edev->cookie, data, len, 0);
78 if (edev->ifc) {
79 edev->ifc->status(edev->cookie, online ? ETH_STATUS_ONLINE : 0);
106 edev->ifc = NULL;
110 static zx_status_t eth_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
115 if (edev->ifc) {
118 edev->ifc = ifc;
[all...]
/fuchsia/zircon/bootloader/include/
H A Dxefi.h29 efi_status xefi_open_protocol(efi_handle h, efi_guid* guid, void** ifc);
36 efi_status xefi_find_pci_mmio(efi_boot_services* bs, uint8_t cls, uint8_t sub, uint8_t ifc, uint64_t* mmio);
/fuchsia/zircon/system/dev/bus/virtio/
H A Dinput.h35 static zx_status_t virtio_input_start(void* ctx, hidbus_ifc_t* ifc, void* cookie);
48 zx_status_t Start(hidbus_ifc_t* ifc, void* cookie);
H A Dethernet.h41 zx_status_t Start(ethmac_ifc_t* ifc, void* cookie) TA_EXCL(state_lock_);
H A Dethernet.cpp99 zx_status_t virtio_net_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
101 return eth->Start(ifc, cookie);
384 zx_status_t EthernetDevice::Start(ethmac_ifc_t* ifc, void* cookie) { argument
386 if (!ifc) {
393 ifc_ = ifc;
H A Dinput.cpp201 zx_status_t InputDevice::virtio_input_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
203 return inp->Start(ifc, cookie);
340 zx_status_t InputDevice::Start(hidbus_ifc_t* ifc, void* cookie) {
345 hidbus_ifc_ = ifc;
/fuchsia/zircon/system/dev/input/usb-hid/
H A Dusb-hid.c38 hidbus_ifc_t* ifc; member in struct:usb_hid_device
67 if (hid->ifc) {
68 hid->ifc->io_queue(hid->cookie, buffer, req->response.actual);
97 static zx_status_t usb_hid_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
100 if (hid->ifc) {
104 hid->ifc = ifc;
119 hid->ifc = NULL;
/fuchsia/zircon/system/dev/ethernet/realtek-8111/
H A Drtl8111.c66 ethmac_ifc_t* ifc; member in struct:ethernet_device
175 if (edev->ifc) {
176 edev->ifc->status(edev->cookie, online ? ETH_STATUS_ONLINE : 0);
186 if (edev->ifc) {
188 edev->ifc->recv(
225 edev->ifc = NULL;
229 static zx_status_t rtl8111_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
234 if (edev->ifc) {
237 edev->ifc = ifc;
[all...]
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dhidbus.h54 // ifc->io_queue before this function returns. It is an error to start an
56 zx_status_t (*start)(void* ctx, hidbus_ifc_t* ifc, void* cookie);
H A Dethernet.h20 // proto->queue_tx() and ifc->complete_tx() methods.
22 // Receive operations are supported with the ifc->recv() interface.
24 // ifc->complete_rx()
120 // Callbacks on ifc may be invoked from now until stop() is called
121 zx_status_t (*start)(void* ctx, ethmac_ifc_t* ifc, void* cookie);
/fuchsia/zircon/system/ulib/ddktl/test/
H A Dethernet-tests.cpp136 // Use the provided proxy to test the ifc proxy.
164 auto ifc = dev.ethmac_ifc(); local
165 ifc->status(&dev, 0);
166 ifc->recv(&dev, nullptr, 0, 0);
167 ifc->complete_tx(&dev, nullptr, ZX_OK);
246 // We create a protocol device that we will start from an ifc device. The protocol device will
247 // then use the pointer passed to it to call methods on the ifc device. This ensures the void*
/fuchsia/zircon/system/dev/ethernet/rndis/
H A Drndishost.c56 ethmac_ifc_t* ifc; member in struct:__anon343
139 if ((request->response.status == ZX_OK) && eth->ifc) {
150 eth->ifc->recv(eth->cookie, read_data, len, 0);
219 eth->ifc = NULL;
223 static zx_status_t rndishost_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
228 if (eth->ifc) {
231 eth->ifc = ifc;
234 eth->ifc->status(eth->cookie, ETH_STATUS_ONLINE);
512 eth->ifc
[all...]
/fuchsia/zircon/system/dev/input/i2c-hid/
H A Di2c-hid.c51 hidbus_ifc_t* ifc; member in struct:i2c_hid_device
112 static zx_status_t i2c_hid_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
115 if (hid->ifc) {
119 hid->ifc = ifc;
128 hid->ifc = NULL;
306 if (dev->ifc) {
307 dev->ifc->io_queue(dev->cookie, buf + 2, report_len - 2);
399 if (dev->ifc) {
400 dev->ifc
[all...]
/fuchsia/zircon/system/dev/ethernet/asix-88772b/
H A Dasix-88772b.c68 ethmac_ifc_t* ifc; member in struct:__anon339
180 eth->ifc->recv(eth->cookie, pkt, length1, 0);
241 } else if ((request->response.status == ZX_OK) && eth->ifc) {
268 if (eth->ifc) {
269 eth->ifc->complete_tx(eth->cookie, netbuf, send_result);
313 if (eth->ifc) {
314 eth->ifc->status(eth->cookie, ETH_STATUS_ONLINE);
325 if (eth->ifc) {
326 eth->ifc->status(eth->cookie, 0);
418 eth->ifc
422 ax88772b_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) argument
[all...]
/fuchsia/zircon/bootloader/src/
H A Dpci.c56 efi_status xefi_find_pci_mmio(efi_boot_services* bs, uint8_t cls, uint8_t sub, uint8_t ifc, uint64_t* mmio) { argument
106 (pci_hdr.class_code[0] == ifc)) {
/fuchsia/zircon/system/dev/ethernet/asix-88179/
H A Dasix-88179.c88 ethmac_ifc_t* ifc; member in struct:__anon336
300 eth->ifc->recv(eth->cookie, read_data + offset + 2, pkt_len - 2, 0);
330 } else if ((request->response.status == ZX_OK) && eth->ifc) {
379 if (eth->ifc) {
380 eth->ifc->complete_tx(eth->cookie, next_netbuf, ZX_OK);
445 if (eth->ifc) {
446 eth->ifc->status(eth->cookie, ETH_STATUS_ONLINE);
450 if (eth->ifc) {
451 eth->ifc->status(eth->cookie, 0);
592 eth->ifc
596 ax88179_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) argument
[all...]
/fuchsia/zircon/system/dev/input/pc-ps2/
H A Di8042.c27 hidbus_ifc_t* ifc; member in struct:i8042_device
455 if (dev->ifc) {
456 dev->ifc->io_queue(dev->cookie, (const uint8_t*)report, sizeof(*report));
484 if (dev->ifc) {
485 dev->ifc->io_queue(dev->cookie, (const uint8_t*)&dev->report.mouse,
622 static zx_status_t i8042_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
625 if (i8042->ifc != NULL) {
629 i8042->ifc = ifc;
638 i8042->ifc
[all...]
/fuchsia/zircon/bootloader/lib/
H A Dxefi.c75 efi_status xefi_open_protocol(efi_handle h, efi_guid* guid, void** ifc) { argument
76 return gBS->OpenProtocol(h, guid, ifc, gImg, NULL,
/fuchsia/zircon/kernel/arch/arm64/hypervisor/
H A Del2.S53 .ifc "\inst", "ldp"
68 .ifc "\inst", "ldr"
109 .ifc "\inst", "ldp"
137 .ifc "\inst", "ldp"

Completed in 207 milliseconds

12