Home
last modified time | relevance | path

Searched refs:state_str (Results 1 – 8 of 8) sorted by relevance

/drivers/xen/xen-pciback/
Dxenbus.c370 char state_str[64]; in xen_pcibk_reconfigure() local
391 len = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_reconfigure()
392 if (unlikely(len >= (sizeof(state_str) - 1))) { in xen_pcibk_reconfigure()
399 substate = xenbus_read_unsigned(pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure()
447 state_str, "%d", in xen_pcibk_reconfigure()
569 char state_str[64]; in xen_pcibk_setup_backend() local
621 l = snprintf(state_str, sizeof(state_str), "state-%d", i); in xen_pcibk_setup_backend()
622 if (unlikely(l >= (sizeof(state_str) - 1))) { in xen_pcibk_setup_backend()
629 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, state_str, in xen_pcibk_setup_backend()
/drivers/net/ethernet/mediatek/
Dmtk_ppe_debugfs.c17 static const char * const state_str[] = { in mtk_foe_entry_state_str() local
24 if (state >= ARRAY_SIZE(state_str) || !state_str[state]) in mtk_foe_entry_state_str()
27 return state_str[state]; in mtk_foe_entry_state_str()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c12 static const char * const state_str[] = { "off", "on" }; variable
1856 state_str[loopback_en]); in hclge_dbg_dump_loopback()
1869 state_str[loopback_en]); in hclge_dbg_dump_loopback()
1874 state_str[loopback_en]); in hclge_dbg_dump_loopback()
1879 state_str[loopback_en]); in hclge_dbg_dump_loopback()
1884 state_str[loopback_en]); in hclge_dbg_dump_loopback()
2174 state_str[ingress]); in hclge_dbg_dump_vlan_filter_config()
2176 state_str[egress]); in hclge_dbg_dump_vlan_filter_config()
2195 result[j++] = state_str[ingress]; in hclge_dbg_dump_vlan_filter_config()
2196 result[j++] = state_str[egress]; in hclge_dbg_dump_vlan_filter_config()
[all …]
/drivers/infiniband/hw/mlx4/
Dmcg.c996 char state_str[40]; in sysfs_show_group() local
1003 scnprintf(state_str, sizeof(state_str), "%s", in sysfs_show_group()
1006 scnprintf(state_str, sizeof(state_str), "%s(TID=0x%llx)", in sysfs_show_group()
1026 state_str); in sysfs_show_group()
/drivers/atm/
Dsolos-pci.c341 char *str, *state_str, *snr, *attn; in process_status() local
382 state_str = next_string(skb); in process_status()
383 if (!state_str) in process_status()
387 if (strcmp(state_str, "Showtime")) { in process_status()
389 dev_info(&card->dev->dev, "Port %d: %s\n", port, state_str); in process_status()
401 port, state_str, rate_down/1000, rate_up/1000, in process_status()
/drivers/fpga/
Dfpga-mgr.c416 static const char * const state_str[] = { variable
455 return sprintf(buf, "%s\n", state_str[mgr->state]); in state_show()
/drivers/scsi/csiostor/
Dcsio_hw.c922 char state_str[16]; in csio_do_hello() local
925 memset(state_str, 0, sizeof(state_str)); in csio_do_hello()
1030 strcpy(state_str, "Initializing"); in csio_do_hello()
1033 strcpy(state_str, "Initialized"); in csio_do_hello()
1036 strcpy(state_str, "Error"); in csio_do_hello()
1039 strcpy(state_str, "Unknown"); in csio_do_hello()
1045 hw->pfn, state_str); in csio_do_hello()
1049 hw->pfn, mpfn, state_str); in csio_do_hello()
/drivers/scsi/aacraid/
Dsrc.c1096 char *state_str[7] = { in aac_src_soft_reset() local
1165 state_str[state], rc); in aac_src_soft_reset()