10d2e1a29SErwan Yvin /* 20d2e1a29SErwan Yvin * Copyright (C) ST-Ericsson AB 2012 30d2e1a29SErwan Yvin * Author: Sjur Brændeland <sjur.brandeland@stericsson.com> 40d2e1a29SErwan Yvin * 50d2e1a29SErwan Yvin * This header is BSD licensed so 60d2e1a29SErwan Yvin * anyone can use the definitions to implement compatible remote processors 70d2e1a29SErwan Yvin */ 80d2e1a29SErwan Yvin 90d2e1a29SErwan Yvin #ifndef VIRTIO_CAIF_H 100d2e1a29SErwan Yvin #define VIRTIO_CAIF_H 110d2e1a29SErwan Yvin 120d2e1a29SErwan Yvin #include <linux/types.h> 130d2e1a29SErwan Yvin struct virtio_caif_transf_config { 14*e3e7994dSMichael S. Tsirkin __virtio16 headroom; 15*e3e7994dSMichael S. Tsirkin __virtio16 tailroom; 16*e3e7994dSMichael S. Tsirkin __virtio32 mtu; 170d2e1a29SErwan Yvin u8 reserved[4]; 180d2e1a29SErwan Yvin }; 190d2e1a29SErwan Yvin 200d2e1a29SErwan Yvin struct virtio_caif_config { 210d2e1a29SErwan Yvin struct virtio_caif_transf_config uplink, downlink; 220d2e1a29SErwan Yvin u8 reserved[8]; 230d2e1a29SErwan Yvin }; 240d2e1a29SErwan Yvin #endif 25