Searched refs:device (Results 1 – 11 of 11) sorted by relevance
/samples/bpf/ |
D | xdp2skb_meta.sh | 145 local device="$1" 148 call_tc filter show dev $device ingress 153 local device="$1" 155 info "Listing current XDP device($device) setting" 156 call_ip link show dev $device | grep --color=auto xdp 161 local device="$1" 163 info "Flush TC on device: $device" 164 call_tc_allow_fail filter del dev $device ingress 165 call_tc_allow_fail qdisc del dev $device clsact 170 local device="$1" [all …]
|
/samples/binderfs/ |
D | binderfs_example.c | 22 struct binderfs_device device = { 0 }; in main() local 52 memcpy(device.name, "my-binder", strlen("my-binder")); in main() 61 ret = ioctl(fd, BINDER_CTL_ADD, &device); in main() 72 device.major, device.minor, device.name); in main()
|
/samples/hidraw/ |
D | hid-example.c | 50 char *device = "/dev/hidraw0"; in main() local 53 device = argv[1]; in main() 57 fd = open(device, O_RDWR|O_NONBLOCK); in main()
|
/samples/ |
D | Kconfig | 120 tristate "Build VFIO mtty example mediated device sample code -- loadable modules only" 124 mediated device 127 tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only" 131 mediated device. It is a simple framebuffer and supports 144 tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only" 149 mediated device. It supports the region display interface 155 Device looks a lot like "qemu -device secondary-vga".
|
/samples/vfio-mdev/ |
D | mdpy.c | 86 static struct device mdpy_dev; 153 struct device *dev = mdev_dev(mdev_state->mdev); in handle_pci_cfg_write() 179 struct device *dev = mdev_dev(mdev); in mdev_access() 232 struct device *dev = mdev_dev(mdev); in mdpy_create() 278 struct device *dev = mdev_dev(mdev); in mdpy_remove() 639 resolution_show(struct device *dev, struct device_attribute *attr, in resolution_show() 667 name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show() 674 description_show(struct kobject *kobj, struct device *dev, char *buf) in description_show() 685 available_instances_show(struct kobject *kobj, struct device *dev, char *buf) in available_instances_show() 691 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, in device_api_show() [all …]
|
D | mbochs.c | 131 static struct device mbochs_dev; 250 struct device *dev = mdev_dev(mdev_state->mdev); in mbochs_check_framebuffer() 308 struct device *dev = mdev_dev(mdev_state->mdev); in handle_pci_cfg_write() 336 struct device *dev = mdev_dev(mdev_state->mdev); in handle_mmio_write() 366 struct device *dev = mdev_dev(mdev_state->mdev); in handle_mmio_read() 442 struct device *dev = mdev_dev(mdev); in mdev_access() 522 struct device *dev = mdev_dev(mdev); in mbochs_create() 733 struct device *dev = mdev_dev(mdev_state->mdev); in mbochs_put_pages() 806 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_mmap_dmabuf() 821 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_print_dmabuf() [all …]
|
D | mtty.c | 76 struct device dev; 1261 sample_mtty_dev_show(struct device *dev, struct device_attribute *attr, in sample_mtty_dev_show() 1285 sample_mdev_dev_show(struct device *dev, struct device_attribute *attr, in sample_mdev_dev_show() 1312 name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show() 1331 available_instances_show(struct kobject *kobj, struct device *dev, char *buf) in available_instances_show() 1359 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, in device_api_show() 1404 static void mtty_device_release(struct device *dev) in mtty_device_release()
|
D | mdpy-fb.c | 203 .device = MDPY_PCI_DEVICE_ID,
|
/samples/pktgen/ |
D | functions.sh | 131 local node=$(</sys/class/net/$1/device/numa_node) 147 [ -z "$irqs" ] && irqs=$(for i in `ls -Ux /sys/class/net/$IFACE/device/msi_irqs` ;\
|
D | README.rst | 19 -i : ($DEV) output interface/device (required) 33 interface/device parameter "-i" sets variable $DEV.
|
/samples/v4l/ |
D | v4l2-pci-skeleton.c | 167 unsigned int sizes[], struct device *alloc_devs[]) in queue_setup()
|