/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | NCR5380.c | 147 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(cmd); in initialize_SCp() local 150 ncmd->buffer = scsi_sglist(cmd); in initialize_SCp() 151 ncmd->ptr = sg_virt(ncmd->buffer); in initialize_SCp() 152 ncmd->this_residual = ncmd->buffer->length; in initialize_SCp() 154 ncmd->buffer = NULL; in initialize_SCp() 155 ncmd->ptr = NULL; in initialize_SCp() 156 ncmd->this_residual = 0; in initialize_SCp() 159 ncmd in initialize_SCp() 163 advance_sg_buffer(struct NCR5380_cmd *ncmd) advance_sg_buffer() argument 176 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(cmd); set_resid_from_SCp() local 564 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(cmd); NCR5380_queue_command() local 638 struct NCR5380_cmd *ncmd; dequeue_next_cmd() local 672 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(cmd); requeue_cmd() local 757 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(hostdata->connected); NCR5380_dma_complete() local 1691 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(cmd); global() variable 1706 advance_sg_buffer(ncmd); global() variable 1756 advance_sg_buffer(ncmd); global() variable 2031 struct NCR5380_cmd *ncmd; NCR5380_reselect() local 2189 struct NCR5380_cmd *ncmd; list_find_cmd() local 2207 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(needle); list_del_cmd() local 2328 struct NCR5380_cmd *ncmd; bus_reset_cleanup() local 2387 struct NCR5380_cmd *ncmd; NCR5380_host_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.c | 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() 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()
|
H A D | lio_core.c | 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() 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 in liquidio_link_ctrl_cmd_completion() 1214 union octnet_cmd *ncmd; liquidio_change_mtu() local 1524 union octnet_cmd *ncmd; liquidio_set_speed() local 1601 union octnet_cmd *ncmd; liquidio_get_speed() local 1674 union octnet_cmd *ncmd; liquidio_set_fec() local 1763 union octnet_cmd *ncmd; liquidio_get_fec() local [all...] |
H A D | lio_vf_main.c | 602 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 in liquidio_set_mcast_list() [all...] |
H A D | lio_main.c | 1159 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() 1970 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list() 1971 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_MULTI_LIST; in liquidio_set_mcast_list() 1972 nctrl.ncmd.s.param1 = get_new_flags(netdev); in liquidio_set_mcast_list() 1973 nctrl.ncmd in liquidio_set_mcast_list() [all...] |
H A D | lio_ethtool.c | 476 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 in octnet_id_active() [all...] |
H A D | octeon_nic.h | 39 union octnet_cmd ncmd; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.c | 105 uddsize = (u32)(nctrl->ncmd.s.more * 8); in octnic_alloc_ctrl_pkt_sc() 118 memcpy(data, &nctrl->ncmd, OCTNET_CMD_SIZE); in octnic_alloc_ctrl_pkt_sc() 150 (nctrl->ncmd.s.cmd != OCTNET_CMD_RX_CTL)) { in octnet_send_nic_ctrl_pkt() 154 __func__, nctrl->ncmd.s.cmd); in octnet_send_nic_ctrl_pkt() 170 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt() 177 if (nctrl->ncmd.s.cmdgroup == 0) { in octnet_send_nic_ctrl_pkt() 178 switch (nctrl->ncmd.s.cmd) { in octnet_send_nic_ctrl_pkt()
|
H A D | lio_core.c | 172 nctrl.ncmd.u64 = 0; in liquidio_set_feature() 173 nctrl.ncmd.s.cmd = cmd; in liquidio_set_feature() 174 nctrl.ncmd.s.param1 = param1; in liquidio_set_feature() 268 switch (nctrl->ncmd.s.cmd) { in liquidio_link_ctrl_cmd_completion() 276 if (nctrl->ncmd.s.param1) { in liquidio_link_ctrl_cmd_completion() 278 int vfidx = nctrl->ncmd.s.param1 - 1; in liquidio_link_ctrl_cmd_completion() 279 bool mac_is_admin_assigned = nctrl->ncmd.s.param2; in liquidio_link_ctrl_cmd_completion() 322 if (nctrl->ncmd.s.param1) in liquidio_link_ctrl_cmd_completion() 332 netdev->name, nctrl->ncmd.s.param1); in liquidio_link_ctrl_cmd_completion() 337 netdev->name, nctrl->ncmd in liquidio_link_ctrl_cmd_completion() 1219 union octnet_cmd *ncmd; liquidio_change_mtu() local 1532 union octnet_cmd *ncmd; liquidio_set_speed() local 1609 union octnet_cmd *ncmd; liquidio_get_speed() local 1683 union octnet_cmd *ncmd; liquidio_set_fec() local 1772 union octnet_cmd *ncmd; liquidio_get_fec() local [all...] |
H A D | lio_vf_main.c | 599 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local 614 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd() 616 ncmd->u64 = 0; in send_rx_ctrl_cmd() 617 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd() 618 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd() 620 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd() 1051 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_UC_LIST; in liquidio_set_uc_list() 1052 nctrl.ncmd.s.more = lio->netdev_uc_count; in liquidio_set_uc_list() 1053 nctrl.ncmd.s.param1 = oct->vf_num; in liquidio_set_uc_list() 1085 nctrl.ncmd in liquidio_set_mcast_list() [all...] |
H A D | lio_main.c | 1150 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local 1166 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd() 1168 ncmd->u64 = 0; in send_rx_ctrl_cmd() 1169 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd() 1170 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd() 1172 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd() 1963 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list() 1964 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_MULTI_LIST; in liquidio_set_mcast_list() 1965 nctrl.ncmd.s.param1 = get_new_flags(netdev); in liquidio_set_mcast_list() 1966 nctrl.ncmd in liquidio_set_mcast_list() [all...] |
H A D | lio_ethtool.c | 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() 712 nctrl.ncmd.u64 = 0; in octnet_gpio_access() 713 nctrl.ncmd.s.cmd = OCTNET_CMD_GPIO_ACCESS; in octnet_gpio_access() 714 nctrl.ncmd.s.param1 = addr; in octnet_gpio_access() 715 nctrl.ncmd.s.param2 = val; in octnet_gpio_access() 739 nctrl.ncmd.u64 = 0; in octnet_id_active() 740 nctrl.ncmd in octnet_id_active() [all...] |
H A D | octeon_nic.h | 39 union octnet_cmd ncmd; member
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 1468 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 in do_video_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | NCR5380.c | 567 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() 672 struct NCR5380_cmd *ncmd = scsi_cmd_priv(cmd); requeue_cmd() local 1684 struct NCR5380_cmd *ncmd = scsi_cmd_priv(cmd); global() variable 2025 struct NCR5380_cmd *ncmd; NCR5380_reselect() local 2183 struct NCR5380_cmd *ncmd; list_find_cmd() local 2201 struct NCR5380_cmd *ncmd = scsi_cmd_priv(needle); list_del_cmd() local 2323 struct NCR5380_cmd *ncmd; bus_reset_cleanup() local 2383 struct NCR5380_cmd *ncmd; NCR5380_host_reset() local [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | virt-pci.c | 109 u8 *ncmd = kmalloc(cmd_size + extra_size, GFP_ATOMIC); in um_pci_send_cmd() local 111 if (ncmd) { in um_pci_send_cmd() 112 memcpy(ncmd, cmd, cmd_size); in um_pci_send_cmd() 114 memcpy(ncmd + cmd_size, extra, extra_size); in um_pci_send_cmd() 115 cmd = (void *)ncmd; in um_pci_send_cmd()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_crtn.h | 589 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-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_crtn.h | 656 void lpfc_release_io_buf(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd, 658 void lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd);
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | btqca.c | 338 evt->ncmd = 1; in qca_inject_cmd_complete_event()
|
H A D | hci_intel.c | 452 evt->ncmd = 0x01; in inject_cmd_complete()
|
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btqca.c | 435 evt->ncmd = 1; in qca_inject_cmd_complete_event()
|
H A D | hci_intel.c | 452 evt->ncmd = 0x01; in inject_cmd_complete()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci.h | 1984 __u8 ncmd; member 1991 __u8 ncmd; member
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci.h | 2332 __u8 ncmd; member 2339 __u8 ncmd; member
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_event.c | 3773 static inline void handle_cmd_cnt_and_timer(struct hci_dev *hdev, u8 ncmd) in handle_cmd_cnt_and_timer() argument 3779 if (ncmd) { in handle_cmd_cnt_and_timer() 4266 handle_cmd_cnt_and_timer(hdev, ev->ncmd); in hci_cmd_complete_evt() 4376 handle_cmd_cnt_and_timer(hdev, ev->ncmd); in hci_cmd_status_evt()
|