The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/qat/include/common/adf_transport.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* SPDX-License-Identifier: BSD-3-Clause */
    2 /* Copyright(c) 2007-2022 Intel Corporation */
    3 /* $FreeBSD$ */
    4 #ifndef ADF_TRANSPORT_H
    5 #define ADF_TRANSPORT_H
    6 
    7 #include "adf_accel_devices.h"
    8 
    9 struct adf_etr_ring_data;
   10 
   11 typedef void (*adf_callback_fn)(void *resp_msg);
   12 
   13 int adf_create_ring(struct adf_accel_dev *accel_dev,
   14                     const char *section,
   15                     u32 bank_num,
   16                     u32 num_mgs,
   17                     u32 msg_size,
   18                     const char *ring_name,
   19                     adf_callback_fn callback,
   20                     int poll_mode,
   21                     struct adf_etr_ring_data **ring_ptr);
   22 
   23 int adf_send_message(struct adf_etr_ring_data *ring, u32 *msg);
   24 void adf_remove_ring(struct adf_etr_ring_data *ring);
   25 int adf_poll_bank(u32 accel_id, u32 bank_num, u32 quota);
   26 int adf_poll_all_banks(u32 accel_id, u32 quota);
   27 #endif /* ADF_TRANSPORT_H */

Cache object: 75b01df97b59683d1e039b24ff58cfc5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.