Lines Matching refs:structname
324 #define __virtio_native_type(structname, member) \ argument
325 typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
328 #define virtio_cread(vdev, structname, member, ptr) \ argument
330 typeof(((structname*)0)->member) virtio_cread_v; \
341 offsetof(structname, member), \
347 offsetof(structname, member), \
357 #define virtio_cwrite(vdev, structname, member, ptr) \ argument
359 typeof(((structname*)0)->member) virtio_cwrite_v = \
360 cpu_to_virtio(vdev, *(ptr), ((structname*)0)->member); \
366 vdev->config->set((vdev), offsetof(structname, member), \
392 #define virtio_cread_le(vdev, structname, member, ptr) \ argument
394 typeof(((structname*)0)->member) virtio_cread_v; \
405 offsetof(structname, member), \
411 offsetof(structname, member), \
420 #define virtio_cwrite_le(vdev, structname, member, ptr) \ argument
422 typeof(((structname*)0)->member) virtio_cwrite_v = \
423 virtio_cpu_to_le(*(ptr), ((structname*)0)->member); \
429 vdev->config->set((vdev), offsetof(structname, member), \
540 #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ argument
546 virtio_cread((vdev), structname, member, ptr); \
551 #define virtio_cread_le_feature(vdev, fbit, structname, member, ptr) \ argument
557 virtio_cread_le((vdev), structname, member, ptr); \