/drivers/media/usb/as102/ |
D | as102_fw.c | 105 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/greybus/ |
D | operation.c | 35 int errno); 149 prev = operation->errno; in gb_operation_result_set() 151 operation->errno = result; in gb_operation_result_set() 153 operation->errno = -EILSEQ; in gb_operation_result_set() 173 prev = operation->errno; in gb_operation_result_set() 175 operation->errno = result; /* First and final result */ in gb_operation_result_set() 183 int result = operation->errno; in gb_operation_result() 417 static u8 gb_operation_errno_map(int errno) in gb_operation_errno_map() argument 419 switch (errno) { in gb_operation_errno_map() 525 operation->errno = -EBADR; /* Initial value--means "never set" */ in gb_operation_create_common() [all …]
|
D | operation.h | 96 int errno; /* Operation result */ member 177 void gb_operation_cancel(struct gb_operation *operation, int errno); 178 void gb_operation_cancel_incoming(struct gb_operation *operation, int errno);
|
D | greybus_trace.h | 104 __field(int, errno) 114 __entry->errno = operation->errno; 119 __entry->active, __entry->waiters, __entry->errno)
|
D | i2c.c | 162 static bool gb_i2c_expected_transfer_error(int errno) in gb_i2c_expected_transfer_error() argument 164 return errno == -EAGAIN || errno == -ENODEV; in gb_i2c_expected_transfer_error()
|
D | connection.c | 607 int errno) in gb_connection_cancel_operations() argument 619 gb_operation_cancel_incoming(operation, errno); in gb_connection_cancel_operations() 621 gb_operation_cancel(operation, errno); in gb_connection_cancel_operations() 636 int errno) in gb_connection_flush_incoming_operations() argument 659 gb_operation_cancel_incoming(operation, errno); in gb_connection_flush_incoming_operations()
|
/drivers/scsi/ |
D | ch.c | 127 int errno; member 135 .errno = EBADSLT, /* Invalid element address */ 140 .errno = EBADE, /* Import or export element accessed */ 145 .errno = EXFULL, /* Medium destination element full */ 150 .errno = EBADE, /* Medium source element empty */ 155 .errno = EBADRQC, /* Invalid command operation code */ 165 int i,errno = 0; in ch_find_errno() local 170 for (i = 0; ch_err[i].errno != 0; i++) { in ch_find_errno() 174 errno = -ch_err[i].errno; in ch_find_errno() 179 if (errno == 0) in ch_find_errno() [all …]
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 2498 int errno = 0; in sisusb_read() local 2530 errno = -EIO; in sisusb_read() 2532 errno = -EFAULT; in sisusb_read() 2541 errno = -EIO; in sisusb_read() 2543 errno = -EFAULT; in sisusb_read() 2552 errno = -EIO; in sisusb_read() 2554 errno = -EFAULT; in sisusb_read() 2561 errno = -EIO; in sisusb_read() 2574 errno = sisusb_read_mem_bulk(sisusb, address, in sisusb_read() 2578 errno = bytes_read; in sisusb_read() [all …]
|
/drivers/staging/greybus/tools/ |
D | lbtest | 68 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 77 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 114 print("I/O error({0}): {1}".format(e.errno, e.strerror))
|
D | loopback_test.c | 265 strerror(errno)); in read_sysfs_int_fd() 279 strerror(errno)); in read_sysfs_float_fd() 316 strerror(errno)); in write_sysfs_val() 755 fprintf(stderr, "Poll exit with errno %d\n", errno); in wait_for_complete()
|
/drivers/video/fbdev/ |
D | sticore.h | 142 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/net/ethernet/cavium/liquidio/ |
D | octeon_main.h | 187 int errno = 0; in sleep_cond() local 195 errno = -EINTR; in sleep_cond() 203 return errno; in sleep_cond()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1057 int errno = 0; in i40e_get_eeprom() local 1061 errno = -EINVAL; in i40e_get_eeprom() 1064 errno = -EBUSY; in i40e_get_eeprom() 1066 ret_val = i40e_nvmupd_command(hw, cmd, bytes, &errno); in i40e_get_eeprom() 1068 if ((errno || ret_val) && (hw->debug_mask & I40E_DEBUG_NVM)) in i40e_get_eeprom() 1071 ret_val, hw->aq.asq_last_status, errno, in i40e_get_eeprom() 1075 return errno; in i40e_get_eeprom() 1159 int errno = 0; in i40e_set_eeprom() local 1165 errno = -EOPNOTSUPP; in i40e_set_eeprom() 1168 errno = -EINVAL; in i40e_set_eeprom() [all …]
|
/drivers/firmware/ |
D | arm_scpi.c | 258 static inline int scpi_to_linux_errno(int errno) in scpi_to_linux_errno() argument 260 if (errno >= SCPI_SUCCESS && errno < SCPI_ERR_MAX) in scpi_to_linux_errno() 261 return scpi_linux_errmap[errno]; in scpi_to_linux_errno()
|
D | psci.c | 136 static int psci_to_linux_errno(int errno) in psci_to_linux_errno() argument 138 switch (errno) { in psci_to_linux_errno()
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | Makefile | 19 ptlrpc-$(CONFIG_LUSTRE_TRANSLATE_ERRNOS) += errno.o
|
/drivers/media/platform/exynos4-is/ |
D | Makefile | 7 exynos-fimc-is-objs += fimc-is-param.o fimc-is-errno.o fimc-is-i2c.o
|
/drivers/target/ |
D | target_core_fabric_configfs.c | 753 int errno; in target_fabric_make_lun() local 760 errno = kstrtoull(name + 4, 0, &unpacked_lun); in target_fabric_make_lun() 761 if (errno) in target_fabric_make_lun() 762 return ERR_PTR(errno); in target_fabric_make_lun()
|
/drivers/edac/ |
D | i7300_edac.c | 256 #define ferr_global_hi_is_fatal(errno) 1 argument 293 #define ferr_global_lo_is_fatal(errno) ((errno < 16) ? 0 : 1) argument
|
/drivers/pci/ |
D | xen-pcifront.c | 82 static int errno_to_pcibios_err(int errno) in errno_to_pcibios_err() argument 84 switch (errno) { in errno_to_pcibios_err() 101 return errno; in errno_to_pcibios_err()
|
/drivers/usb/wusbcore/ |
D | wa-xfer.c | 2092 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/ |
D | control.c | 248 int errno; member 296 result = ms_to_errno[status].errno; in i2400m_msg_check_status()
|
/drivers/video/console/ |
D | sticore.c | 88 outptr->errno = 0; in sti_init_graph() 95 err = outptr->errno; in sti_init_graph()
|
/drivers/nfc/ |
D | trf7970a.c | 643 static void trf7970a_send_err_upstream(struct trf7970a *trf, int errno) in trf7970a_send_err_upstream() argument 645 dev_dbg(trf->dev, "Error - state: %d, errno: %d\n", trf->state, errno); in trf7970a_send_err_upstream() 650 trf->rx_skb = ERR_PTR(errno); in trf7970a_send_err_upstream()
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 882 void cxgbi_sock_fail_act_open(struct cxgbi_sock *csk, int errno) in cxgbi_sock_fail_act_open() argument 888 errno); in cxgbi_sock_fail_act_open() 891 csk->err = errno; in cxgbi_sock_fail_act_open()
|