/linux-4.1.27/drivers/net/ethernet/intel/ |
D | e100.c | 565 struct nic { struct 570 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument 634 static inline void e100_write_flush(struct nic *nic) in e100_write_flush() argument 638 (void)ioread8(&nic->csr->scb.status); in e100_write_flush() 641 static void e100_enable_irq(struct nic *nic) in e100_enable_irq() argument 645 spin_lock_irqsave(&nic->cmd_lock, flags); in e100_enable_irq() 646 iowrite8(irq_mask_none, &nic->csr->scb.cmd_hi); in e100_enable_irq() 647 e100_write_flush(nic); in e100_enable_irq() 648 spin_unlock_irqrestore(&nic->cmd_lock, flags); in e100_enable_irq() 651 static void e100_disable_irq(struct nic *nic) in e100_disable_irq() argument [all …]
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | gdm_wimax.c | 116 struct nic *nic = netdev_priv(dev); in gdm_wimax_event_rcv() local 124 gdm_wimax_send(nic, msg, len); in gdm_wimax_event_rcv() 229 struct nic *nic = arg; in tx_complete() local 231 if (netif_queue_stopped(nic->netdev)) in tx_complete() 232 netif_wake_queue(nic->netdev); in tx_complete() 238 struct nic *nic = netdev_priv(dev); in gdm_wimax_send_tx() local 240 ret = gdm_wimax_send_with_cb(nic, skb->data, skb->len, tx_complete, in gdm_wimax_send_tx() 241 nic); in gdm_wimax_send_tx() 288 struct nic *nic = netdev_priv(dev); in __gdm_wimax_set_mac_addr() local 304 gdm_wimax_send(nic, hci, HCI_HEADER_SIZE + 8); in __gdm_wimax_set_mac_addr() [all …]
|
D | gdm_qos.c | 93 struct nic *nic = nic_ptr; in gdm_qos_init() local 94 struct qos_cb_s *qcb = &nic->qos; in gdm_qos_init() 114 struct nic *nic = nic_ptr; in gdm_qos_release_list() local 115 struct qos_cb_s *qcb = &nic->qos; in gdm_qos_release_list() 188 static int get_qos_index(struct nic *nic, u8 *iph, u8 *tcpudph) in get_qos_index() argument 191 struct qos_cb_s *qcb = &nic->qos; in get_qos_index() 213 static void extract_qos_list(struct nic *nic, struct list_head *head) in extract_qos_list() argument 215 struct qos_cb_s *qcb = &nic->qos; in extract_qos_list() 236 netdev_warn(nic->netdev, "Index(%d) is piled!!\n", i); in extract_qos_list() 240 static void send_qos_list(struct nic *nic, struct list_head *head) in send_qos_list() argument [all …]
|
D | gdm_wimax.h | 36 struct nic { struct
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_lte.c | 80 struct nic *nic = arg; in tx_complete() local 82 if (netif_queue_stopped(nic->netdev)) in tx_complete() 83 netif_wake_queue(nic->netdev); in tx_complete() 86 static int gdm_lte_rx(struct sk_buff *skb, struct nic *nic, int nic_type) in gdm_lte_rx() argument 92 nic->stats.rx_dropped++; in gdm_lte_rx() 94 nic->stats.rx_packets++; in gdm_lte_rx() 95 nic->stats.rx_bytes += skb->len + ETH_HLEN; in gdm_lte_rx() 103 struct nic *nic = netdev_priv(skb_in->dev); in gdm_lte_emulate_arp() local 156 memcpy(mac_header_data + ETH_ALEN, nic->src_mac_addr, ETH_ALEN); in gdm_lte_emulate_arp() 176 gdm_lte_rx(skb_out, nic, nic_type); in gdm_lte_emulate_arp() [all …]
|
D | gdm_lte.h | 44 struct nic; 62 struct nic { struct
|
/linux-4.1.27/drivers/firmware/ |
D | iscsi_ibft.c | 181 struct ibft_nic *nic; member 300 struct ibft_nic *nic = entry->nic; in ibft_attr_show_nic() local 305 if (!nic) in ibft_attr_show_nic() 310 str += sprintf(str, "%d\n", nic->hdr.index); in ibft_attr_show_nic() 313 str += sprintf(str, "%d\n", nic->hdr.flags); in ibft_attr_show_nic() 316 str += sprintf_ipaddr(str, nic->ip_addr); in ibft_attr_show_nic() 319 val = cpu_to_be32(~((1 << (32-nic->subnet_mask_prefix))-1)); in ibft_attr_show_nic() 323 str += sprintf(str, "%d\n", nic->origin); in ibft_attr_show_nic() 326 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic() 329 str += sprintf_ipaddr(str, nic->primary_dns); in ibft_attr_show_nic() [all …]
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.c | 571 static int init_shared_mem(struct s2io_nic *nic) in init_shared_mem() argument 579 struct net_device *dev = nic->dev; in init_shared_mem() 582 struct config_param *config = &nic->config; in init_shared_mem() 583 struct mac_info *mac_control = &nic->mac_control; in init_shared_mem() 643 fifo->nic = nic; in init_shared_mem() 651 tmp_v = pci_alloc_consistent(nic->pdev, in init_shared_mem() 669 tmp_v = pci_alloc_consistent(nic->pdev, in init_shared_mem() 708 if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) { in init_shared_mem() 716 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem() 719 if (nic->rxd_mode == RXD_MODE_1) in init_shared_mem() [all …]
|
D | s2io.h | 709 struct s2io_nic *nic; member 787 struct s2io_nic *nic; member 1082 static int init_nic(struct s2io_nic *nic); 1109 static void s2io_card_down(struct s2io_nic *nic); 1110 static int s2io_card_up(struct s2io_nic *nic); 1116 static void restore_xmsi_data(struct s2io_nic *nic); 1132 static int rts_ds_steer(struct s2io_nic *nic, u8 ds_codepoint, u8 ring);
|
/linux-4.1.27/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 103 struct pci_nic *nic = pci_get_drvdata(pdev); in print_hw_id() local 111 nic->port_num == 1 ? "" : ", 2-Port"); in print_hw_id() 113 readl(nic->regs + SROM_VER), readl(nic->regs + FPGA_VER) & 0xFFF, in print_hw_id() 114 readl(nic->regs + FPGA_SEED), in print_hw_id() 119 static void print_fw_id(struct pci_nic *nic) in print_fw_id() argument 121 pr_info("fw 0x%x\n", readl(nic->regs + FW_VER)); in print_fw_id() 427 #define BDX_IRQ_TYPE ((priv->nic->irq_type == IRQ_MSI) ? 0 : IRQF_SHARED) in bdx_hw_start() 626 print_fw_id(priv->nic); in bdx_open() 637 return (offset > (u32) (BDX_REGS_SIZE / priv->nic->port_num)) ? in bdx_range_check() 1924 struct pci_nic *nic; in bdx_probe() local [all …]
|
D | tehuti.h | 273 struct pci_nic *nic; member
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 1568 nesnic = &nesvnic->nic; in nes_replenish_nic_rq() 1595 nic_rqe = &nesnic->rq_vbase[nesvnic->nic.rq_head]; in nes_replenish_nic_rq() 1710 nesvnic->nic.first_frag_vbase = vmem; in nes_init_nic_qp() 1713 nesvnic->nic.frag_paddr[counter] = pmem; in nes_init_nic_qp() 1720 nesvnic->nic.sq_vbase = (void *)vmem; in nes_init_nic_qp() 1721 nesvnic->nic.sq_pbase = pmem; in nes_init_nic_qp() 1722 nesvnic->nic.sq_head = 0; in nes_init_nic_qp() 1723 nesvnic->nic.sq_tail = 0; in nes_init_nic_qp() 1724 nesvnic->nic.sq_size = NES_NIC_WQ_SIZE; in nes_init_nic_qp() 1726 nic_sqe = &nesvnic->nic.sq_vbase[counter]; in nes_init_nic_qp() [all …]
|
D | nes_nic.c | 363 struct nes_hw_nic *nesnic = &nesvnic->nic; in nes_nic_send() 469 struct nes_hw_nic *nesnic = &nesvnic->nic; in nes_netdev_start_xmit() 690 (wqe_count << 24) | (1 << 23) | nesvnic->nic.qp_id); in nes_netdev_start_xmit() 1695 nesvnic->nic.qp_id = curr_qp_map[nesdev->netdev_count].qpid; in nes_netdev_init() 1719 nesvnic, (unsigned long)netdev->features, nesvnic->nic.qp_id, in nes_netdev_init() 1757 nesvnic->nic_cq.cq_number = nesvnic->nic.qp_id; in nes_netdev_init()
|
D | nes_hw.h | 1251 struct nes_hw_nic nic; member
|
D | nes_verbs.c | 1585 nescq->hw_cq.cq_number = nesvnic->nic.qp_id + 28 + 2 * ((nes_ucontext->mcrqf & 0xf) - 1); in nes_create_cq()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 898 struct qlcnic_info *nic) in qlcnic_82xx_set_nic_info() argument 917 nic_info->pci_func = cpu_to_le16(nic->pci_func); in qlcnic_82xx_set_nic_info() 918 nic_info->op_mode = cpu_to_le16(nic->op_mode); in qlcnic_82xx_set_nic_info() 919 nic_info->phys_port = cpu_to_le16(nic->phys_port); in qlcnic_82xx_set_nic_info() 920 nic_info->switch_mode = cpu_to_le16(nic->switch_mode); in qlcnic_82xx_set_nic_info() 921 nic_info->capabilities = cpu_to_le32(nic->capabilities); in qlcnic_82xx_set_nic_info() 922 nic_info->max_mac_filters = nic->max_mac_filters; in qlcnic_82xx_set_nic_info() 923 nic_info->max_tx_ques = cpu_to_le16(nic->max_tx_ques); in qlcnic_82xx_set_nic_info() 924 nic_info->max_rx_ques = cpu_to_le16(nic->max_rx_ques); in qlcnic_82xx_set_nic_info() 925 nic_info->min_tx_bw = cpu_to_le16(nic->min_tx_bw); in qlcnic_82xx_set_nic_info() [all …]
|
D | qlcnic_83xx_hw.c | 2366 struct qlcnic_info *nic) in qlcnic_83xx_set_nic_info() argument 2382 cmd.req.arg[1] = (nic->pci_func << 16); in qlcnic_83xx_set_nic_info() 2384 cmd.req.arg[3] = nic->phys_port | (nic->switch_mode << 16); in qlcnic_83xx_set_nic_info() 2385 cmd.req.arg[4] = nic->capabilities; in qlcnic_83xx_set_nic_info() 2386 cmd.req.arg[5] = (nic->max_mac_filters & 0xFF) | ((nic->max_mtu) << 16); in qlcnic_83xx_set_nic_info() 2387 cmd.req.arg[6] = (nic->max_tx_ques) | ((nic->max_rx_ques) << 16); in qlcnic_83xx_set_nic_info() 2388 cmd.req.arg[7] = (nic->min_tx_bw) | ((nic->max_tx_bw) << 16); in qlcnic_83xx_set_nic_info() 2459 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() argument 2466 (*nic)++; in qlcnic_get_pci_func_type() 2488 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local [all …]
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3509 struct be_nic_res_desc *nic; in be_get_nic_desc() local 3515 nic = (struct be_nic_res_desc *)hdr; in be_get_nic_desc() 3518 nic->flags & (1 << VFT_SHIFT))) in be_get_nic_desc() 3519 return nic; in be_get_nic_desc() 3660 struct be_nic_res_desc *nic; in be_cmd_get_profile_config() local 3706 nic = be_get_func_nic_desc(resp->func_param, desc_count); in be_cmd_get_profile_config() 3707 if (nic) in be_cmd_get_profile_config() 3708 be_copy_nic_desc(res, nic); in be_cmd_get_profile_config() 3754 static void be_reset_nic_desc(struct be_nic_res_desc *nic) in be_reset_nic_desc() argument 3756 memset(nic, 0, sizeof(*nic)); in be_reset_nic_desc() [all …]
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | Makefile | 1 sfc-y += efx.o nic.o farch.o falcon.o siena.o ef10.o tx.o \
|
D | nic.h | 175 int (*init) (struct efx_nic *nic); 177 void (*fini) (struct efx_nic *nic); 179 int (*monitor) (struct efx_nic *nic);
|
D | ethtool.c | 56 EFX_ETHTOOL_STAT(field, nic, field, \
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
D | klconfig.h | 225 nic_t nic; /* MUst be aligned properly */ member
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | ipw2100.h | 184 dma_addr_t nic; member 233 dma_addr_t nic; member
|
D | ipw2100.c | 2905 (u32) (txq->nic + i * sizeof(struct ipw2100_bd)), in __ipw2100_tx_process() 2913 (u32) (txq->nic + i * in __ipw2100_tx_process() 3036 (u32) (txq->nic + txq->next * in ipw2100_tx_send_commands() 4333 q->drv = pci_zalloc_consistent(priv->pci_dev, q->size, &q->nic); in status_queue_allocate() 4351 priv->status_queue.nic); in status_queue_free() 4367 q->drv = pci_zalloc_consistent(priv->pci_dev, q->size, &q->nic); in bd_queue_allocate() 4387 pci_free_consistent(priv->pci_dev, q->size, q->drv, q->nic); in bd_queue_free() 4401 (u32) q->nic); in bd_queue_initialize() 4403 write_register(priv->net_dev, base, q->nic); in bd_queue_initialize() 4653 priv->status_queue.nic); in ipw2100_rx_initialize()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
D | be_mgmt.c | 1230 struct be_cmd_get_nic_conf_resp *nic) in mgmt_get_nic_conf() argument 1237 sizeof(*nic)); in mgmt_get_nic_conf() 1241 return mgmt_exec_nonemb_cmd(phba, &nonemb_cmd, nic, sizeof(*nic)); in mgmt_get_nic_conf()
|
/linux-4.1.27/tools/lguest/ |
D | lguest.txt | 64 qemu -cdrom image.iso -hda rootfile -net user -net nic -boot d
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 404 u8 nic[14]; in ioc3_get_eaddr_nic() local 427 nic[i] = nic_read_byte(ioc3); in ioc3_get_eaddr_nic() 430 priv_netdev(ip)->dev_addr[i - 2] = nic[i]; in ioc3_get_eaddr_nic()
|
/linux-4.1.27/arch/mips/include/asm/sn/ |
D | klconfig.h | 492 nic_t nic; /* MUst be aligned properly */ member
|
/linux-4.1.27/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 90 iscsi_boot_rd_attr(tgt_nic, nic-assoc, ISCSI_BOOT_TGT_NIC_ASSOC);
|
/linux-4.1.27/Documentation/fmc/ |
D | carrier.txt | 285 the wr-nic (which uses IRQ(1) on the SPEC card) should configure 288 if the wr-nic gateware is known to use IRQ1 on the SPEC, the driver
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | main.c | 5926 static void wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic) in wl12xx_derive_mac_addresses() argument 5931 oui, nic); in wl12xx_derive_mac_addresses() 5933 if (nic + WLCORE_NUM_MAC_ADDRESSES - wl->num_mac_addr > 0xffffff) in wl12xx_derive_mac_addresses() 5940 wl->addresses[i].addr[3] = (u8)(nic >> 16); in wl12xx_derive_mac_addresses() 5941 wl->addresses[i].addr[4] = (u8)(nic >> 8); in wl12xx_derive_mac_addresses() 5942 wl->addresses[i].addr[5] = (u8) nic; in wl12xx_derive_mac_addresses() 5943 nic++; in wl12xx_derive_mac_addresses()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl8712_led.c | 90 struct net_device *nic; in InitLed871x() local 92 nic = padapter->pnetdev; in InitLed871x()
|
/linux-4.1.27/Documentation/networking/ |
D | vortex.txt | 306 ftp://ftp.3com.com/pub/nic/3c90x/3c90xx2.exe
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_hw.c | 1832 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 1761 if (hdr1->chip == hdr2->chip && SAME_INTF(nic) && SAME_INTF(vnic) && in fw_compatible()
|
/linux-4.1.27/ |
D | CREDITS | 17 E: mea@nic.funet.fi
|
D | MAINTAINERS | 169 M: Realtek linux nic maintainers <nic_swsd@realtek.com>
|