Lines Matching refs:err

90     int err;  in adf_device_open()  local
110 int err; in adf_get_device_data() local
115 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data()
116 if (err < 0) in adf_get_device_data()
144 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data()
145 if (err < 0) in adf_get_device_data()
166 int err; in adf_device_post() local
177 err = ioctl(dev->fd, ADF_POST_CONFIG, &data); in adf_device_post()
178 if (err < 0) in adf_device_post()
187 int err; in adf_device_attachment() local
194 err = ioctl(dev->fd, attach ? ADF_ATTACH : ADF_DETACH, &data); in adf_device_attachment()
195 if (err < 0) in adf_device_attachment()
349 int err; in adf_get_interface_data() local
354 err = ioctl(fd, ADF_GET_INTERFACE_DATA, data); in adf_get_interface_data()
355 if (err < 0) in adf_get_interface_data()
373 err = ioctl(fd, ADF_GET_INTERFACE_DATA, data); in adf_get_interface_data()
374 if (err < 0) in adf_get_interface_data()
391 int err = ioctl(fd, ADF_BLANK, mode); in adf_interface_blank() local
392 if (err < 0) in adf_interface_blank()
399 int err = ioctl(fd, ADF_SET_MODE, mode); in adf_interface_set_mode() local
400 if (err < 0) in adf_interface_set_mode()
408 int err; in adf_interface_simple_buffer_alloc() local
416 err = ioctl(fd, ADF_SIMPLE_BUFFER_ALLOC, &data); in adf_interface_simple_buffer_alloc()
417 if (err < 0) in adf_interface_simple_buffer_alloc()
587 int err; in adf_get_overlay_engine_data() local
592 err = ioctl(fd, ADF_GET_OVERLAY_ENGINE_DATA, data); in adf_get_overlay_engine_data()
593 if (err < 0) in adf_get_overlay_engine_data()
611 err = ioctl(fd, ADF_GET_OVERLAY_ENGINE_DATA, data); in adf_get_overlay_engine_data()
612 if (err < 0) in adf_get_overlay_engine_data()
633 int err = adf_get_overlay_engine_data(fd, &data); in adf_overlay_engine_supports_format() local
634 if (err < 0) in adf_overlay_engine_supports_format()
655 int err = ioctl(fd, ADF_SET_EVENT, &data); in adf_set_event() local
656 if (err < 0) in adf_set_event()
671 int err = read(fd, &header, sizeof(header)); in adf_read_event() local
672 if (err < 0) in adf_read_event()
674 if ((size_t)err < sizeof(header)) in adf_read_event()