Home
last modified time | relevance | path

Searched refs:type_str (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/misc/ocxl/
H A Dpasid.c13 static void dump_list(struct list_head *head, char *type_str) in dump_list() argument
17 pr_debug("%s ranges allocated:\n", type_str); in dump_list()
25 char *type_str) in range_alloc() argument
56 dump_list(head, type_str); in range_alloc()
62 char *type_str) in range_free() argument
77 dump_list(head, type_str); in range_free()
/linux/arch/sparc/kernel/
H A Dpsycho_common.c162 const char *type_str; in psycho_dump_iommu_tags_and_data() local
170 type_str = "Protection Error"; in psycho_dump_iommu_tags_and_data()
173 type_str = "Invalid Error"; in psycho_dump_iommu_tags_and_data()
176 type_str = "TimeOut Error"; in psycho_dump_iommu_tags_and_data()
180 type_str = "ECC Error"; in psycho_dump_iommu_tags_and_data()
186 pbm->name, i, type_str, in psycho_dump_iommu_tags_and_data()
215 const char *type_str; in psycho_check_iommu_error() local
222 type_str = "Protection Error"; in psycho_check_iommu_error()
225 type_str = "Invalid Error"; in psycho_check_iommu_error()
228 type_str = "TimeOut Error"; in psycho_check_iommu_error()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_debugfs.c35 static const char * const type_str[] = { in mtk_foe_pkt_type_str() local
44 if (type >= ARRAY_SIZE(type_str) || !type_str[type]) in mtk_foe_pkt_type_str()
47 return type_str[type]; in mtk_foe_pkt_type_str()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c298 char type_str[128] = {}; in find_field_offset() local
301 if (type_sz >= sizeof(type_str)) { in find_field_offset()
311 strncpy(type_str, type, type_sz); in find_field_offset()
313 btf_id = btf__find_by_name(btf, type_str); in find_field_offset()
315 PRINT_FAIL("No BTF info for type %s\n", type_str); in find_field_offset()
321 PRINT_FAIL("No BTF info for field %s::%s\n", type_str, field_str); in find_field_offset()
/linux/drivers/hid/
H A Dhid-logitech-dj.c738 const char *type_str = "Device"; in logi_dj_recv_add_djhid_device() local
741 case 0x01: type_str = "Keyboard"; break; in logi_dj_recv_add_djhid_device()
742 case 0x02: type_str = "Mouse"; break; in logi_dj_recv_add_djhid_device()
743 case 0x03: type_str = "Numpad"; break; in logi_dj_recv_add_djhid_device()
744 case 0x04: type_str = "Presenter"; break; in logi_dj_recv_add_djhid_device()
745 case 0x07: type_str = "Remote Control"; break; in logi_dj_recv_add_djhid_device()
746 case 0x08: type_str = "Trackball"; break; in logi_dj_recv_add_djhid_device()
747 case 0x09: type_str = "Touchpad"; break; in logi_dj_recv_add_djhid_device()
751 type_str, dj_hiddev->product); in logi_dj_recv_add_djhid_device()
/linux/net/ipv4/
H A Dcipso_ipv4.c433 const char *type_str; in cipso_v4_doi_add() local
436 type_str = "trans"; in cipso_v4_doi_add()
439 type_str = "pass"; in cipso_v4_doi_add()
442 type_str = "local"; in cipso_v4_doi_add()
445 type_str = "(unknown)"; in cipso_v4_doi_add()
449 doi, type_str, ret_val == 0 ? 1 : 0); in cipso_v4_doi_add()
/linux/net/ipv6/
H A Dcalipso.c377 const char *type_str; in calipso_doi_add() local
381 type_str = "pass"; in calipso_doi_add()
384 type_str = "(unknown)"; in calipso_doi_add()
388 doi, type_str, ret_val == 0 ? 1 : 0); in calipso_doi_add()
/linux/drivers/hwmon/
H A Dnct7802.c1047 const char *type_str, *md_str; in nct7802_get_channel_config() local
1082 if (of_property_read_string(node, "sensor-type", &type_str)) { in nct7802_get_channel_config()
1087 if (!strcmp(type_str, "voltage")) { in nct7802_get_channel_config()
1094 if (strcmp(type_str, "temperature")) { in nct7802_get_channel_config()
1095 dev_err(dev, "Invalid type '%s' for '%s'\n", type_str, in nct7802_get_channel_config()
/linux/fs/bcachefs/
H A Dcompress.c660 char *p = val, *type_str, *level_str; in bch2_opt_compression_parse() local
667 type_str = strsep(&p, ":"); in bch2_opt_compression_parse()
670 ret = match_string(bch2_compression_opts, -1, type_str); in bch2_opt_compression_parse()
/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c797 static const char *type_str[] = { variable
808 type_str[type]); in test_tpacket()
815 tpacket_str[version], type_str[type]); in test_tpacket()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.c342 const char * const type_str[FAULT_TYPE_MAX + 1] = { in fault_report_show() local
349 devlink_fmsg_string_pair_put(fmsg, "Fault type", type_str[fault_type]); in fault_report_show()
/linux/drivers/md/
H A Ddm-verity-target.c239 const char *type_str = ""; in verity_handle_err() local
252 type_str = "data"; in verity_handle_err()
255 type_str = "metadata"; in verity_handle_err()
262 type_str, block); in verity_handle_err()
/linux/drivers/net/ethernet/sun/
H A Dniu.c9371 const char *type_str; in show_port_phy() local
9376 type_str = "10G"; in show_port_phy()
9378 type_str = "1G"; in show_port_phy()
9381 type_str); in show_port_phy()
9392 const char *type_str; in show_plat_type() local
9396 type_str = "atlas"; in show_plat_type()
9399 type_str = "niu"; in show_plat_type()
9402 type_str = "vf_p0"; in show_plat_type()
9405 type_str = "vf_p1"; in show_plat_type()
9408 type_str = "unknown"; in show_plat_type()
[all …]
/linux/drivers/net/
H A Damt.c53 static char *type_str[] = { variable
2921 type_str[type]); in amt_err_lookup()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2635 char *type_str = "Solicited"; in bnxt_async_event_process() local
2650 type_str = "Fatal"; in bnxt_async_event_process()
2655 type_str = "Non-fatal"; in bnxt_async_event_process()
2661 type_str, data1, data2, in bnxt_async_event_process()