Home
last modified time | relevance | path

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

12

/linux-6.1.9/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
42 ccode = ssch(sch->schid, orb); in fsm_io_helper()
44 VFIO_CCW_HEX_EVENT(5, &ccode, sizeof(ccode)); in fsm_io_helper()
46 switch (ccode) { in fsm_io_helper()
74 ret = ccode; in fsm_io_helper()
85 int ccode; in fsm_do_halt() local
96 ccode = hsch(sch->schid); in fsm_do_halt()
98 VFIO_CCW_HEX_EVENT(2, &ccode, sizeof(ccode)); in fsm_do_halt()
100 switch (ccode) { in fsm_do_halt()
116 ret = ccode; in fsm_do_halt()
[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_sch.c393 int ret, ccode; in chsc_ioctl_start_sync() local
407 ccode = chsc(chsc_area); in chsc_ioctl_start_sync()
408 if (ccode != 0) { in chsc_ioctl_start_sync()
424 int ret, ccode; in chsc_ioctl_info_channel_path() local
461 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path()
462 if (ccode != 0) { in chsc_ioctl_info_channel_path()
486 int ret, ccode; in chsc_ioctl_info_cu() local
523 ccode = chsc(scucd_area); in chsc_ioctl_info_cu()
524 if (ccode != 0) { in chsc_ioctl_info_cu()
548 int ret, ccode; in chsc_ioctl_info_sch_cu() local
[all …]
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.c518 int ccode; in css_evaluate_new_subchannel() local
530 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel()
531 if (ccode) in css_evaluate_new_subchannel()
532 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/Documentation/devicetree/bindings/net/wireless/
Dbrcm,bcm4329-fmac.yaml77 brcm,ccode-map:
84 brcm,ccode-map-trivial:
90 brcm,ccode-map. If both properties are specified, then brcm,ccode-map
148 brcm,ccode-map = "JP-JP-78", "US-Q2-86";
/linux-6.1.9/arch/s390/kernel/
Ddiag.c182 int ccode; in diag210() local
188 ccode = diag_amode31_ops.diag210(__diag210_tmp_amode31); in diag210()
193 return ccode; in diag210()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/m68k/ifpsp060/src/
Dilsp.S198 # it was a divs.l, so ccode setting is a little more complicated...
604 # save the zero result to the register file and set the 'Z' ccode bit.
612 mov.w %d4,%cc # set 'Z' ccode bit

12