Home
last modified time | relevance | path

Searched refs:ocs_snprintf (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_node.c676 ocs_snprintf(buffer, buffer_length, "fabric"); in ocs_node_fcid_display()
679 ocs_snprintf(buffer, buffer_length, "fabctl"); in ocs_node_fcid_display()
682 ocs_snprintf(buffer, buffer_length, "nserve"); in ocs_node_fcid_display()
686 ocs_snprintf(buffer, buffer_length, "dctl%02x", in ocs_node_fcid_display()
689 ocs_snprintf(buffer, buffer_length, "%06x", fc_id); in ocs_node_fcid_display()
1455 ocs_snprintf(buffer, buffer_len, "eui.%016llx", (unsigned long long)eui_name); in ocs_node_build_eui_name()
1556 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", in ocs_ddump_node()
1743 ocs_snprintf(qualifier, sizeof(qualifier), "%s/node[%d]", parent, node->instance_index); in ocs_mgmt_node_get()
1806 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", hdr->r_ctl, in ocs_mgmt_node_get()
1867 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", hdr->r_ctl, in ocs_mgmt_node_get_all()
[all …]
H A Docs_mgmt.c697 ocs_snprintf(status_str, arg_out_length, "%d", change_status); in ocs_mgmt_firmware_write()
985 ocs_snprintf(tmp_buf, 2, "%d", rev_id); in get_chip_type()
994 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
996 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1006 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1012 ocs_snprintf(tmp_buf, 3, " %c", ((rev_id & 0xf0) >> 4) + 'A'); in get_chip_type()
1014 ocs_snprintf(tmp_buf, 2, "%d", rev_id & 0x0f); in get_chip_type()
1045 ocs_snprintf(tmp_buf, 3, " %c", ((asic_rev_num & 0xf0) >> 4) + 'A'); in get_chip_type()
1047 ocs_snprintf(tmp_buf, 2, "%d", asic_rev_num & 0x0f); in get_chip_type()
1175 bytes_added = ocs_snprintf(d, buffer_remaining, "%02x ", *s); in get_sfp_a0()
[all …]
H A Docs_utils.c872 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%08X: ", addr); in ocs_dump32()
879 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%08X ", wbuf[i]); in ocs_dump32()
882 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%8s ", ""); in ocs_dump32()
884 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), " "); in ocs_dump32()
887 …pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "%c", _isprint(cbuf[i]) ? cbuf[i] : '… in ocs_dump32()
888 pbuf += ocs_snprintf(pbuf, sizeof(linebuf) - (pbuf-linebuf), "\n"); in ocs_dump32()
1228 ocs_snprintf(label, sizeof(label), "[%s] sparam: %s", prelabel, reqlabel); in ocs_display_sparams()
1230 ocs_snprintf(label, sizeof(label), "sparam: %s", reqlabel); in ocs_display_sparams()
H A Docs_sport.c158 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "------"); in ocs_sport_alloc()
178 ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx" , (unsigned long long)wwnn); in ocs_sport_alloc()
675ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx", (unsigned long long) sport->wwpn… in __ocs_sport_vport_wait_alloc()
696ocs_snprintf(sport->wwnn_str, sizeof(sport->wwnn_str), "%016llx", (unsigned long long)sport->wwpn); in __ocs_sport_vport_wait_alloc()
H A Docs_os.h336 #define ocs_snprintf(buf, n, fmt, ...) snprintf(buf, n, fmt, ##__VA_ARGS__) macro
H A Docs_xport.c157 ocs_snprintf(xport->rq_thread_info[i].thread_name, in ocs_xport_rq_threads_create()
H A Docs_ddump.c685 ocs_snprintf(buf, sizeof(buf), "%02x/%04x/%04x len %zu", in ocs_ddump()
H A Docs_domain.c586 ocs_snprintf(sport->display_name, sizeof(sport->display_name), "s%06x", drec->fc_id); in __ocs_domain_init()
H A Dsli4.c454 ocs_snprintf(label, sizeof(label), "%s (emb)", prefix); in sli_dump_bmbx_command()
464 ocs_snprintf(label, sizeof(label), "%s (non-emb hdr)", prefix); in sli_dump_bmbx_command()
478 ocs_snprintf(label, sizeof(label), "%s (non-emb pay[%d])", in sli_dump_bmbx_command()
H A Docs_hw.c5854 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "set / OEMELX_LinkConfig=%s", value_str); in ocs_hw_set_linkcfg_lancer()
6043 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "show / OEMELX_LinkConfig"); in ocs_hw_get_linkcfg_lancer()
6604 ocs_snprintf(cmd, OCS_HW_DMTF_CLP_CMD_MAX, "set / OEMELX_Ethernet_License=%X", license); in ocs_hw_set_eth_license()