| /drivers/parport/ |
| A D | probe.c | 66 char *sep; in parse_data() local 69 sep = strchr(p, ':'); in parse_data() 70 if (sep) { in parse_data() 72 *(sep++) = 0; in parse_data() 74 u = sep + strlen (sep) - 1; in parse_data() 80 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data() 83 info->model = kstrdup(sep, GFP_KERNEL); in parse_data() 89 string_upper(sep, sep); in parse_data() 91 if (!strcmp(classes[i].token, sep)) { in parse_data() 97 port->name, sep); in parse_data() [all …]
|
| A D | parport_ip32.c | 403 #define sep (f++ ? ',' : ' ') in parport_ip32_dump_state() macro 409 pr_cont("%cBusy", sep); in parport_ip32_dump_state() 411 pr_cont("%cnAck", sep); in parport_ip32_dump_state() 413 pr_cont("%cPError", sep); in parport_ip32_dump_state() 415 pr_cont("%cSelect", sep); in parport_ip32_dump_state() 417 pr_cont("%cnFault", sep); in parport_ip32_dump_state() 419 pr_cont("%c(Print)", sep); in parport_ip32_dump_state() 421 pr_cont("%cTimeout", sep); in parport_ip32_dump_state() 424 #undef sep in parport_ip32_dump_state()
|
| A D | parport_pc.c | 3288 char *sep; in parport_setup() local 3318 sep = strchr(str, ','); in parport_setup() 3319 if (sep++) { in parport_setup() 3320 if (parport_parse_irq(sep, &val)) in parport_setup() 3323 sep = strchr(sep, ','); in parport_setup() 3324 if (sep++) { in parport_setup() 3325 if (parport_parse_dma(sep, &val)) in parport_setup()
|
| /drivers/block/drbd/ |
| A D | drbd_debugfs.c | 37 seq_putc(m, *sep); in __seq_print_rq_state_bit() 39 *sep = '|'; in __seq_print_rq_state_bit() 43 *sep = '|'; in __seq_print_rq_state_bit() 57 char sep = ' '; in seq_print_request_state() local 66 sep = ' '; in seq_print_request_state() 71 if (sep == ' ') in seq_print_request_state() 76 sep = ' '; in seq_print_request_state() 83 if (sep == ' ') in seq_print_request_state() 87 sep = ' '; in seq_print_request_state() 91 if (sep == ' ') in seq_print_request_state() [all …]
|
| /drivers/firmware/arm_scmi/ |
| A D | quirks.c | 222 char *sep; in scmi_quirk_range_parse() local 232 sep = strchr(quirk->impl_ver_range, '-'); in scmi_quirk_range_parse() 233 if (sep) in scmi_quirk_range_parse() 234 *sep = '\0'; in scmi_quirk_range_parse() 236 if (sep == first) /* -X */ in scmi_quirk_range_parse() 243 if (!sep) in scmi_quirk_range_parse() 245 else if (sep != last) /* x-Y */ in scmi_quirk_range_parse() 246 ret = kstrtouint(sep + 1, 0, &quirk->end_range); in scmi_quirk_range_parse()
|
| /drivers/scsi/ |
| A D | scsi_debugfs.c | 21 bool sep = false; in scsi_flags_show() local 25 if (sep) in scsi_flags_show() 27 sep = true; in scsi_flags_show()
|
| A D | qla1280.c | 4100 char *sep; in qla1280_get_token() local 4104 sep = strchr(str, ':'); in qla1280_get_token() 4106 if (sep) { in qla1280_get_token() 4108 if (!strncmp(setup_token[i].token, str, (sep - str))) { in qla1280_get_token()
|
| /drivers/gpu/drm/i915/ |
| A D | i915_mitigations.c | 33 char *str, *sep, *tok; in mitigations_set() local 43 for (sep = str; (tok = strsep(&sep, ","));) { in mitigations_set()
|
| /drivers/nvme/target/ |
| A D | debugfs.c | 78 bool sep = false; in nvmet_ctrl_state_show() local 86 if (sep) in nvmet_ctrl_state_show() 88 sep = true; in nvmet_ctrl_state_show() 94 if (sep) in nvmet_ctrl_state_show()
|
| /drivers/dma-buf/ |
| A D | selftest.c | 49 char *filter, *sep, *tok; in apply_subtest_filter() local 53 for (sep = filter; (tok = strsep(&sep, ","));) { in apply_subtest_filter()
|
| /drivers/infiniband/hw/usnic/ |
| A D | usnic_ib_sysfs.c | 77 char *sep = ""; in config_show() local 101 sep, in config_show() 104 sep = ","; in config_show()
|
| /drivers/mtd/spi-nor/ |
| A D | debugfs.c | 60 bool sep = false; in spi_nor_print_flags() local 66 if (sep) in spi_nor_print_flags() 68 sep = true; in spi_nor_print_flags()
|
| /drivers/s390/net/ |
| A D | qeth_l3_sys.c | 398 char *sep; in qeth_l3_parse_ipatoe() local 402 sep = strnchr(buf, INET6_ADDRSTRLEN, '/'); in qeth_l3_parse_ipatoe() 403 if (!sep) in qeth_l3_parse_ipatoe() 407 *sep = '\0'; in qeth_l3_parse_ipatoe() 412 rc = kstrtouint(sep + 1, 10, mask_bits); in qeth_l3_parse_ipatoe()
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | i915_selftest.c | 323 char *filter, *sep, *tok; in apply_subtest_filter() local 327 for (sep = filter; (tok = strsep(&sep, ","));) { in apply_subtest_filter()
|
| /drivers/staging/fbtft/ |
| A D | fbtft-sysfs.c | 5 static int get_next_ulong(char **str_p, unsigned long *val, char *sep, int base) in get_next_ulong() argument 12 p_val = strsep(str_p, sep); in get_next_ulong()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_xcp.c | 779 char *sep = ""; in supported_xcp_configs_show() local 785 size += sysfs_emit_at(buf, size, "%s%s", sep, xcp_desc[mode]); in supported_xcp_configs_show() 786 sep = ", "; in supported_xcp_configs_show() 799 char *sep = ""; in supported_nps_configs_show() local 805 size += sysfs_emit_at(buf, size, "%s%s", sep, nps_desc[mode]); in supported_nps_configs_show() 806 sep = ", "; in supported_nps_configs_show()
|
| A D | amdgpu_gmc.c | 1188 char *sep = ""; in available_memory_partition_show() local 1191 size += sysfs_emit_at(buf, size, "%s%s", sep, nps_desc[mode]); in available_memory_partition_show() 1192 sep = ", "; in available_memory_partition_show()
|
| A D | amdgpu_gfx.c | 1434 char *sep = ""; in amdgpu_gfx_get_available_compute_partition() local 1440 size += sysfs_emit_at(buf, size, "%s%s", sep, xcp_desc[mode]); in amdgpu_gfx_get_available_compute_partition() 1441 sep = ", "; in amdgpu_gfx_get_available_compute_partition()
|
| /drivers/net/wireless/mediatek/mt76/mt7996/ |
| A D | debugfs.c | 55 char buf[16], *sep; in mt7996_sys_recovery_set() local 70 sep = strchr(buf, ','); in mt7996_sys_recovery_set() 71 if (!sep) in mt7996_sys_recovery_set() 74 *sep = 0; in mt7996_sys_recovery_set() 75 if (kstrtou16(buf, 0, &band) || kstrtou16(sep + 1, 0, &val)) in mt7996_sys_recovery_set()
|
| /drivers/hid/ |
| A D | hid-logitech-dj.c | 581 char sep; in dj_find_receiver_dev() local 587 sep = recvr_type_is_bluetooth(type) ? '.' : '/'; in dj_find_receiver_dev() 592 hid_compare_device_paths(hdev, djrcv_dev->mouse, sep)) { in dj_find_receiver_dev() 597 hid_compare_device_paths(hdev, djrcv_dev->keyboard, sep)) { in dj_find_receiver_dev() 602 hid_compare_device_paths(hdev, djrcv_dev->hidpp, sep)) { in dj_find_receiver_dev()
|
| /drivers/platform/x86/hp/hp-bioscfg/ |
| A D | bioscfg.h | 359 #define ATTRIBUTE_VALUES_PROPERTY_SHOW(name, type, sep) \ argument 372 len += sysfs_emit_at(buf, len, "%s", sep); \
|
| /drivers/media/pci/intel/ |
| A D | ipu-bridge.c | 590 char *sep; in ipu_bridge_instantiate_vcm() local 623 sep = strchrnul(data->board_info.type, '-'); in ipu_bridge_instantiate_vcm() 624 *sep = 0; in ipu_bridge_instantiate_vcm()
|
| /drivers/net/wireless/realtek/rtw88/ |
| A D | coex.c | 3670 const char *sep = n == 0 ? "" : "/ "; in rtw_coex_addr_info() local 3701 sep, rf_prefix, reg->addr); in rtw_coex_addr_info() 3704 sep, rf_prefix, reg->addr, ffs); in rtw_coex_addr_info() 3707 sep, rf_prefix, reg->addr, fls, ffs); in rtw_coex_addr_info() 3714 const char *sep = n == 0 ? "" : "/ "; in rtw_coex_val_info() local 3722 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 3725 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 3728 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 3741 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info()
|
| /drivers/gpu/drm/ |
| A D | drm_modes.c | 2171 const char *delim, *option, *sep; in drm_mode_parse_cmdline_options() local 2240 sep = strchr(delim, ','); in drm_mode_parse_cmdline_options() 2241 option = sep + 1; in drm_mode_parse_cmdline_options() 2242 } while (sep); in drm_mode_parse_cmdline_options()
|
| /drivers/md/ |
| A D | md.c | 2914 char *sep = ","; in state_show() local 2921 len += sprintf(page+len, "faulty%s", sep); in state_show() 2923 len += sprintf(page+len, "in_sync%s", sep); in state_show() 2925 len += sprintf(page+len, "journal%s", sep); in state_show() 2927 len += sprintf(page+len, "write_mostly%s", sep); in state_show() 2931 len += sprintf(page+len, "blocked%s", sep); in state_show() 2935 len += sprintf(page+len, "spare%s", sep); in state_show() 2937 len += sprintf(page+len, "write_error%s", sep); in state_show() 2941 len += sprintf(page+len, "replacement%s", sep); in state_show() 2945 len += sprintf(page+len, "failfast%s", sep); in state_show() [all …]
|