Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dioasm.c18 int ccode = -EIO; in __stsch() local
26 : "+d" (ccode), "=m" (*addr) in __stsch()
29 return ccode; in __stsch()
34 int ccode; in stsch() local
36 ccode = __stsch(schid, addr); in stsch()
37 trace_s390_cio_stsch(schid, addr, ccode); in stsch()
39 return ccode; in stsch()
46 int ccode = -EIO; in __msch() local
54 : "+d" (ccode) in __msch()
57 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()
186 int ccode; in cio_resume() local
191 ccode = rsch (sch->schid); in cio_resume()
193 CIO_HEX_EVENT(4, &ccode, sizeof(ccode)); in cio_resume()
195 switch (ccode) { in cio_resume()
218 int ccode; in cio_halt() local
[all …]
Dchsc_sch.c432 int ret, ccode; in chsc_ioctl_start_sync() local
446 ccode = chsc(chsc_area); in chsc_ioctl_start_sync()
447 if (ccode != 0) { in chsc_ioctl_start_sync()
463 int ret, ccode; in chsc_ioctl_info_channel_path() local
500 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path()
501 if (ccode != 0) { in chsc_ioctl_info_channel_path()
525 int ret, ccode; in chsc_ioctl_info_cu() local
562 ccode = chsc(scucd_area); in chsc_ioctl_info_cu()
563 if (ccode != 0) { in chsc_ioctl_info_cu()
587 int ret, ccode; in chsc_ioctl_info_sch_cu() local
[all …]
Dchsc.c99 int ccode; in chsc_get_ssd_info() local
113 ccode = chsc(ssd_area); in chsc_get_ssd_info()
115 if (ccode > 0) { in chsc_get_ssd_info()
116 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info()
845 int ret, ccode; in __chsc_do_secm() local
859 ccode = chsc(secm_area); in __chsc_do_secm()
860 if (ccode > 0) { in __chsc_do_secm()
861 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm()
918 int ccode, ret; in chsc_determine_channel_path_desc() local
938 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc()
[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()
/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 …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h607 char ccode[BRCMF_COUNTRY_BUF_SZ]; member
Dcfg80211.c6773 memcpy(ccreq->ccode, country_codes->table[found_index].cc, in brcmf_translate_country_code()