Searched defs:errno (Results 1 - 19 of 19) sorted by relevance

/drivers/media/usb/as102/
H A Das102_fw.c17 #include <linux/errno.h>
105 int total_read_bytes = 0, errno = 0; local
129 errno = bus_adap->ops->upload_fw_pkt(bus_adap,
132 if (errno < 0)
144 errno = bus_adap->ops->upload_fw_pkt(bus_adap,
149 if (errno < 0)
155 return (errno == 0) ? total_read_bytes : errno;
160 int errno = -EFAULT; local
178 errno
[all...]
/drivers/staging/bcm/
H A DInterfaceDld.c7 int errno = 0, len = 0; /* ,is_config_file = 0 */ local
24 errno = len;
26 errno = 0;
33 errno = InterfaceWRM(psIntfAdapter, on_chip_loc, buff, len);
34 if (errno)
40 return errno;
49 int errno = 0, len = 0, is_config_file = 0; local
77 errno = len;
79 errno = 0;
/drivers/net/ethernet/intel/i40e/
H A 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);
446 * @errno: pointer to return error code
452 u8 *bytes, int *errno)
457 *errno
450 i40e_nvmupd_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
491 i40e_nvmupd_state_init(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
592 i40e_nvmupd_state_reading(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
631 i40e_nvmupd_state_writing(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
689 i40e_nvmupd_validate_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *errno) argument
777 i40e_nvmupd_nvm_read(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
808 i40e_nvmupd_nvm_erase(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *errno) argument
839 i40e_nvmupd_nvm_write(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *errno) argument
[all...]
H A Di40e_ethtool.c804 int errno; local
812 bytes, &errno);
818 return errno;
887 int errno; local
904 bytes, &errno);
910 return errno;
/drivers/net/wimax/i2400m/
H A Dcontrol.c248 int errno; member in struct:__anon4093
279 * Returns: errno code corresponding to the status code in @l3l4_hdr
296 result = ms_to_errno[status].errno;
635 * @code: [negative] errno code to cancel with (don't use
998 * Returns: 0 if ok, < 0 errno code an error and a message in the
1091 * Returns: 0 if ok, < 0 errno code on error.
1132 * Returns: 0 if ok, < 0 errno code on error.
1280 * Returns: 0 if ok, < 0 errno code on error.
1340 * Returns: 0 if ok, < 0 errno code on error.
/drivers/pci/
H A Dxen-pcifront.c79 static int errno_to_pcibios_err(int errno) argument
81 switch (errno) {
98 return errno;
/drivers/scsi/
H A Dch.c17 #include <linux/errno.h>
128 int errno; member in struct:__anon5283
131 these errno assignments, so they may be wrong... */
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; local
171 for (i = 0; ch_err[i].errno !
190 int errno, retries = 0, timeout, result; local
[all...]
/drivers/target/
H A Dtarget_core_fabric_configfs.c877 int errno; local
884 errno = kstrtoul(name + 4, 0, &unpacked_lun);
885 if (errno)
886 return ERR_PTR(errno);
H A Dtarget_core_configfs.c2788 int errno = -ENOMEM, ret; local
2873 return ERR_PTR(errno);
/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c39 #include <linux/errno.h>
165 static u8 mlx4_errno_to_status(int errno) argument
167 switch (errno) {
1547 vhcr->op, slave, vhcr->errno, err);
H A Dmlx4.h181 u32 errno; member in struct:mlx4_vhcr
/drivers/usb/misc/sisusbvga/
H A Dsisusb.c43 #include <linux/errno.h>
2519 int errno = 0; local
2553 errno = -EIO;
2555 errno = -EFAULT;
2565 errno = -EIO;
2567 errno = -EFAULT;
2577 errno = -EIO;
2579 errno = -EFAULT;
2586 errno = -EIO;
2600 errno
2660 int errno = 0; local
[all...]
/drivers/usb/wusbcore/
H A Dwa-xfer.c2081 * Translation from WA status codes (WUSB1.0 Table 8.15) to errno
2084 * Positive errno values are internal inconsistencies and should be
2092 int errno; local
2119 errno = xlat[status];
2120 if (unlikely(errno > 0)) {
2124 errno = -errno;
2126 return errno;
/drivers/video/fbdev/
H A Dsticore.h142 s32 errno; /* error number on failure */ member in struct:sti_init_outptr
168 s32 errno; /* error number on failure */ member in struct:sti_conf_outptr
277 s32 errno; /* error number on failure */ member in struct:sti_font_outptr
305 s32 errno; /* error number on failure */ member in struct:sti_blkmv_outptr
/drivers/mmc/host/
H A Domap_hsmmc.c984 static void omap_hsmmc_dma_cleanup(struct omap_hsmmc_host *host, int errno) argument
989 host->data->error = errno;
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c874 void cxgbi_sock_fail_act_open(struct cxgbi_sock *csk, int errno) argument
880 errno);
883 csk->err = errno;
/drivers/nfc/
H A Dtrf7970a.c634 static void trf7970a_send_err_upstream(struct trf7970a *trf, int errno) argument
636 dev_dbg(trf->dev, "Error - state: %d, errno: %d\n", trf->state, errno);
641 trf->rx_skb = ERR_PTR(errno);
/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c76 uint8_t errno; member in struct:ahc_hard_error_entry
H A Daic79xx_core.c68 uint8_t errno; member in struct:ahd_hard_error_entry
1716 if ((error & ahd_hard_errors[i].errno) != 0)

Completed in 382 milliseconds