Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/s390/cio/
Dioasm.c21 int ccode = -EIO; in __stsch() local
30 : [cc] "+&d" (ccode), [addr] "=Q" (*addr) in __stsch()
33 return ccode; in __stsch()
38 int ccode; in stsch() local
40 ccode = __stsch(schid, addr); in stsch()
41 trace_s390_cio_stsch(schid, addr, ccode); in stsch()
43 return ccode; in stsch()
50 int ccode = -EIO; in __msch() local
59 : [cc] "+&d" (ccode) in __msch()
62 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.c23 int ccode; in fsm_io_helper() local
40 ccode = ssch(sch->schid, orb); in fsm_io_helper()
42 VFIO_CCW_HEX_EVENT(5, &ccode, sizeof(ccode)); in fsm_io_helper()
44 switch (ccode) { in fsm_io_helper()
72 ret = ccode; in fsm_io_helper()
83 int ccode; in fsm_do_halt() local
92 ccode = hsch(sch->schid); in fsm_do_halt()
94 VFIO_CCW_HEX_EVENT(2, &ccode, sizeof(ccode)); in fsm_do_halt()
96 switch (ccode) { in fsm_do_halt()
112 ret = ccode; in fsm_do_halt()
[all …]
Dchsc_sch.c394 int ret, ccode; in chsc_ioctl_start_sync() local
408 ccode = chsc(chsc_area); in chsc_ioctl_start_sync()
409 if (ccode != 0) { in chsc_ioctl_start_sync()
425 int ret, ccode; in chsc_ioctl_info_channel_path() local
462 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path()
463 if (ccode != 0) { in chsc_ioctl_info_channel_path()
487 int ret, ccode; in chsc_ioctl_info_cu() local
524 ccode = chsc(scucd_area); in chsc_ioctl_info_cu()
525 if (ccode != 0) { in chsc_ioctl_info_cu()
549 int ret, ccode; in chsc_ioctl_info_sch_cu() local
[all …]
Dcrw.c65 int ccode, signal; in crw_collect_info() local
83 ccode = stcrw(&tmp_crw); in crw_collect_info()
91 if (ccode != 0) in crw_collect_info()
96 ccode = stcrw(&crw[chain]); in crw_collect_info()
97 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.c520 int ccode; in css_evaluate_new_subchannel() local
532 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel()
533 if (ccode) in css_evaluate_new_subchannel()
534 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
/Linux-v6.6/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 …]
/Linux-v6.6/tools/testing/selftests/size/
Dget_size.c71 int ccode; in print_k_value() local
78 ccode = print_num(num); in print_k_value()
80 return ccode; in print_k_value()
86 int ccode; in _start() local
94 ccode = syscall(SYS_sysinfo, &info); in _start()
95 if (ccode < 0) { in _start()
99 syscall(SYS_exit, ccode); in _start()
/Linux-v6.6/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 …]
/Linux-v6.6/arch/s390/kernel/
Ddiag.c210 int ccode; in diag210() local
216 ccode = diag_amode31_ops.diag210(__diag210_tmp_amode31); in diag210()
221 return ccode; in diag210()
232 int ccode; in diag8c() local
237 ccode = diag_amode31_ops.diag8c(__diag8c_tmp_amode31, devno, sizeof(*addr)); in diag8c()
242 return ccode; in diag8c()
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c475 char *ccode; in brcmf_fw_fix_efi_nvram_ccode() local
477 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode()
478 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode()
479 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode()
480 if (!ccode) in brcmf_fw_fix_efi_nvram_ccode()
483 ccode[6] = 'X'; in brcmf_fw_fix_efi_nvram_ccode()
484 ccode[7] = '2'; in brcmf_fw_fix_efi_nvram_ccode()
485 ccode[8] = '\r'; in brcmf_fw_fix_efi_nvram_ccode()
/Linux-v6.6/arch/powerpc/platforms/powermac/
Dpfunc_core.c584 u32 ccode; in pmf_parse_one() local
603 ccode = pmf_next32(&cmd); in pmf_parse_one()
605 if (ccode == 0) { in pmf_parse_one()
607 ccode = pmf_next32(&cmd); in pmf_parse_one()
613 if (ccode >= PMF_CMD_COUNT) { in pmf_parse_one()
614 LOG_ERROR("pmf: command code %d unknown !\n", ccode); in pmf_parse_one()
617 if (pmf_parsers[ccode] == NULL) { in pmf_parse_one()
618 LOG_ERROR("pmf: no parser for command %d !\n", ccode); in pmf_parse_one()
621 rc = pmf_parsers[ccode](&cmd, handlers); in pmf_parse_one()
624 " error %d\n", ccode, rc); in pmf_parse_one()
/Linux-v6.6/arch/arm/boot/dts/broadcom/
Dbcm47094-luxul-xap-1610.dts81 brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
99 brcm,ccode-map = "AU-AU-920", "CA-CA-892", "GB-DE-964", "NZ-AU-920", "US-US-825";
Dbcm4709-netgear-r8000.dts143 brcm,ccode-map = "JP-JP-78", "US-Q2-86";
173 brcm,ccode-map = "JP-JP-78", "US-Q2-86";
187 brcm,ccode-map = "JP-JP-78", "US-Q2-86";
Dbcm47094-luxul-xwr-3150-v1.dts97 brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
115 brcm,ccode-map = "AU-AU-953", "CA-CA-946", "GB-E0-846", "NZ-AU-953", "US-Q2-930";
/Linux-v6.6/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()
/Linux-v6.6/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;
/Linux-v6.6/net/iucv/
Diucv.c306 int ccode; in iucv_call_b2f0() local
308 ccode = __iucv_call_b2f0(command, parm); in iucv_call_b2f0()
309 return ccode == 1 ? parm->ctrl.iprcode : ccode; in iucv_call_b2f0()
343 int ccode; in iucv_query_maxconn() local
348 ccode = __iucv_query_maxconn(param, &max_pathid); in iucv_query_maxconn()
349 if (ccode == 0) in iucv_query_maxconn()
352 return ccode ? -EPERM : 0; in iucv_query_maxconn()
/Linux-v6.6/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()
/Linux-v6.6/tools/testing/selftests/net/
Dreuseport_bpf.c346 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; in test_filter_no_reuseport() local
361 cprog.len = ARRAY_SIZE(ccode); in test_filter_no_reuseport()
362 cprog.filter = ccode; in test_filter_no_reuseport()

12