Home
last modified time | relevance | path

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

/linux/drivers/s390/cio/
H A Dioasm.c22 int ccode, exception; in __stsch() local
32 : CC_OUT(cc, ccode), [addr] "=Q" (*addr), [exc] "+d" (exception) in __stsch()
35 return exception ? -EIO : CC_TRANSFORM(ccode); in __stsch()
40 int ccode; in stsch() local
42 ccode = __stsch(schid, addr); in stsch()
43 trace_s390_cio_stsch(schid, addr, ccode); in stsch()
45 return ccode; in stsch()
52 int ccode, exception; in __msch() local
62 : CC_OUT(cc, ccode), [exc] "+d" (exception) in __msch()
65 return exception ? -EIO : CC_TRANSFORM(ccode); in __msch()
[all …]
H A 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 …]
H A 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 …]
H A Dcss.c508 int ccode; in css_evaluate_new_subchannel() local
520 ccode = stsch(schid, &schib); in css_evaluate_new_subchannel()
521 if (ccode) in css_evaluate_new_subchannel()
522 return (ccode == 3) ? -ENXIO : ccode; in css_evaluate_new_subchannel()
/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c112 u8 ccode; member
257 u8 ccode; in idt_smb_write_byte() local
263 ccode = seq->ccode | CCODE_BYTE; in idt_smb_write_byte()
265 ccode |= CCODE_START; in idt_smb_write_byte()
267 ccode |= CCODE_END; in idt_smb_write_byte()
270 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte()
289 u8 ccode; in idt_smb_read_byte() local
295 ccode = seq->ccode | CCODE_BYTE; in idt_smb_read_byte()
297 ccode |= CCODE_START; in idt_smb_read_byte()
299 ccode |= CCODE_END; in idt_smb_read_byte()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A 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/tools/testing/selftests/size/
H A 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/arch/powerpc/platforms/powermac/
H A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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()
H A Dfwil_types.h767 char ccode[BRCMF_COUNTRY_BUF_SZ]; member
H A Dcfg80211.c7979 ccreq->ccode[0] = alpha2[0]; in brcmf_translate_country_code()
7980 ccreq->ccode[1] = alpha2[1]; in brcmf_translate_country_code()
8005 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()
/linux/drivers/crypto/marvell/octeontx/
H A 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()
H A Dotx_cpt_hw_types.h813 uint64_t ccode:8; member
819 uint64_t ccode:8;
/linux/arch/arm/boot/dts/broadcom/
H A 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";
H A 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";
H A 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/net/iucv/
H A Diucv.c343 int ccode; in iucv_call_b2f0() local
345 ccode = __iucv_call_b2f0(command, parm); in iucv_call_b2f0()
346 return ccode == 1 ? parm->ctrl.iprcode : ccode; in iucv_call_b2f0()
379 int ccode; in iucv_query_maxconn() local
384 ccode = __iucv_query_maxconn(param, &max_pathid); in iucv_query_maxconn()
385 if (ccode == 0) in iucv_query_maxconn()
388 return ccode ? -EPERM : 0; in iucv_query_maxconn()
/linux/tools/testing/selftests/net/
H A 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/drivers/crypto/cavium/cpt/
H A 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/arch/m68k/ifpsp060/src/
H A 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
H A 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 …]
H A Dfplsp.S7552 mov.b &neg_bmask,FPSR_CC(%a6) # set 'N' ccode bit