Home
last modified time | relevance | path

Searched refs:ccode (Results 1 – 15 of 15) 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 …]
/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/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/tools/testing/selftests/net/
H A Dreuseport_bpf.c347 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; in test_filter_no_reuseport()
362 cprog.len = ARRAY_SIZE(ccode); in test_filter_no_reuseport()
363 cprog.filter = ccode; in test_filter_no_reuseport()
346 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; test_filter_no_reuseport() local
/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
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h767 char ccode[BRCMF_COUNTRY_BUF_SZ]; member