/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_node.c | 674 ocs_snprintf(buffer, buffer_length, "fabric"); in ocs_node_fcid_display() 677 ocs_snprintf(buffer, buffer_length, "fabctl"); in ocs_node_fcid_display() 680 ocs_snprintf(buffer, buffer_length, "nserve"); in ocs_node_fcid_display() 684 ocs_snprintf(buffer, buffer_length, "dctl%02x", in ocs_node_fcid_display() 687 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); in ocs_node_fcid_display() 1453 ocs_snprintf(buffer, buffer_len, "eui.%016llx", (unsigned long long)eui_name); in ocs_node_build_eui_name() 1554 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", in ocs_ddump_node() 1741 ocs_snprintf(qualifier, sizeof(qualifier), "%s/node[%d]", parent, node->instance_index); in ocs_mgmt_node_get() 1804 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", hdr->r_ctl, in ocs_mgmt_node_get() 1865 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", hdr->r_ctl, in ocs_mgmt_node_get_all() [all …]
|
H A D | ocs_mgmt.c | 695 ocs_snprintf(status_str, arg_out_length, "%d", change_status); in ocs_mgmt_firmware_write() 983 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type() 992 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type() 994 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type() 1004 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type() 1010 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type() 1012 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type() 1043 ocs_snprintf(tmp_buf, 3, " %c", ((asic_rev_num & 0xf0) >> 4) + 'A'); in get_chip_type() 1045 ocs_snprintf(tmp_buf, 2, "%d", asic_rev_num & 0x0f); in get_chip_type() 1173 bytes_added = ocs_snprintf(d, buffer_remaining, "%02x ", *s); in get_sfp_a0() [all …]
|
H A D | ocs_utils.c | 870 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%08X: ", addr); in ocs_dump32() 877 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%08X ", wbuf[i]); in ocs_dump32() 880 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%8s ", ""); in ocs_dump32() 882 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), " "); in ocs_dump32() 885 …pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%c", _isprint(cbuf[i]) ? cbuf[i] : '… in ocs_dump32() 886 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "\n"); in ocs_dump32() 1226 ocs_snprintf(label, sizeof(label), "[%s] sparam: %s", prelabel, reqlabel); in ocs_display_sparams() 1228 ocs_snprintf(label, sizeof(label), "sparam: %s", reqlabel); in ocs_display_sparams()
|
H A D | ocs_sport.c | 156 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "------"); in ocs_sport_alloc() 176 ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx" , (unsigned long long)wwnn); in ocs_sport_alloc() 673 …ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx", (unsigned long long) sport->wwpn… in __ocs_sport_vport_wait_alloc() 694 …ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx", (unsigned long long)sport->wwpn); in __ocs_sport_vport_wait_alloc()
|
H A D | ocs_os.h | 334 #define ocs_snprintf(buf, n, fmt, ...) snprintf(buf, n, fmt, ##__VA_ARGS__) macro
|
H A D | ocs_xport.c | 155 ocs_snprintf(xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create()
|
H A D | ocs_ddump.c | 683 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", in ocs_ddump()
|
H A D | ocs_domain.c | 584 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "s%06x", drec->fc_id); in __ocs_domain_init()
|
H A D | sli4.c | 452 ocs_snprintf(label, sizeof(label), "%s (emb)", prefix); in sli_dump_bmbx_command() 462 ocs_snprintf(label, sizeof(label), "%s (non-emb hdr)", prefix); in sli_dump_bmbx_command() 476 ocs_snprintf(label, sizeof(label), "%s (non-emb pay[%d])", in sli_dump_bmbx_command()
|
H A D | ocs_hw.c | 5871 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "set / OEMELX_LinkConfig=%s", value_str); in ocs_hw_set_linkcfg_lancer() 6060 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "show / OEMELX_LinkConfig"); in ocs_hw_get_linkcfg_lancer() 6621 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "set / OEMELX_Ethernet_License=%X", license); in ocs_hw_set_eth_license()
|