Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/s390/cio/
Dioasm.c19 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 …]
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 …]
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_sch.c428 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 …]
Dchsc.c100 int ccode; in chsc_get_ssd_info() local
114 ccode = chsc(ssd_area); in chsc_get_ssd_info()
116 if (ccode > 0) { in chsc_get_ssd_info()
117 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info()
846 int ret, ccode; in __chsc_do_secm() local
860 ccode = chsc(secm_area); in __chsc_do_secm()
861 if (ccode > 0) { in __chsc_do_secm()
862 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm()
919 int ccode, ret; in chsc_determine_channel_path_desc() local
941 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc()
[all …]
Dvfio_ccw_fsm.c23 int ccode; in fsm_io_helper() local
36 ccode = ssch(sch->schid, orb); in fsm_io_helper()
38 switch (ccode) { in fsm_io_helper()
65 ret = ccode; in fsm_io_helper()
Dcss.c474 int ccode; in css_evaluate_new_subchannel() local
486 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel()
487 if (ccode) in css_evaluate_new_subchannel()
488 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
/Linux-v4.19/drivers/misc/eeprom/
Didt_89hpesx.c150 u8 ccode; member
295 u8 ccode; in idt_smb_write_byte() local
301 ccode = seq->ccode | CCODE_BYTE; in idt_smb_write_byte()
303 ccode |= CCODE_START; in idt_smb_write_byte()
305 ccode |= CCODE_END; in idt_smb_write_byte()
308 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte()
327 u8 ccode; in idt_smb_read_byte() local
333 ccode = seq->ccode | CCODE_BYTE; in idt_smb_read_byte()
335 ccode |= CCODE_START; in idt_smb_read_byte()
337 ccode |= CCODE_END; in idt_smb_read_byte()
[all …]
/Linux-v4.19/tools/testing/selftests/size/
Dget_size.c60 int ccode; in print_k_value() local
67 ccode = print_num(num); in print_k_value()
69 return ccode; in print_k_value()
75 int ccode; in _start() local
83 ccode = sysinfo(&info); in _start()
84 if (ccode < 0) { in _start()
88 _exit(ccode); in _start()
/Linux-v4.19/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-v4.19/arch/s390/kernel/
Ddiag.c204 int ccode; in diag210() local
218 : "=&d" (ccode) : "a" (&diag210_tmp) : "cc", "memory"); in diag210()
223 return ccode; in diag210()
/Linux-v4.19/net/iucv/
Diucv.c327 int ccode; in __iucv_call_b2f0() local
335 : "=d" (ccode), "=m" (*parm), "+d" (reg0), "+a" (reg1) in __iucv_call_b2f0()
337 return ccode; in __iucv_call_b2f0()
342 int ccode; in iucv_call_b2f0() local
344 ccode = __iucv_call_b2f0(command, parm); in iucv_call_b2f0()
345 return ccode == 1 ? parm->ctrl.iprcode : ccode; in iucv_call_b2f0()
360 int ccode; in __iucv_query_maxconn() local
368 : "=d" (ccode), "+d" (reg0), "+d" (reg1) : : "cc"); in __iucv_query_maxconn()
370 return ccode; in __iucv_query_maxconn()
377 int ccode; in iucv_query_maxconn() local
[all …]
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpfunc_core.c583 u32 ccode; in pmf_parse_one() local
602 ccode = pmf_next32(&cmd); in pmf_parse_one()
604 if (ccode == 0) { in pmf_parse_one()
606 ccode = pmf_next32(&cmd); in pmf_parse_one()
612 if (ccode >= PMF_CMD_COUNT) { in pmf_parse_one()
613 LOG_ERROR("pmf: command code %d unknown !\n", ccode); in pmf_parse_one()
616 if (pmf_parsers[ccode] == NULL) { in pmf_parse_one()
617 LOG_ERROR("pmf: no parser for command %d !\n", ccode); in pmf_parse_one()
620 rc = pmf_parsers[ccode](&cmd, handlers); in pmf_parse_one()
623 " error %d\n", ccode, rc); in pmf_parse_one()
/Linux-v4.19/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.h139 u32 ccode; member
Dzip_deflate.c74 zip_cmd->s.cc = zip_ops->ccode; in prepare_zip_command()
/Linux-v4.19/tools/testing/selftests/net/
Dreuseport_bpf.c348 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; in test_filter_no_reuseport() local
363 cprog.len = ARRAY_SIZE(ccode); in test_filter_no_reuseport()
364 cprog.filter = ccode; in test_filter_no_reuseport()
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c350 unsigned char ccode; in process_pending_queue() local
369 ccode = status->s.compcode; in process_pending_queue()
419 pentry->callback(ccode, pentry->callback_arg); in process_pending_queue()
/Linux-v4.19/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
Dfpsp.S4072 # clear the ccode byte and exception status byte
7631 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit
7640 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit
10126 # - Set FPSR exception status dz bit, ccode inf bit, and #
10187 bset &neg_bit,FPSR_CC(%a6) # yes; set 'N' ccode bit
13150 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit
13174 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit
13184 mov.b &inf_bmask,FPSR_CC(%a6) # set 'I' ccode bit
13187 mov.b &inf_bmask+neg_bmask,FPSR_CC(%a6) # set 'I','N' ccode bits
13197 mov.b &z_bmask,FPSR_CC(%a6) # set 'N' ccode bit
[all …]
Dfplsp.S7552 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h672 char ccode[BRCMF_COUNTRY_BUF_SZ]; member
Dcfg80211.c6796 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()