Home
last modified time | relevance | path

Searched refs:ncmd (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c167 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()
262 switch (nctrl->ncmd.s.cmd) { in liquidio_link_ctrl_cmd_completion()
270 if (nctrl->ncmd.s.param1) { in liquidio_link_ctrl_cmd_completion()
272 int vfidx = nctrl->ncmd.s.param1 - 1; in liquidio_link_ctrl_cmd_completion()
273 bool mac_is_admin_assigned = nctrl->ncmd.s.param2; in liquidio_link_ctrl_cmd_completion()
316 if (nctrl->ncmd.s.param1) in liquidio_link_ctrl_cmd_completion()
326 netdev->name, nctrl->ncmd.s.param1); in liquidio_link_ctrl_cmd_completion()
331 netdev->name, nctrl->ncmd.s.param1); in liquidio_link_ctrl_cmd_completion()
[all …]
Docteon_nic.c103 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()
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()
168 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
175 if (nctrl->ncmd.s.cmdgroup == 0) { in octnet_send_nic_ctrl_pkt()
176 switch (nctrl->ncmd.s.cmd) { in octnet_send_nic_ctrl_pkt()
Dlio_vf_main.c602 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local
617 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd()
619 ncmd->u64 = 0; in send_rx_ctrl_cmd()
620 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd()
621 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd()
623 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd()
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()
1091 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list()
[all …]
Dlio_main.c1159 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local
1175 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd()
1177 ncmd->u64 = 0; in send_rx_ctrl_cmd()
1178 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd()
1179 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd()
1181 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd()
1952 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list()
1953 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_MULTI_LIST; in liquidio_set_mcast_list()
1954 nctrl.ncmd.s.param1 = get_new_flags(netdev); in liquidio_set_mcast_list()
1955 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list()
[all …]
Dlio_ethtool.c476 nctrl.ncmd.u64 = 0; in lio_send_queue_count_update()
477 nctrl.ncmd.s.cmd = OCTNET_CMD_QUEUE_COUNT_CTL; in lio_send_queue_count_update()
478 nctrl.ncmd.s.param1 = num_queues; in lio_send_queue_count_update()
479 nctrl.ncmd.s.param2 = num_queues; in lio_send_queue_count_update()
711 nctrl.ncmd.u64 = 0; in octnet_gpio_access()
712 nctrl.ncmd.s.cmd = OCTNET_CMD_GPIO_ACCESS; in octnet_gpio_access()
713 nctrl.ncmd.s.param1 = addr; in octnet_gpio_access()
714 nctrl.ncmd.s.param2 = val; in octnet_gpio_access()
738 nctrl.ncmd.u64 = 0; in octnet_id_active()
739 nctrl.ncmd.s.cmd = OCTNET_CMD_ID_ACTIVE; in octnet_id_active()
[all …]
Docteon_nic.h39 union octnet_cmd ncmd; member
/kernel/linux/linux-5.10/drivers/scsi/
DNCR5380.c567 struct NCR5380_cmd *ncmd = scsi_cmd_priv(cmd); in NCR5380_queue_command() local
596 list_add(&ncmd->list, &hostdata->unissued); in NCR5380_queue_command()
598 list_add_tail(&ncmd->list, &hostdata->unissued); in NCR5380_queue_command()
638 struct NCR5380_cmd *ncmd; in dequeue_next_cmd() local
642 list_for_each_entry(ncmd, &hostdata->unissued, list) { in dequeue_next_cmd()
643 cmd = NCR5380_to_scmd(ncmd); in dequeue_next_cmd()
648 list_del(&ncmd->list); in dequeue_next_cmd()
656 ncmd = list_first_entry(&hostdata->autosense, in dequeue_next_cmd()
658 list_del(&ncmd->list); in dequeue_next_cmd()
659 cmd = NCR5380_to_scmd(ncmd); in dequeue_next_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c1468 unsigned int ncmd; in do_video_ioctl() local
1474 case VIDIOC_G_FMT32: ncmd = VIDIOC_G_FMT; break; in do_video_ioctl()
1475 case VIDIOC_S_FMT32: ncmd = VIDIOC_S_FMT; break; in do_video_ioctl()
1476 case VIDIOC_QUERYBUF32: ncmd = VIDIOC_QUERYBUF; break; in do_video_ioctl()
1477 case VIDIOC_QUERYBUF32_TIME32: ncmd = VIDIOC_QUERYBUF_TIME32; break; in do_video_ioctl()
1478 case VIDIOC_G_FBUF32: ncmd = VIDIOC_G_FBUF; break; in do_video_ioctl()
1479 case VIDIOC_S_FBUF32: ncmd = VIDIOC_S_FBUF; break; in do_video_ioctl()
1480 case VIDIOC_QBUF32: ncmd = VIDIOC_QBUF; break; in do_video_ioctl()
1481 case VIDIOC_QBUF32_TIME32: ncmd = VIDIOC_QBUF_TIME32; break; in do_video_ioctl()
1482 case VIDIOC_DQBUF32: ncmd = VIDIOC_DQBUF; break; in do_video_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_crtn.h589 void lpfc_release_io_buf(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd,
591 void lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd);
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtqca.c338 evt->ncmd = 1; in qca_inject_cmd_complete_event()
Dhci_intel.c452 evt->ncmd = 0x01; in inject_cmd_complete()
Dbtusb.c2225 evt->ncmd = 0x01; in inject_cmd_complete()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dhci.h1984 __u8 ncmd; member
1991 __u8 ncmd; member
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_event.c3592 if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) in hci_cmd_complete_evt()
3697 if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) in hci_cmd_status_evt()