/drivers/parport/ |
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() 84 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data() 87 info->model = kstrdup(sep, GFP_KERNEL); in parse_data() 92 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data() 93 for (u = sep; *u; u++) in parse_data() 96 if (!strcmp(classes[i].token, sep)) { in parse_data() [all …]
|
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()
|
D | parport_pc.c | 3220 char *sep; in parport_setup() local 3250 sep = strchr(str, ','); in parport_setup() 3251 if (sep++) { in parport_setup() 3252 if (parport_parse_irq(sep, &val)) in parport_setup() 3255 sep = strchr(sep, ','); in parport_setup() 3256 if (sep++) { in parport_setup() 3257 if (parport_parse_dma(sep, &val)) in parport_setup()
|
/drivers/block/drbd/ |
D | drbd_debugfs.c | 34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit() argument 37 seq_putc(m, *sep); in __seq_print_rq_state_bit() 39 *sep = '|'; in __seq_print_rq_state_bit() 41 seq_putc(m, *sep); in __seq_print_rq_state_bit() 43 *sep = '|'; in __seq_print_rq_state_bit() 48 bool is_set, char *sep, const char *set_name) in seq_print_rq_state_bit() argument 50 __seq_print_rq_state_bit(m, is_set, sep, set_name, NULL); in seq_print_rq_state_bit() 57 char sep = ' '; in seq_print_request_state() local 63 seq_print_rq_state_bit(m, s & RQ_IN_ACT_LOG, &sep, "in-AL"); in seq_print_request_state() 64 seq_print_rq_state_bit(m, s & RQ_POSTPONED, &sep, "postponed"); in seq_print_request_state() [all …]
|
/drivers/scsi/ |
D | scsi_debugfs.c | 20 bool sep = false; in scsi_flags_show() local 24 if (sep) in scsi_flags_show() 26 sep = true; in scsi_flags_show()
|
D | qla1280.c | 4111 char *sep; in qla1280_get_token() local 4115 sep = strchr(str, ':'); in qla1280_get_token() 4117 if (sep) { in qla1280_get_token() 4119 if (!strncmp(setup_token[i].token, str, (sep - str))) { in qla1280_get_token()
|
/drivers/gpu/drm/i915/ |
D | i915_mitigations.c | 32 char *str, *sep, *tok; in mitigations_set() local 42 for (sep = str; (tok = strsep(&sep, ","));) { in mitigations_set()
|
/drivers/dma-buf/ |
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/nvdimm/ |
D | core.c | 210 static bool is_uuid_sep(char sep) in is_uuid_sep() argument 212 if (sep == '\n' || sep == '-' || sep == ':' || sep == '\0') in is_uuid_sep()
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_selftest.c | 245 char *filter, *sep, *tok; in apply_subtest_filter() local 249 for (sep = filter; (tok = strsep(&sep, ","));) { in apply_subtest_filter()
|
/drivers/staging/fbtft/ |
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/s390/net/ |
D | qeth_l3_sys.c | 412 char *sep; in qeth_l3_parse_ipatoe() local 416 sep = strnchr(buf, 40, '/'); in qeth_l3_parse_ipatoe() 417 if (!sep) in qeth_l3_parse_ipatoe() 421 *sep = '\0'; in qeth_l3_parse_ipatoe() 426 rc = kstrtouint(sep + 1, 10, mask_bits); in qeth_l3_parse_ipatoe()
|
/drivers/hid/ |
D | hid-logitech-dj.c | 531 char sep; in dj_find_receiver_dev() local 537 sep = (type == recvr_type_bluetooth) ? '.' : '/'; in dj_find_receiver_dev() 542 hid_compare_device_paths(hdev, djrcv_dev->mouse, sep)) { in dj_find_receiver_dev() 547 hid_compare_device_paths(hdev, djrcv_dev->keyboard, sep)) { in dj_find_receiver_dev() 552 hid_compare_device_paths(hdev, djrcv_dev->hidpp, sep)) { in dj_find_receiver_dev()
|
/drivers/net/wireless/realtek/rtw88/ |
D | coex.c | 2636 const char *sep = n == 0 ? "" : "/ "; in rtw_coex_addr_info() local 2667 sep, rf_prefix, reg->addr); in rtw_coex_addr_info() 2670 sep, rf_prefix, reg->addr, ffs); in rtw_coex_addr_info() 2673 sep, rf_prefix, reg->addr, fls, ffs); in rtw_coex_addr_info() 2680 const char *sep = n == 0 ? "" : "/ "; in rtw_coex_val_info() local 2688 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 2691 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 2694 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info() 2707 return scnprintf(val_info + n, INFO_SIZE - n, "%s0x%x", sep, in rtw_coex_val_info()
|
/drivers/gpu/drm/ |
D | drm_modes.c | 1599 const char *delim, *option, *sep; in drm_mode_parse_cmdline_options() local 1665 sep = strchr(delim, ','); in drm_mode_parse_cmdline_options() 1666 option = sep + 1; in drm_mode_parse_cmdline_options() 1667 } while (sep); in drm_mode_parse_cmdline_options()
|
/drivers/md/ |
D | md.c | 2984 char *sep = ","; in state_show() local 2991 len += sprintf(page+len, "faulty%s", sep); in state_show() 2993 len += sprintf(page+len, "in_sync%s", sep); in state_show() 2995 len += sprintf(page+len, "journal%s", sep); in state_show() 2997 len += sprintf(page+len, "write_mostly%s", sep); in state_show() 3001 len += sprintf(page+len, "blocked%s", sep); in state_show() 3005 len += sprintf(page+len, "spare%s", sep); in state_show() 3007 len += sprintf(page+len, "write_error%s", sep); in state_show() 3009 len += sprintf(page+len, "want_replacement%s", sep); in state_show() 3011 len += sprintf(page+len, "replacement%s", sep); in state_show() [all …]
|