Home
last modified time | relevance | path

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

/drivers/s390/cio/
Dioasm.h31 int ccode = -EIO; in stsch_err() local
39 : "+d" (ccode), "=m" (*addr) in stsch_err()
42 return ccode; in stsch_err()
48 int ccode; in msch() local
54 : "=d" (ccode) in msch()
57 return ccode; in msch()
63 int ccode = -EIO; in msch_err() local
71 : "+d" (ccode) in msch_err()
74 return ccode; in msch_err()
80 int ccode; in tsch() local
[all …]
Dcio.c129 int ccode; in cio_start_key() local
153 ccode = ssch(sch->schid, orb); in cio_start_key()
156 CIO_HEX_EVENT(5, &ccode, sizeof(ccode)); in cio_start_key()
158 switch (ccode) { in cio_start_key()
171 return ccode; in cio_start_key()
187 int ccode; in cio_resume() local
192 ccode = rsch (sch->schid); in cio_resume()
194 CIO_HEX_EVENT(4, &ccode, sizeof(ccode)); in cio_resume()
196 switch (ccode) { in cio_resume()
219 int ccode; in cio_halt() local
[all …]
Dio_sch.h170 int ccode; in rsch() local
176 : "=d" (ccode) in rsch()
179 return ccode; in rsch()
185 int ccode; in hsch() local
191 : "=d" (ccode) in hsch()
194 return ccode; in hsch()
200 int ccode; in xsch() local
206 : "=d" (ccode) in xsch()
209 return ccode; in xsch()
Dchsc.c89 int ccode; in chsc_get_ssd_info() local
103 ccode = chsc(ssd_area); in chsc_get_ssd_info()
105 if (ccode > 0) { in chsc_get_ssd_info()
106 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info()
604 int ret, ccode; in __chsc_do_secm() local
618 ccode = chsc(secm_area); in __chsc_do_secm()
619 if (ccode > 0) { in __chsc_do_secm()
620 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm()
677 int ccode, ret; in chsc_determine_channel_path_desc() local
696 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc()
[all …]
Dchsc_sch.c368 int ret, ccode; in chsc_ioctl_info_channel_path() local
405 ccode = chsc(scpcd_area); in chsc_ioctl_info_channel_path()
406 if (ccode != 0) { in chsc_ioctl_info_channel_path()
430 int ret, ccode; in chsc_ioctl_info_cu() local
467 ccode = chsc(scucd_area); in chsc_ioctl_info_cu()
468 if (ccode != 0) { in chsc_ioctl_info_cu()
492 int ret, ccode; in chsc_ioctl_info_sch_cu() local
531 ccode = chsc(sscud_area); in chsc_ioctl_info_sch_cu()
532 if (ccode != 0) { in chsc_ioctl_info_sch_cu()
556 int ret, ccode; in chsc_ioctl_conf_info() local
[all …]
Dcrw.c64 int ccode, signal; in crw_collect_info() local
82 ccode = stcrw(&tmp_crw); in crw_collect_info()
90 if (ccode != 0) in crw_collect_info()
95 ccode = stcrw(&crw[chain]); in crw_collect_info()
96 if (ccode != 0) in crw_collect_info()
/drivers/net/wireless/brcm80211/brcmsmac/
Dchannel.c161 char ccode[BRCM_CNTRY_BUF_SZ]; /* current internal Country Code */ member
625 brcms_c_country_aggregate_map(struct brcms_cm_info *wlc_cm, const char *ccode, in brcms_c_country_aggregate_map() argument
635 brcms_c_country_lookup_direct(const char *ccode, uint regrev) in brcms_c_country_lookup_direct() argument
652 if (strcmp(ccode, cntry_locales[i].abbrev) == 0) in brcms_c_country_lookup_direct()
659 brcms_c_countrycode_map(struct brcms_cm_info *wlc_cm, const char *ccode, in brcms_c_countrycode_map() argument
669 if (strlen(ccode) > (BRCM_CNTRY_BUF_SZ - 1)) { in brcms_c_countrycode_map()
671 "match\n", wlc->pub->unit, __func__, ccode); in brcms_c_countrycode_map()
676 strncpy(mapped_ccode, ccode, BRCM_CNTRY_BUF_SZ); in brcms_c_countrycode_map()
683 if (!strcmp(srom_ccode, ccode)) { in brcms_c_countrycode_map()
689 brcms_c_country_aggregate_map(wlc_cm, ccode, mapped_ccode, in brcms_c_countrycode_map()
[all …]
/drivers/net/wireless/bcmdhd/
Ddhd_custom_gpio.c51 void *wifi_get_country_code(char *ccode);
56 void *wifi_get_country_code(char *ccode) { return NULL; } in wifi_get_country_code() argument
265 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
282 memcpy(cspec->ccode, in get_customized_country_code()
290 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
Dwldev_common.c371 memcpy(cspec.ccode, country_code, WLC_CNTRY_BUF_SZ); in wldev_set_country()
377 __FUNCTION__, country_code, cspec.ccode, cspec.rev)); in wldev_set_country()
382 __FUNCTION__, country_code, cspec.ccode, cspec.rev)); in wldev_set_country()
Dwl_android.h62 void *wifi_get_country_code(char *ccode);
Dwl_android.c1205 void *wifi_get_country_code(char *ccode) in wifi_get_country_code() argument
1208 if (!ccode) in wifi_get_country_code()
1211 return wifi_control_data->get_country_code(ccode); in wifi_get_country_code()
Ddhd_linux.c3900 if (dhd->dhd_cspec.ccode[0] != 0) {
/drivers/net/wireless/bcmdhd/include/
Dwlioctl.h753 char ccode[WLC_CNTRY_BUF_SZ]; /* nul-terminated built-in country code. member