Home
last modified time | relevance | path

Searched refs:nctrl (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Docteon_nic.c96 struct octnic_ctrl_pkt *nctrl) in octnic_alloc_ctrl_pkt_sc() argument
103 uddsize = (u32)(nctrl->ncmd.s.more * 8); in octnic_alloc_ctrl_pkt_sc()
116 memcpy(data, &nctrl->ncmd, OCTNET_CMD_SIZE); in octnic_alloc_ctrl_pkt_sc()
122 memcpy(data + OCTNET_CMD_SIZE, nctrl->udd, uddsize); in octnic_alloc_ctrl_pkt_sc()
125 sc->iq_no = (u32)nctrl->iq_no; in octnic_alloc_ctrl_pkt_sc()
138 struct octnic_ctrl_pkt *nctrl) in octnet_send_nic_ctrl_pkt() argument
148 (nctrl->ncmd.s.cmd != OCTNET_CMD_RX_CTL)) { in octnet_send_nic_ctrl_pkt()
152 __func__, nctrl->ncmd.s.cmd); in octnet_send_nic_ctrl_pkt()
156 sc = octnic_alloc_ctrl_pkt_sc(oct, nctrl); in octnet_send_nic_ctrl_pkt()
168 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
[all …]
Dlio_vf_main.c1042 struct octnic_ctrl_pkt nctrl; in liquidio_set_uc_list() local
1056 memset(&nctrl, 0, sizeof(struct octnic_ctrl_pkt)); in liquidio_set_uc_list()
1057 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_UC_LIST; in liquidio_set_uc_list()
1058 nctrl.ncmd.s.more = lio->netdev_uc_count; in liquidio_set_uc_list()
1059 nctrl.ncmd.s.param1 = oct->vf_num; in liquidio_set_uc_list()
1060 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_uc_list()
1061 nctrl.netpndev = (u64)netdev; in liquidio_set_uc_list()
1062 nctrl.cb_fn = liquidio_link_ctrl_cmd_completion; in liquidio_set_uc_list()
1065 mac = &nctrl.udd[0]; in liquidio_set_uc_list()
1071 octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_uc_list()
[all …]
Dlio_main.c1957 struct octnic_ctrl_pkt nctrl; in liquidio_set_mcast_list() local
1963 memset(&nctrl, 0, sizeof(struct octnic_ctrl_pkt)); in liquidio_set_mcast_list()
1966 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list()
1967 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_MULTI_LIST; in liquidio_set_mcast_list()
1968 nctrl.ncmd.s.param1 = get_new_flags(netdev); in liquidio_set_mcast_list()
1969 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list()
1970 nctrl.ncmd.s.more = mc_count; in liquidio_set_mcast_list()
1971 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mcast_list()
1972 nctrl.netpndev = (u64)netdev; in liquidio_set_mcast_list()
1973 nctrl.cb_fn = liquidio_link_ctrl_cmd_completion; in liquidio_set_mcast_list()
[all …]
Dlio_core.c162 struct octnic_ctrl_pkt nctrl; in liquidio_set_feature() local
165 memset(&nctrl, 0, sizeof(struct octnic_ctrl_pkt)); in liquidio_set_feature()
167 nctrl.ncmd.u64 = 0; in liquidio_set_feature()
168 nctrl.ncmd.s.cmd = cmd; in liquidio_set_feature()
169 nctrl.ncmd.s.param1 = param1; in liquidio_set_feature()
170 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_feature()
171 nctrl.netpndev = (u64)netdev; in liquidio_set_feature()
172 nctrl.cb_fn = liquidio_link_ctrl_cmd_completion; in liquidio_set_feature()
174 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_feature()
253 struct octnic_ctrl_pkt *nctrl = (struct octnic_ctrl_pkt *)nctrl_ptr; in liquidio_link_ctrl_cmd_completion() local
[all …]
Dlio_ethtool.c472 struct octnic_ctrl_pkt nctrl; in lio_send_queue_count_update() local
475 memset(&nctrl, 0, sizeof(struct octnic_ctrl_pkt)); in lio_send_queue_count_update()
477 nctrl.ncmd.u64 = 0; in lio_send_queue_count_update()
478 nctrl.ncmd.s.cmd = OCTNET_CMD_QUEUE_COUNT_CTL; in lio_send_queue_count_update()
479 nctrl.ncmd.s.param1 = num_queues; in lio_send_queue_count_update()
480 nctrl.ncmd.s.param2 = num_queues; in lio_send_queue_count_update()
481 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in lio_send_queue_count_update()
482 nctrl.netpndev = (u64)netdev; in lio_send_queue_count_update()
483 nctrl.cb_fn = liquidio_link_ctrl_cmd_completion; in lio_send_queue_count_update()
485 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in lio_send_queue_count_update()
[all …]
Docteon_nic.h64 #define MAX_UDD_SIZE(nctrl) (sizeof((nctrl)->udd)) argument
286 struct octnic_ctrl_pkt *nctrl);
/linux-6.1.9/drivers/nvme/host/
Dtcp.c1298 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue() argument
1301 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); in nvme_tcp_free_queue()
1487 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_alloc_queue() argument
1489 struct nvme_tcp_ctrl *ctrl = to_tcp_ctrl(nctrl); in nvme_tcp_alloc_queue()
1501 queue->cmnd_capsule_len = nctrl->ioccsz * 16; in nvme_tcp_alloc_queue()
1509 dev_err(nctrl->device, in nvme_tcp_alloc_queue()
1533 if (nctrl->opts->tos >= 0) in nvme_tcp_alloc_queue()
1534 ip_sock_set_tos(queue->sock->sk, nctrl->opts->tos); in nvme_tcp_alloc_queue()
1548 if (nctrl->opts->mask & NVMF_OPT_HOST_TRADDR) { in nvme_tcp_alloc_queue()
1552 dev_err(nctrl->device, in nvme_tcp_alloc_queue()
[all …]
Dfc.c2425 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() argument
2427 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); in nvme_fc_nvme_ctrl_freed()
2429 WARN_ON(nctrl != &ctrl->ctrl); in nvme_fc_nvme_ctrl_freed()
2449 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() local
2450 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); in nvme_fc_terminate_exchange()
3262 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() argument
3264 struct nvme_fc_ctrl *ctrl = to_fc_ctrl(nctrl); in nvme_fc_delete_ctrl()
Drdma.c996 static void nvme_rdma_stop_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_stop_ctrl() argument
998 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); in nvme_rdma_stop_ctrl()
1004 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() argument
1006 struct nvme_rdma_ctrl *ctrl = to_rdma_ctrl(nctrl); in nvme_rdma_free_ctrl()
1015 nvmf_free_options(nctrl->opts); in nvme_rdma_free_ctrl()
/linux-6.1.9/drivers/nvme/target/
Dloop.c272 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() argument
274 struct nvme_loop_ctrl *ctrl = to_loop_ctrl(nctrl); in nvme_loop_free_ctrl()
283 if (nctrl->tagset) in nvme_loop_free_ctrl()
284 nvme_remove_io_tag_set(nctrl); in nvme_loop_free_ctrl()
286 nvmf_free_options(nctrl->opts); in nvme_loop_free_ctrl()
415 static void nvme_loop_delete_ctrl(struct nvmet_ctrl *nctrl) in nvme_loop_delete_ctrl() argument
421 if (ctrl->ctrl.cntlid == nctrl->cntlid) in nvme_loop_delete_ctrl()
/linux-6.1.9/drivers/mtd/nand/raw/
Dfsl_ifc_nand.c176 struct fsl_ifc_nand_ctrl *nctrl = ifc_nand_ctrl; in fsl_ifc_run_command() local
208 nctrl->max_bitflips = 0; in fsl_ifc_run_command()
210 if (nctrl->eccread) { in fsl_ifc_run_command()
212 int bufnum = nctrl->page & priv->bufnum_mask; in fsl_ifc_run_command()
240 nctrl->max_bitflips = max_t(unsigned int, in fsl_ifc_run_command()
241 nctrl->max_bitflips, in fsl_ifc_run_command()
245 nctrl->eccread = 0; in fsl_ifc_run_command()
672 struct fsl_ifc_nand_ctrl *nctrl = ifc_nand_ctrl; in fsl_ifc_read_page() local
688 return nctrl->max_bitflips; in fsl_ifc_read_page()