Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 37) sorted by relevance

12

/drivers/staging/media/as102/
Das102_fw.c109 int total_read_bytes = 0, errno = 0; in as102_firmware_upload() local
135 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload()
138 if (errno < 0) in as102_firmware_upload()
150 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload()
155 if (errno < 0) in as102_firmware_upload()
162 return (errno == 0) ? total_read_bytes : errno; in as102_firmware_upload()
167 int errno = -EFAULT; in as102_fw_upload() local
187 errno = -ENOMEM; in as102_fw_upload()
192 errno = request_firmware(&firmware, fw1, &dev->dev); in as102_fw_upload()
193 if (errno < 0) { in as102_fw_upload()
[all …]
Das102_fe.c324 int errno; in as102_dvb_register_fe() local
339 errno = dvb_register_frontend(dvb_adap, dvb_fe); in as102_dvb_register_fe()
340 if (errno == 0) in as102_dvb_register_fe()
343 return errno; in as102_dvb_register_fe()
/drivers/staging/usbip/userspace/src/
Dusbip_bind.c65 err("sysfs must be mounted: %s", strerror(errno)); in bind_usbip()
75 dbg("problem getting bind attribute: %s", strerror(errno)); in bind_usbip()
81 dbg("sysfs_open_device %s failed: %s", busid, strerror(errno)); in bind_usbip()
90 strerror(errno)); in bind_usbip()
134 dbg("sysfs_open_device %s failed: %s", busid, strerror(errno)); in unbind_other()
143 strerror(errno)); in unbind_other()
158 strerror(errno)); in unbind_other()
179 intf_dev->name, strerror(errno)); in unbind_other()
186 strerror(errno)); in unbind_other()
Dusbip_unbind.c61 strerror(errno)); in unbind_device()
98 err("sysfs must be mounted: %s", strerror(errno)); in unbind_device()
110 strerror(errno)); in unbind_device()
115 err("problem reading attribute: %s", strerror(errno)); in unbind_device()
135 strerror(errno)); in unbind_device()
141 err("problem writing attribute: %s", strerror(errno)); in unbind_device()
Dutils.c45 err("sysfs must be mounted: %s", strerror(errno)); in modify_match_busid()
56 strerror(errno)); in modify_match_busid()
69 dbg("failed to write match_busid: %s", strerror(errno)); in modify_match_busid()
Dusbip_list.c212 err("could not open %s bus: %s", bus_type, strerror(errno)); in list_devices()
219 strerror(errno)); in list_devices()
237 strerror(errno)); in list_devices()
255 strerror(errno)); in list_devices()
Dusbipd.c447 err("daemonizing failed: %s", strerror(errno)); in do_standalone_mode()
489 dbg("%s", strerror(errno)); in do_standalone_mode()
Dusbip_attach.c58 if (errno == EEXIST) { in record_connection()
/drivers/staging/iio/Documentation/
Diio_utils.h130 ret = -errno; in iioutils_get_type()
149 ret = -errno; in iioutils_get_type()
161 ret = -errno; in iioutils_get_type()
224 ret = -errno; in iioutils_get_param_float()
238 ret = -errno; in iioutils_get_param_float()
304 ret = -errno; in build_channel_array()
318 ret = -errno; in build_channel_array()
350 ret = -errno; in build_channel_array()
515 ret = -errno; in _write_sysfs_int()
524 ret = -errno; in _write_sysfs_int()
[all …]
Diio_event_monitor.c220 ret = -errno; in main()
230 ret = -errno; in main()
237 if (errno == EAGAIN) { in main()
242 ret = -errno; in main()
Dgeneric_buffer.c285 ret = -errno; in main()
/drivers/staging/bcm/
DInterfaceDld.c7 int errno = 0, len = 0; /* ,is_config_file = 0 */ in InterfaceFileDownload() local
27 errno = len; in InterfaceFileDownload()
29 errno = 0; in InterfaceFileDownload()
41 errno = InterfaceWRM(psIntfAdapter, on_chip_loc, buff, len); in InterfaceFileDownload()
42 if (errno) { in InterfaceFileDownload()
45 "WRM Failed! status: %d", errno); in InterfaceFileDownload()
52 return errno; in InterfaceFileDownload()
60 int errno = 0, len = 0, is_config_file = 0; in InterfaceFileReadbackFromChip() local
90 errno = len; in InterfaceFileReadbackFromChip()
92 errno = 0; in InterfaceFileReadbackFromChip()
/drivers/scsi/
Dch.c124 int errno; member
132 .errno = EBADSLT, /* Invalid element address */
137 .errno = EBADE, /* Import or export element accessed */
142 .errno = EXFULL, /* Medium destination element full */
147 .errno = EBADE, /* Medium source element empty */
152 .errno = EBADRQC, /* Invalid command operation code */
162 int i,errno = 0; in ch_find_errno() local
167 for (i = 0; ch_err[i].errno != 0; i++) { in ch_find_errno()
171 errno = -ch_err[i].errno; in ch_find_errno()
176 if (errno == 0) in ch_find_errno()
[all …]
/drivers/usb/misc/sisusbvga/
Dsisusb.c2517 int errno = 0; in sisusb_read() local
2551 errno = -EIO; in sisusb_read()
2553 errno = -EFAULT; in sisusb_read()
2563 errno = -EIO; in sisusb_read()
2565 errno = -EFAULT; in sisusb_read()
2575 errno = -EIO; in sisusb_read()
2577 errno = -EFAULT; in sisusb_read()
2584 errno = -EIO; in sisusb_read()
2598 errno = sisusb_read_mem_bulk(sisusb, address, in sisusb_read()
2602 errno = bytes_read; in sisusb_read()
[all …]
/drivers/video/
Dsticore.h141 s32 errno; /* error number on failure */ member
167 s32 errno; /* error number on failure */ member
276 s32 errno; /* error number on failure */ member
304 s32 errno; /* error number on failure */ member
/drivers/message/i2o/
DREADME.ioctl51 errno is set appropriately:
77 is returned and errno is set appropriately:
106 is returned and errno is set appropriately:
141 and errno is set appropriately:
225 is returned and errno is set appropriately:
267 is returned and errno is set appropriately:
304 is returned and errno is set appropriately:
328 returned and errno is set appropriately:
363 is returned and errno is set appropriately:
389 are 0 and -1. All errors are reported through errno.
/drivers/media/platform/exynos4-is/
DMakefile4 exynos-fimc-is-objs += fimc-is-param.o fimc-is-errno.o fimc-is-i2c.o
/drivers/usb/wusbcore/
Dwa-xfer.c1200 int errno; in wa_xfer_status_to_errno() local
1227 errno = xlat[status]; in wa_xfer_status_to_errno()
1228 if (unlikely(errno > 0)) { in wa_xfer_status_to_errno()
1232 errno = -errno; in wa_xfer_status_to_errno()
1234 return errno; in wa_xfer_status_to_errno()
/drivers/staging/tidspbridge/Documentation/
Derror-codes11 can be propagated to user space by reading errno symbol defined in errno.h, for
/drivers/edac/
Di7300_edac.c256 #define ferr_global_hi_is_fatal(errno) 1 argument
293 #define ferr_global_lo_is_fatal(errno) ((errno < 16) ? 0 : 1) argument
/drivers/pci/
Dxen-pcifront.c78 static int errno_to_pcibios_err(int errno) in errno_to_pcibios_err() argument
80 switch (errno) { in errno_to_pcibios_err()
97 return errno; in errno_to_pcibios_err()
/drivers/staging/usbip/userspace/libsrc/
Dusbip_host_driver.c66 if (errno != ENOENT) { in read_attr_usbip_status()
Dnames.c499 return errno; in names_init()
/drivers/target/
Dtarget_core_fabric_configfs.c871 int errno; in target_fabric_make_lun() local
905 errno = -ENOMEM; in target_fabric_make_lun()
914 return ERR_PTR(errno); in target_fabric_make_lun()
/drivers/net/wimax/i2400m/
Dcontrol.c248 int errno; member
296 result = ms_to_errno[status].errno; in i2400m_msg_check_status()

12