Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c413 u8 *bytes, int *errno);
416 u8 *bytes, int *errno);
419 u8 *bytes, int *errno);
422 int *errno);
425 int *errno);
428 u8 *bytes, int *errno);
431 u8 *bytes, int *errno);
452 u8 *bytes, int *errno) in i40e_nvmupd_command() argument
457 *errno = 0; in i40e_nvmupd_command()
461 status = i40e_nvmupd_state_init(hw, cmd, bytes, errno); in i40e_nvmupd_command()
[all …]
Di40e_ethtool.c804 int errno; in i40e_get_eeprom() local
812 bytes, &errno); in i40e_get_eeprom()
818 return errno; in i40e_get_eeprom()
887 int errno; in i40e_set_eeprom() local
904 bytes, &errno); in i40e_set_eeprom()
910 return errno; in i40e_set_eeprom()
/drivers/media/usb/as102/
Das102_fw.c105 int total_read_bytes = 0, errno = 0; in as102_firmware_upload() local
134 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload()
137 if (errno < 0) in as102_firmware_upload()
149 errno = bus_adap->ops->upload_fw_pkt(bus_adap, in as102_firmware_upload()
154 if (errno < 0) in as102_firmware_upload()
161 return (errno == 0) ? total_read_bytes : errno; in as102_firmware_upload()
166 int errno = -EFAULT; in as102_fw_upload() local
184 errno = -ENOMEM; in as102_fw_upload()
189 errno = request_firmware(&firmware, fw1, &dev->dev); in as102_fw_upload()
190 if (errno < 0) { in as102_fw_upload()
[all …]
/drivers/staging/iio/Documentation/
Diio_utils.h129 ret = -errno; in iioutils_get_type()
148 ret = -errno; in iioutils_get_type()
160 ret = -errno; in iioutils_get_type()
223 ret = -errno; in iioutils_get_param_float()
237 ret = -errno; in iioutils_get_param_float()
303 ret = -errno; in build_channel_array()
317 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.c228 ret = -errno; in main()
238 ret = -errno; in main()
245 if (errno == EAGAIN) { in main()
250 ret = -errno; in main()
Dgeneric_buffer.c285 ret = -errno; in main()
309 if (errno == -EAGAIN) { in main()
Dlsiio.c51 return -errno; in dump_channels()
/drivers/staging/bcm/
DInterfaceDld.c7 int errno = 0, len = 0; /* ,is_config_file = 0 */ in InterfaceFileDownload() local
24 errno = len; in InterfaceFileDownload()
26 errno = 0; in InterfaceFileDownload()
33 errno = InterfaceWRM(psIntfAdapter, on_chip_loc, buff, len); in InterfaceFileDownload()
34 if (errno) in InterfaceFileDownload()
40 return errno; in InterfaceFileDownload()
49 int errno = 0, len = 0, is_config_file = 0; in InterfaceFileReadbackFromChip() local
77 errno = len; in InterfaceFileReadbackFromChip()
79 errno = 0; in InterfaceFileReadbackFromChip()
/drivers/scsi/
Dch.c128 int errno; member
136 .errno = EBADSLT, /* Invalid element address */
141 .errno = EBADE, /* Import or export element accessed */
146 .errno = EXFULL, /* Medium destination element full */
151 .errno = EBADE, /* Medium source element empty */
156 .errno = EBADRQC, /* Invalid command operation code */
166 int i,errno = 0; in ch_find_errno() local
171 for (i = 0; ch_err[i].errno != 0; i++) { in ch_find_errno()
175 errno = -ch_err[i].errno; in ch_find_errno()
180 if (errno == 0) in ch_find_errno()
[all …]
/drivers/usb/misc/sisusbvga/
Dsisusb.c2519 int errno = 0; in sisusb_read() local
2553 errno = -EIO; in sisusb_read()
2555 errno = -EFAULT; in sisusb_read()
2565 errno = -EIO; in sisusb_read()
2567 errno = -EFAULT; in sisusb_read()
2577 errno = -EIO; in sisusb_read()
2579 errno = -EFAULT; in sisusb_read()
2586 errno = -EIO; in sisusb_read()
2600 errno = sisusb_read_mem_bulk(sisusb, address, in sisusb_read()
2604 errno = bytes_read; in sisusb_read()
[all …]
/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/video/fbdev/
Dsticore.h142 s32 errno; /* error number on failure */ member
168 s32 errno; /* error number on failure */ member
277 s32 errno; /* error number on failure */ member
305 s32 errno; /* error number on failure */ member
/drivers/media/platform/exynos4-is/
DMakefile7 exynos-fimc-is-objs += fimc-is-param.o fimc-is-errno.o fimc-is-i2c.o
/drivers/staging/lustre/lustre/ptlrpc/
DMakefile20 ptlrpc-$(CONFIG_LUSTRE_TRANSLATE_ERRNOS) += errno.o
/drivers/target/
Dtarget_core_fabric_configfs.c882 int errno; in target_fabric_make_lun() local
889 errno = kstrtoul(name + 4, 0, &unpacked_lun); in target_fabric_make_lun()
890 if (errno) in target_fabric_make_lun()
891 return ERR_PTR(errno); in target_fabric_make_lun()
Dtarget_core_configfs.c2788 int errno = -ENOMEM, ret; in target_core_make_subdev() local
2873 return ERR_PTR(errno); in target_core_make_subdev()
/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.c81 static int errno_to_pcibios_err(int errno) in errno_to_pcibios_err() argument
83 switch (errno) { in errno_to_pcibios_err()
100 return errno; in errno_to_pcibios_err()
/drivers/usb/wusbcore/
Dwa-xfer.c2092 int errno; in wa_xfer_status_to_errno() local
2119 errno = xlat[status]; in wa_xfer_status_to_errno()
2120 if (unlikely(errno > 0)) { in wa_xfer_status_to_errno()
2124 errno = -errno; in wa_xfer_status_to_errno()
2126 return errno; in wa_xfer_status_to_errno()
/drivers/net/wimax/i2400m/
Dcontrol.c248 int errno; member
296 result = ms_to_errno[status].errno; in i2400m_msg_check_status()
/drivers/video/console/
Dsticore.c88 outptr->errno = 0; in sti_init_graph()
95 err = outptr->errno; in sti_init_graph()
/drivers/nfc/
Dtrf7970a.c634 static void trf7970a_send_err_upstream(struct trf7970a *trf, int errno) in trf7970a_send_err_upstream() argument
636 dev_dbg(trf->dev, "Error - state: %d, errno: %d\n", trf->state, errno); in trf7970a_send_err_upstream()
641 trf->rx_skb = ERR_PTR(errno); in trf7970a_send_err_upstream()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c165 static u8 mlx4_errno_to_status(int errno) in mlx4_errno_to_status() argument
167 switch (errno) { in mlx4_errno_to_status()
1548 vhcr->op, slave, vhcr->errno, err); in mlx4_master_process_vhcr()
/drivers/scsi/cxgbi/
Dlibcxgbi.c874 void cxgbi_sock_fail_act_open(struct cxgbi_sock *csk, int errno) in cxgbi_sock_fail_act_open() argument
880 errno); in cxgbi_sock_fail_act_open()
883 csk->err = errno; in cxgbi_sock_fail_act_open()
/drivers/mmc/host/
Domap_hsmmc.c986 static void omap_hsmmc_dma_cleanup(struct omap_hsmmc_host *host, int errno) in omap_hsmmc_dma_cleanup() argument
991 host->data->error = errno; in omap_hsmmc_dma_cleanup()

12