Home
last modified time | relevance | path

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

/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c165 nctrl.ncmd.u64 = 0; in liquidio_set_feature()
166 nctrl.ncmd.s.cmd = cmd; in liquidio_set_feature()
167 nctrl.ncmd.s.param1 = param1; in liquidio_set_feature()
260 switch (nctrl->ncmd.s.cmd) { in liquidio_link_ctrl_cmd_completion()
268 if (nctrl->ncmd.s.param1) { in liquidio_link_ctrl_cmd_completion()
270 int vfidx = nctrl->ncmd.s.param1 - 1; in liquidio_link_ctrl_cmd_completion()
271 bool mac_is_admin_assigned = nctrl->ncmd.s.param2; in liquidio_link_ctrl_cmd_completion()
314 if (nctrl->ncmd.s.param1) in liquidio_link_ctrl_cmd_completion()
324 netdev->name, nctrl->ncmd.s.param1); in liquidio_link_ctrl_cmd_completion()
329 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.c605 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local
615 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd()
617 ncmd->u64 = 0; in send_rx_ctrl_cmd()
618 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd()
619 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd()
621 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd()
1047 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_UC_LIST; in liquidio_set_uc_list()
1048 nctrl.ncmd.s.more = lio->netdev_uc_count; in liquidio_set_uc_list()
1049 nctrl.ncmd.s.param1 = oct->vf_num; in liquidio_set_uc_list()
1081 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list()
[all …]
Dlio_main.c1185 union octnet_cmd *ncmd; in send_rx_ctrl_cmd() local
1201 ncmd = (union octnet_cmd *)sc->virtdptr; in send_rx_ctrl_cmd()
1203 ncmd->u64 = 0; in send_rx_ctrl_cmd()
1204 ncmd->s.cmd = OCTNET_CMD_RX_CTL; in send_rx_ctrl_cmd()
1205 ncmd->s.param1 = start_stop; in send_rx_ctrl_cmd()
1207 octeon_swap_8B_data((u64 *)ncmd, (OCTNET_CMD_SIZE >> 3)); in send_rx_ctrl_cmd()
1983 nctrl.ncmd.u64 = 0; in liquidio_set_mcast_list()
1984 nctrl.ncmd.s.cmd = OCTNET_CMD_SET_MULTI_LIST; in liquidio_set_mcast_list()
1985 nctrl.ncmd.s.param1 = get_new_flags(netdev); in liquidio_set_mcast_list()
1986 nctrl.ncmd.s.param2 = mc_count; in liquidio_set_mcast_list()
[all …]
Dlio_ethtool.c478 nctrl.ncmd.u64 = 0; in lio_send_queue_count_update()
479 nctrl.ncmd.s.cmd = OCTNET_CMD_QUEUE_COUNT_CTL; in lio_send_queue_count_update()
480 nctrl.ncmd.s.param1 = num_queues; in lio_send_queue_count_update()
481 nctrl.ncmd.s.param2 = num_queues; in lio_send_queue_count_update()
713 nctrl.ncmd.u64 = 0; in octnet_gpio_access()
714 nctrl.ncmd.s.cmd = OCTNET_CMD_GPIO_ACCESS; in octnet_gpio_access()
715 nctrl.ncmd.s.param1 = addr; in octnet_gpio_access()
716 nctrl.ncmd.s.param2 = val; in octnet_gpio_access()
740 nctrl.ncmd.u64 = 0; in octnet_id_active()
741 nctrl.ncmd.s.cmd = OCTNET_CMD_ID_ACTIVE; in octnet_id_active()
[all …]
Docteon_nic.h39 union octnet_cmd ncmd; member
/drivers/scsi/
DNCR5380.c554 struct NCR5380_cmd *ncmd = scsi_cmd_priv(cmd); in NCR5380_queue_command() local
583 list_add(&ncmd->list, &hostdata->unissued); in NCR5380_queue_command()
585 list_add_tail(&ncmd->list, &hostdata->unissued); in NCR5380_queue_command()
625 struct NCR5380_cmd *ncmd; in dequeue_next_cmd() local
629 list_for_each_entry(ncmd, &hostdata->unissued, list) { in dequeue_next_cmd()
630 cmd = NCR5380_to_scmd(ncmd); in dequeue_next_cmd()
635 list_del(&ncmd->list); in dequeue_next_cmd()
643 ncmd = list_first_entry(&hostdata->autosense, in dequeue_next_cmd()
645 list_del(&ncmd->list); in dequeue_next_cmd()
646 cmd = NCR5380_to_scmd(ncmd); in dequeue_next_cmd()
[all …]
/drivers/bluetooth/
Dbtqca.c293 evt->ncmd = 1; in qca_inject_cmd_complete_event()
Dhci_intel.c458 evt->ncmd = 0x01; in inject_cmd_complete()
Dbtusb.c1983 evt->ncmd = 0x01; in inject_cmd_complete()
/drivers/scsi/lpfc/
Dlpfc_crtn.h584 void lpfc_release_io_buf(struct lpfc_hba *phba, struct lpfc_io_buf *ncmd,