Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
DNCR5380.c147 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->status = 0; in initialize_SCp()
160 ncmd->message = 0; in initialize_SCp()
163 static inline void advance_sg_buffer(struct NCR5380_cmd *ncmd) in advance_sg_buffer() argument
[all …]
/linux-6.1.9/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.c1153 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local
1169 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd()
1171 ncmd->u64 = 0; in send_rx_ctrl_cmd()
1172 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd()
1173 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd()
1175 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd()
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()
[all …]
Dlio_ethtool.c477 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.s.cmd = OCTNET_CMD_ID_ACTIVE; in octnet_id_active()
[all …]
Docteon_nic.h39 union octnet_cmd ncmd; member
/linux-6.1.9/arch/um/drivers/
Dvirt-pci.c104 u8 *ncmd = kmalloc(cmd_size + extra_size, GFP_ATOMIC); in um_pci_send_cmd() local
106 if (ncmd) { in um_pci_send_cmd()
107 memcpy(ncmd, cmd, cmd_size); in um_pci_send_cmd()
109 memcpy(ncmd + cmd_size, extra, extra_size); in um_pci_send_cmd()
110 cmd = (void *)ncmd; in um_pci_send_cmd()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_crtn.h655 void lpfc_release_io_buf(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd,
657 void lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd);
/linux-6.1.9/drivers/bluetooth/
Dbtqca.c435 evt->ncmd = 1; in qca_inject_cmd_complete_event()
Dhci_intel.c452 evt->ncmd = 0x01; in inject_cmd_complete()
Dbtusb.c2199 evt->ncmd = 0x01; in inject_cmd_complete()
/linux-6.1.9/include/net/bluetooth/
Dhci.h2294 __u8 ncmd; member
2301 __u8 ncmd; member
/linux-6.1.9/net/bluetooth/
Dhci_event.c3766 static inline void handle_cmd_cnt_and_timer(struct hci_dev *hdev, u8 ncmd) in handle_cmd_cnt_and_timer() argument
3772 if (ncmd) { in handle_cmd_cnt_and_timer()
4201 handle_cmd_cnt_and_timer(hdev, ev->ncmd); in hci_cmd_complete_evt()
4304 handle_cmd_cnt_and_timer(hdev, ev->ncmd); in hci_cmd_status_evt()