Searched refs:disc_addr (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/nvme/target/ |
H A D | discovery.c | 111 e->trtype = port->disc_addr.trtype; in nvmet_format_discovery_entry() 112 e->adrfam = port->disc_addr.adrfam; in nvmet_format_discovery_entry() 113 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry() 114 e->portid = port->disc_addr.portid; in nvmet_format_discovery_entry() 119 memcpy(e->trsvcid, port->disc_addr.trsvcid, NVMF_TRSVCID_SIZE); in nvmet_format_discovery_entry() 121 memcpy(e->tsas.common, port->disc_addr.tsas.common, NVMF_TSAS_SIZE); in nvmet_format_discovery_entry() 141 memcpy(traddr, port->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_set_disc_traddr() 229 r->disc_addr.traddr, in nvmet_execute_disc_get_log_page()
|
H A D | configfs.c | 55 le16_to_cpu(p->disc_addr.portid), caller); in nvmet_is_port_enabled() 65 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show() 95 port->disc_addr.adrfam = nvmet_addr_family[i].type; in nvmet_addr_adrfam_store() 123 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store() 165 u8 treq = to_nvmet_port(item)->disc_addr.treq & in nvmet_addr_treq_show() 198 port->disc_addr.treq = treq; in nvmet_addr_treq_store() 325 memset(&port->disc_addr.tsas, 0, NVMF_TSAS_SIZE); in nvmet_addr_trtype_store() 326 port->disc_addr.trtype = nvmet_transport[i].type; in nvmet_addr_trtype_store() 327 if (port->disc_addr.trtype == NVMF_TRTYPE_RDMA) in nvmet_addr_trtype_store() 1819 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_ports_make() [all …]
|
H A D | core.c | 326 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port() 329 request_module("nvmet-transport-%d", port->disc_addr.trtype); in nvmet_enable_port() 331 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_enable_port() 334 port->disc_addr.trtype); in nvmet_enable_port() 348 port->disc_addr.trtype); in nvmet_enable_port() 379 ops = nvmet_transports[port->disc_addr.trtype]; in nvmet_disable_port() 1412 if (ctrl->port->disc_addr.trtype == NVMF_TRTYPE_LOOP) in nvmet_alloc_ctrl()
|
H A D | tcp.c | 1742 switch (nport->disc_addr.adrfam) { in nvmet_tcp_add_port() 1751 nport->disc_addr.adrfam); in nvmet_tcp_add_port() 1756 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_tcp_add_port() 1757 nport->disc_addr.trsvcid, &port->addr); in nvmet_tcp_add_port() 1760 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_tcp_add_port() 1799 le16_to_cpu(nport->disc_addr.portid), &port->addr); in nvmet_tcp_add_port() 1881 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_tcp_disc_port_addr()
|
H A D | rdma.c | 1915 switch (nport->disc_addr.adrfam) { in nvmet_rdma_add_port() 1924 nport->disc_addr.adrfam); in nvmet_rdma_add_port() 1938 ret = inet_pton_with_scope(&init_net, af, nport->disc_addr.traddr, in nvmet_rdma_add_port() 1939 nport->disc_addr.trsvcid, &port->addr); in nvmet_rdma_add_port() 1942 nport->disc_addr.traddr, nport->disc_addr.trsvcid); in nvmet_rdma_add_port() 1951 le16_to_cpu(nport->disc_addr.portid), in nvmet_rdma_add_port() 1984 memcpy(traddr, nport->disc_addr.traddr, NVMF_TRADDR_SIZE); in nvmet_rdma_disc_port_addr()
|
H A D | fc.c | 2873 if ((port->disc_addr.trtype != NVMF_TRTYPE_FC) || in nvmet_fc_add_port() 2874 (port->disc_addr.adrfam != NVMF_ADDR_FAMILY_FC)) in nvmet_fc_add_port() 2879 ret = nvme_fc_parse_traddr(&traddr, port->disc_addr.traddr, in nvmet_fc_add_port() 2880 sizeof(port->disc_addr.traddr)); in nvmet_fc_add_port()
|
H A D | loop.c | 524 strcmp(ctrl->opts->traddr, p->disc_addr.traddr)) in nvme_loop_find_port()
|
H A D | nvmet.h | 151 struct nvmf_disc_rsp_page_entry disc_addr; member
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | sdsi.c | 619 void __iomem *disc_addr; in sdsi_probe() local 633 disc_addr = devm_ioremap_resource(&auxdev->dev, disc_res); in sdsi_probe() 634 if (IS_ERR(disc_addr)) in sdsi_probe() 635 return PTR_ERR(disc_addr); in sdsi_probe() 637 memcpy_fromio(&disc_table, disc_addr, DISC_TABLE_SIZE); in sdsi_probe()
|