| /OK3568_Linux_fs/kernel/drivers/s390/cio/ |
| H A D | ioasm.c | 19 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 …]
|
| H A D | cio.c | 130 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 …]
|
| H A D | vfio_ccw_fsm.c | 22 int ccode; in fsm_io_helper() local 41 ccode = ssch(sch->schid, orb); in fsm_io_helper() 43 VFIO_CCW_HEX_EVENT(5, &ccode, sizeof(ccode)); in fsm_io_helper() 45 switch (ccode) { in fsm_io_helper() 73 ret = ccode; in fsm_io_helper() 84 int ccode; in fsm_do_halt() local 95 ccode = hsch(sch->schid); in fsm_do_halt() 97 VFIO_CCW_HEX_EVENT(2, &ccode, sizeof(ccode)); in fsm_do_halt() 99 switch (ccode) { in fsm_do_halt() 115 ret = ccode; in fsm_do_halt() [all …]
|
| H A D | chsc_sch.c | 428 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 …]
|
| H A D | chsc.c | 104 int ccode; in chsc_get_ssd_info() local 118 ccode = chsc(ssd_area); in chsc_get_ssd_info() 120 if (ccode > 0) { in chsc_get_ssd_info() 121 ret = (ccode == 3) ? -ENODEV : -EBUSY; in chsc_get_ssd_info() 831 int ret, ccode; in __chsc_do_secm() local 845 ccode = chsc(secm_area); in __chsc_do_secm() 846 if (ccode > 0) { in __chsc_do_secm() 847 ret = (ccode == 3) ? -ENODEV : -EBUSY; in __chsc_do_secm() 904 int ccode, ret; in chsc_determine_channel_path_desc() local 926 ccode = chsc(scpd_area); in chsc_determine_channel_path_desc() [all …]
|
| H A D | crw.c | 66 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()
|
| /OK3568_Linux_fs/kernel/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 148 u8 ccode; member 293 u8 ccode; in idt_smb_write_byte() local 299 ccode = seq->ccode | CCODE_BYTE; in idt_smb_write_byte() 301 ccode |= CCODE_START; in idt_smb_write_byte() 303 ccode |= CCODE_END; in idt_smb_write_byte() 306 sts = idt_smb_safe(write_byte, pdev->client, ccode, in idt_smb_write_byte() 325 u8 ccode; in idt_smb_read_byte() local 331 ccode = seq->ccode | CCODE_BYTE; in idt_smb_read_byte() 333 ccode |= CCODE_START; in idt_smb_read_byte() 335 ccode |= CCODE_END; in idt_smb_read_byte() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | channel.c | 174 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/size/ |
| H A D | get_size.c | 71 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()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/ipmitool/ipmitool/ |
| H A D | 0003-channel-Fix-buffer-overflow.patch | 47 - if (rsp->ccode > 0) { 48 + if (rsp->ccode 53 val2str(rsp->ccode, completion_code_vals)); 59 - if (rsp->ccode > 0) { 60 + if (rsp->ccode 65 val2str(rsp->ccode, completion_code_vals));
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_custom_rockchip.c | 12 static void *dhd_wlan_get_country_code(char *ccode 66 static void *dhd_wlan_get_country_code(char *ccode in dhd_wlan_get_country_code() argument 76 if (!ccode) in dhd_wlan_get_country_code() 92 if (strcmp(ccode, locales[i].iso_abbrev) == 0) in dhd_wlan_get_country_code()
|
| H A D | dhd_custom_gpio.c | 271 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 288 memcpy(cspec->ccode, in get_customized_country_code() 296 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_custom_rockchip.c | 11 static void *dhd_wlan_get_country_code(char *ccode 65 static void *dhd_wlan_get_country_code(char *ccode in dhd_wlan_get_country_code() argument 75 if (!ccode) in dhd_wlan_get_country_code() 91 if (strcmp(ccode, locales[i].iso_abbrev) == 0) in dhd_wlan_get_country_code()
|
| H A D | dhd_custom_gpio.c | 271 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 288 memcpy(cspec->ccode, in get_customized_country_code() 296 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_linux.h | 113 void *(*get_country_code)(char *ccode, u32 flags); 115 void *(*get_country_code)(char *ccode); 151 void *wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode, 154 void *wifi_platform_get_country_code(wifi_adapter_info_t *adapter, char *ccode);
|
| H A D | dhd_custom_gpio.c | 270 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 287 memcpy(cspec->ccode, in get_customized_country_code() 295 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| H A D | dhd_ccode.c | 221 pch = strstr(ccode_list, cspec->ccode); in dhd_ccode_map_country_list() 223 cspec->rev = (int)simple_strtol(pch+strlen(cspec->ccode)+1, NULL, 0); in dhd_ccode_map_country_list() 229 memcpy(cspec->ccode, ccode_ww, 2); in dhd_ccode_map_country_list()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_custom_gpio.c | 403 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 420 memcpy(cspec->ccode, in get_customized_country_code() 428 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| H A D | dhd_ccode.c | 260 pch = strstr(ccode_list, cspec->ccode); in dhd_ccode_map_country_list() 262 cspec->rev = (int)simple_strtol(pch+strlen(cspec->ccode)+1, NULL, 0); in dhd_ccode_map_country_list() 269 memcpy(cspec->ccode, ccode_ww, 2); in dhd_ccode_map_country_list()
|
| H A D | dhd_plat.h | 51 void *(*get_country_code)(char *ccode, u32 flags); 53 void *(*get_country_code)(char *ccode);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_ccode.c | 260 pch = strstr(ccode_list, cspec->ccode); in dhd_ccode_map_country_list() 262 cspec->rev = (int)simple_strtol(pch+strlen(cspec->ccode)+1, NULL, 0); in dhd_ccode_map_country_list() 268 memcpy(cspec->ccode, ccode_ww, 2); in dhd_ccode_map_country_list()
|
| H A D | dhd_custom_gpio.c | 403 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 420 memcpy(cspec->ccode, in get_customized_country_code() 428 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| H A D | dhd_plat.h | 51 void *(*get_country_code)(char *ccode, u32 flags); 53 void *(*get_country_code)(char *ccode);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_custom_gpio.c | 271 strlcpy(cspec->ccode, cloc_ptr->custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code() 288 memcpy(cspec->ccode, in get_customized_country_code() 296 memcpy(cspec->ccode, translate_custom_table[0].custom_locale, WLC_CNTRY_BUF_SZ); in get_customized_country_code()
|
| /OK3568_Linux_fs/buildroot/package/ipmitool/ |
| H A D | 0011-channel-Fix-buffer-overflow.patch | 36 - if (rsp->ccode > 0) { 37 + if (rsp->ccode 42 val2str(rsp->ccode, completion_code_vals));
|