Home
last modified time | relevance | path

Searched refs:ccode (Results 1 – 20 of 20) sorted by relevance

/drivers/s390/cio/
Dioasm.c20 int ccode = -EIO; in __stsch() local
29 : [cc] "+&d" (ccode), [addr] "=Q" (*addr) in __stsch()
32 return ccode; in __stsch()
37 int ccode; in stsch() local
39 ccode = __stsch(schid, addr); in stsch()
40 trace_s390_cio_stsch(schid, addr, ccode); in stsch()
42 return ccode; in stsch()
49 int ccode = -EIO; in __msch() local
58 : [cc] "+&d" (ccode) in __msch()
61 return ccode; in __msch()
[all …]
Dcio.c130 int ccode; in cio_start_key() local
152 ccode = ssch(sch->schid, orb); in cio_start_key()
155 CIO_HEX_EVENT(5, &ccode, sizeof(ccode)); in cio_start_key()
157 switch (ccode) { in cio_start_key()
170 return ccode; in cio_start_key()
188 int ccode; in cio_resume() local
193 ccode = rsch (sch->schid); in cio_resume()
195 CIO_HEX_EVENT(4, &ccode, sizeof(ccode)); in cio_resume()
197 switch (ccode) { in cio_resume()
221 int ccode; in cio_halt() local
[all …]
Dvfio_ccw_fsm.c22 int ccode; in fsm_io_helper() local
41 ccode = ssch(sch->schid, orb); in fsm_io_helper()
43 VFIO_CCW_HEX_EVENT(5, &ccode, sizeof(ccode)); in fsm_io_helper()
45 switch (ccode) { in fsm_io_helper()
73 ret = ccode; in fsm_io_helper()
84 int ccode; in fsm_do_halt() local
95 ccode = hsch(sch->schid); in fsm_do_halt()
97 VFIO_CCW_HEX_EVENT(2, &ccode, sizeof(ccode)); in fsm_do_halt()
99 switch (ccode) { in fsm_do_halt()
115 ret = ccode; in fsm_do_halt()
[all …]
Dchsc_sch.c398 int ret, ccode; in chsc_ioctl_start_sync() local
412 ccode = chsc(chsc_area); in chsc_ioctl_start_sync()
413 if (ccode != 0) { in chsc_ioctl_start_sync()
429 int ret, ccode; in chsc_ioctl_info_channel_path() local
466 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path()
467 if (ccode != 0) { in chsc_ioctl_info_channel_path()
491 int ret, ccode; in chsc_ioctl_info_cu() local
528 ccode = chsc(scucd_area); in chsc_ioctl_info_cu()
529 if (ccode != 0) { in chsc_ioctl_info_cu()
553 int ret, ccode; in chsc_ioctl_info_sch_cu() local
[all …]
Dcrw.c66 int ccode, signal; in crw_collect_info() local
84 ccode = stcrw(&tmp_crw); in crw_collect_info()
92 if (ccode != 0) in crw_collect_info()
97 ccode = stcrw(&crw[chain]); in crw_collect_info()
98 if (ccode != 0) in crw_collect_info()
Dchsc.c107 int ccode; in chsc_get_ssd_info() local
121 ccode = chsc(ssd_area); in chsc_get_ssd_info()
123 if (ccode > 0) { in chsc_get_ssd_info()
124 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info()
875 int ret, ccode; in __chsc_do_secm() local
889 ccode = chsc(secm_area); in __chsc_do_secm()
890 if (ccode > 0) { in __chsc_do_secm()
891 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm()
948 int ccode, ret; in chsc_determine_channel_path_desc() local
970 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc()
[all …]
Dcss.c559 int ccode; in css_evaluate_new_subchannel() local
571 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel()
572 if (ccode) in css_evaluate_new_subchannel()
573 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
/drivers/misc/eeprom/
Didt_89hpesx.c117 u8 ccode; member
262 u8 ccode; in idt_smb_write_byte() local
268 ccode = seq->ccode | CCODE_BYTE; in idt_smb_write_byte()
270 ccode |= CCODE_START; in idt_smb_write_byte()
272 ccode |= CCODE_END; in idt_smb_write_byte()
275 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte()
294 u8 ccode; in idt_smb_read_byte() local
300 ccode = seq->ccode | CCODE_BYTE; in idt_smb_read_byte()
302 ccode |= CCODE_START; in idt_smb_read_byte()
304 ccode |= CCODE_END; in idt_smb_read_byte()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dchannel.c174 static bool brcms_c_country_valid(const char *ccode) in brcms_c_country_valid() argument
180 if (!((ccode[0] & 0x80) == 0 && ccode[0] >= 0x41 && ccode[0] <= 0x5A && in brcms_c_country_valid()
181 (ccode[1] & 0x80) == 0 && ccode[1] >= 0x41 && ccode[1] <= 0x5A)) in brcms_c_country_valid()
188 if (!strcmp("AA", ccode) || /* AA */ in brcms_c_country_valid()
189 !strcmp("ZZ", ccode) || /* ZZ */ in brcms_c_country_valid()
190 ccode[0] == 'X' || /* XA - XZ */ in brcms_c_country_valid()
191 (ccode[0] == 'Q' && /* QM - QZ */ in brcms_c_country_valid()
192 (ccode[1] >= 'M' && ccode[1] <= 'Z'))) in brcms_c_country_valid()
195 if (!strcmp("NA", ccode)) in brcms_c_country_valid()
222 static bool brcms_c_japan_ccode(const char *ccode) in brcms_c_japan_ccode() argument
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c447 char *ccode; in brcmf_fw_fix_efi_nvram_ccode() local
449 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode()
450 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode()
451 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode()
452 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode()
455 ccode[6] = 'X'; in brcmf_fw_fix_efi_nvram_ccode()
456 ccode[7] = '2'; in brcmf_fw_fix_efi_nvram_ccode()
457 ccode[8] = '\r'; in brcmf_fw_fix_efi_nvram_ccode()
Dfwil_types.h705 char ccode[BRCMF_COUNTRY_BUF_SZ]; member
Dcfg80211.c7526 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c433 u8 ccode = cpt_status->s.compcode; in cpt_process_ccode() local
437 switch (ccode) { in cpt_process_ccode()
447 ecode.s.ccode); in cpt_process_ccode()
470 if (ecode.s.ccode) { in cpt_process_ccode()
480 ecode.s.ccode == ERR_SCATTER_GATHER_WRITE_LENGTH) { in cpt_process_ccode()
487 ecode.s.ccode); in cpt_process_ccode()
Dotx_cpt_hw_types.h813 uint64_t ccode:8; member
819 uint64_t ccode:8;
/drivers/crypto/cavium/zip/
Dzip_crypto.c57 zip_ops->ccode = 0; /* Auto Huffman */ in zip_static_init_zip_ops()
61 zip_ops->ccode = 3; /* LZS Encoding */ in zip_static_init_zip_ops()
182 if (zip_ops->ccode != 3) /* Not LZS Encoding */ in zip_decompress()
Dzip_inflate.c79 zip_cmd->s.cc = zip_ops->ccode; in prepare_inflate_zcmd()
175 if ((zip_ops->ccode == 3) && (zip_ops->flush == 4) && in zip_inflate()
Dcommon.h138 u32 ccode; member
Dzip_deflate.c74 zip_cmd->s.cc = zip_ops->ccode; in prepare_zip_command()
/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_reqmgr.c358 u8 ccode = lfs->ops->cpt_get_compcode(cpt_status); in cpt_process_ccode() local
361 switch (ccode) { in cpt_process_ccode()
425 "Request returned invalid status %d\n", ccode); in cpt_process_ccode()
/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c333 unsigned char ccode; in process_pending_queue() local
352 ccode = status->s.compcode; in process_pending_queue()
402 pentry->callback(ccode, pentry->callback_arg); in process_pending_queue()