/drivers/s390/cio/ |
D | ioasm.c | 19 int ccode = -EIO; in __stsch() local 27 : "+d" (ccode), "=m" (*addr) in __stsch() 30 return ccode; in __stsch() 35 int ccode; in stsch() local 37 ccode = __stsch(schid, addr); in stsch() 38 trace_s390_cio_stsch(schid, addr, ccode); in stsch() 40 return ccode; in stsch() 47 int ccode = -EIO; in __msch() local 55 : "+d" (ccode) in __msch() 58 return ccode; in __msch() [all …]
|
D | cio.c | 130 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 …]
|
D | vfio_ccw_fsm.c | 25 int ccode; in fsm_io_helper() local 44 ccode = ssch(sch->schid, orb); in fsm_io_helper() 46 VFIO_CCW_HEX_EVENT(5, &ccode, sizeof(ccode)); in fsm_io_helper() 48 switch (ccode) { in fsm_io_helper() 76 ret = ccode; in fsm_io_helper() 87 int ccode; in fsm_do_halt() local 98 ccode = hsch(sch->schid); in fsm_do_halt() 100 VFIO_CCW_HEX_EVENT(2, &ccode, sizeof(ccode)); in fsm_do_halt() 102 switch (ccode) { in fsm_do_halt() 118 ret = ccode; in fsm_do_halt() [all …]
|
D | chsc_sch.c | 428 int ret, ccode; in chsc_ioctl_start_sync() local 442 ccode = chsc(chsc_area); in chsc_ioctl_start_sync() 443 if (ccode != 0) { in chsc_ioctl_start_sync() 459 int ret, ccode; in chsc_ioctl_info_channel_path() local 496 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path() 497 if (ccode != 0) { in chsc_ioctl_info_channel_path() 521 int ret, ccode; in chsc_ioctl_info_cu() local 558 ccode = chsc(scucd_area); in chsc_ioctl_info_cu() 559 if (ccode != 0) { in chsc_ioctl_info_cu() 583 int ret, ccode; in chsc_ioctl_info_sch_cu() local [all …]
|
D | chsc.c | 101 int ccode; in chsc_get_ssd_info() local 115 ccode = chsc(ssd_area); in chsc_get_ssd_info() 117 if (ccode > 0) { in chsc_get_ssd_info() 118 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info() 829 int ret, ccode; in __chsc_do_secm() local 843 ccode = chsc(secm_area); in __chsc_do_secm() 844 if (ccode > 0) { in __chsc_do_secm() 845 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm() 902 int ccode, ret; in chsc_determine_channel_path_desc() local 924 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc() [all …]
|
D | crw.c | 66 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()
|
D | css.c | 536 int ccode; in css_evaluate_new_subchannel() local 548 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel() 549 if (ccode) in css_evaluate_new_subchannel() 550 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
|
/drivers/misc/eeprom/ |
D | idt_89hpesx.c | 148 u8 ccode; member 293 u8 ccode; in idt_smb_write_byte() local 299 ccode = seq->ccode | CCODE_BYTE; in idt_smb_write_byte() 301 ccode |= CCODE_START; in idt_smb_write_byte() 303 ccode |= CCODE_END; in idt_smb_write_byte() 306 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte() 325 u8 ccode; in idt_smb_read_byte() local 331 ccode = seq->ccode | CCODE_BYTE; in idt_smb_read_byte() 333 ccode |= CCODE_START; in idt_smb_read_byte() 335 ccode |= CCODE_END; in idt_smb_read_byte() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | channel.c | 174 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/ |
D | firmware.c | 449 char *ccode; in brcmf_fw_fix_efi_nvram_ccode() local 451 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode() 452 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode() 453 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode() 454 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode() 457 ccode[6] = 'X'; in brcmf_fw_fix_efi_nvram_ccode() 458 ccode[7] = '2'; in brcmf_fw_fix_efi_nvram_ccode() 459 ccode[8] = '\r'; in brcmf_fw_fix_efi_nvram_ccode()
|
D | fwil_types.h | 687 char ccode[BRCMF_COUNTRY_BUF_SZ]; member
|
D | cfg80211.c | 6942 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()
|
/drivers/crypto/cavium/zip/ |
D | zip_crypto.c | 57 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()
|
D | zip_inflate.c | 79 zip_cmd->s.cc = zip_ops->ccode; in prepare_inflate_zcmd() 175 if ((zip_ops->ccode == 3) && (zip_ops->flush == 4) && in zip_inflate()
|
D | common.h | 139 u32 ccode; member
|
D | zip_deflate.c | 74 zip_cmd->s.cc = zip_ops->ccode; in prepare_zip_command()
|
/drivers/crypto/cavium/cpt/ |
D | cptvf_reqmanager.c | 337 unsigned char ccode; in process_pending_queue() local 356 ccode = status->s.compcode; in process_pending_queue() 406 pentry->callback(ccode, pentry->callback_arg); in process_pending_queue()
|