Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c172 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.s.param1); in liquidio_link_ctrl_cmd_completion()
[all …]
Docteon_nic.c105 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()
Dlio_vf_main.c599 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.u64 = 0; in liquidio_set_mcast_list()
[all …]
Dlio_main.c1150 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.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.6.21/arch/um/drivers/
Dvirt-pci.c109 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()
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_crtn.h656 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);
/linux-6.6.21/drivers/bluetooth/
Dbtqca.c435 evt->ncmd = 1; in qca_inject_cmd_complete_event()
Dhci_intel.c452 evt->ncmd = 0x01; in inject_cmd_complete()
Dbtusb.c2474 evt->ncmd = 0x01; in inject_cmd_complete()
/linux-6.6.21/include/net/bluetooth/
Dhci.h2334 __u8 ncmd; member
2341 __u8 ncmd; member
/linux-6.6.21/net/bluetooth/
Dhci_event.c3778 static inline void handle_cmd_cnt_and_timer(struct hci_dev *hdev, u8 ncmd) in handle_cmd_cnt_and_timer() argument
3784 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()