/drivers/base/ |
H A D | isa.c | 114 int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev) argument 126 for (id = 0; id < ndev; id++) {
|
/drivers/block/ |
H A D | nvme-core.c | 2878 struct nvme_dev *ndev = pci_get_drvdata(pdev); local 2880 nvme_dev_shutdown(ndev); 2887 struct nvme_dev *ndev = pci_get_drvdata(pdev); local 2889 if (nvme_dev_resume(ndev) && !work_busy(&ndev->reset_work)) { 2890 ndev->reset_workfn = nvme_reset_failed_dev; 2891 queue_work(nvme_workq, &ndev->reset_work);
|
/drivers/ide/ |
H A D | ide-cs.c | 65 int ndev; member in struct:ide_info_t 237 info->ndev = 1; 257 if (info->ndev) { 265 info->ndev = 0;
|
/drivers/infiniband/core/ |
H A D | cma.c | 1867 static int iboe_tos_to_sl(struct net_device *ndev, int tos) argument 1873 dev = ndev->priv_flags & IFF_802_1Q_VLAN ? 1874 vlan_dev_real_dev(ndev) : ndev; 1880 if (ndev->priv_flags & IFF_802_1Q_VLAN) 1881 return (vlan_dev_get_egress_qos_mask(ndev, prio) & 1893 struct net_device *ndev = NULL; local 1912 ndev = dev_get_by_index(&init_net, addr->dev_addr.bound_dev_if); 1913 if (!ndev) { 1918 route->path_rec->vlan_id = rdma_vlan_dev_vlan_id(ndev); 3287 struct net_device *ndev = NULL; local 3428 cma_netdev_change(struct net_device *ndev, struct rdma_id_private *id_priv) argument 3456 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); local [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 1670 int ndev; local 1724 for (ndev = prefunit != -1 ? prefunit : 0; ndev < devmax; 1725 ndev++) { 1726 struct ipath_devdata *dd = ipath_lookup(ndev); 1775 int devmax, ndev, i; local 1780 for (ndev = 0; ndev < devmax; ndev++) { 1781 struct ipath_devdata *dd = ipath_lookup(ndev); [all...] |
/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 350 struct net_device *ndev; local 378 ndev = iboe->netdevs[port - 1]; 379 if (!ndev) 382 tmp = iboe_get_mtu(ndev->mtu); 385 props->state = (netif_running(ndev) && netif_carrier_ok(ndev)) ? 825 struct net_device *ndev; local 832 ndev = mdev->iboe.netdevs[mqp->port - 1]; 833 if (ndev) 834 dev_hold(ndev); 1284 struct net_device *ndev; local [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 1426 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; local 1442 for (ndev = 0; ndev < devmax; ndev++) { 1443 struct qib_devdata *dd = qib_lookup(ndev); 1472 for (ndev = 0; ndev < devmax; ndev++) { 1473 struct qib_devdata *dd = qib_lookup(ndev); 1492 int devmax, ndev, local 1544 int ret = 0, devmax, npresent, nup, ndev; local [all...] |
/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1421 void ipoib_set_umcast(struct net_device *ndev, int umcast_val) argument 1423 struct ipoib_dev_priv *priv = netdev_priv(ndev);
|
/drivers/isdn/i4l/ |
H A D | isdn_concap.c | 44 struct net_device *ndev = concap->net_dev; local 45 isdn_net_dev *nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; 63 struct net_device *ndev = concap->net_dev; local 64 isdn_net_local *lp = netdev_priv(ndev); 66 IX25DEBUG("isdn_concap_dl_connect_req: %s \n", ndev->name);
|
H A D | isdn_net.c | 1051 isdn_net_xmit(struct net_device *ndev, struct sk_buff *skb) argument 1055 isdn_net_local *lp = netdev_priv(ndev); 1058 if (((isdn_net_local *) netdev_priv(ndev))->master) { 1067 return isdn_ppp_xmit(skb, ndev); 1070 nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; 1073 printk(KERN_WARNING "%s: all channels busy - requeuing!\n", ndev->name); 1132 static void isdn_net_tx_timeout(struct net_device *ndev) argument 1134 isdn_net_local *lp = netdev_priv(ndev); 1136 printk(KERN_WARNING "isdn_tx_timeout dev %s dialstate %d\n", ndev->name, lp->dialstate); 1156 ndev 1166 isdn_net_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument 1785 isdn_net_receive(struct net_device *ndev, struct sk_buff *skb) argument 2017 isdn_net_init(struct net_device *ndev) argument [all...] |
H A D | isdn_ppp.c | 2105 isdn_net_dev *ndev; local 2109 if (!(ndev = isdn_net_findif(name))) 2111 lp = ndev->local; 2136 isdn_net_dev *ndev; local 2140 if (!(ndev = isdn_net_findif(name))) 2142 lp = ndev->local;
|
H A D | isdn_x25iface.c | 163 struct net_device *ndev, 169 IX25DEBUG("isdn_x25iface_proto_restart %s \n", MY_DEVNAME(ndev)); 181 cprot->net_dev = ndev; 162 isdn_x25iface_proto_restart(struct concap_proto *cprot, struct net_device *ndev, struct concap_device_ops *dops) argument
|
/drivers/media/radio/ |
H A D | radio-sf16fmr2.c | 252 static int fmr2_isa_match(struct device *pdev, unsigned int ndev) argument 295 static int fmr2_isa_remove(struct device *pdev, unsigned int ndev) argument
|
/drivers/misc/mei/ |
H A D | nfc.c | 139 static void mei_nfc_free(struct mei_nfc_dev *ndev) argument 141 if (ndev->cl) { 142 list_del(&ndev->cl->device_link); 143 mei_cl_unlink(ndev->cl); 144 kfree(ndev->cl); 147 if (ndev->cl_info) { 148 list_del(&ndev->cl_info->device_link); 149 mei_cl_unlink(ndev->cl_info); 150 kfree(ndev->cl_info); 153 memset(ndev, 156 mei_nfc_build_bus_name(struct mei_nfc_dev *ndev) argument 201 mei_nfc_connect(struct mei_nfc_dev *ndev) argument 268 mei_nfc_if_version(struct mei_nfc_dev *ndev) argument 322 struct mei_nfc_dev *ndev = &nfc_dev; local 344 struct mei_nfc_dev *ndev; local 383 struct mei_nfc_dev *ndev; local 416 struct mei_nfc_dev *ndev; local 482 struct mei_nfc_dev *ndev = &nfc_dev; local 553 struct mei_nfc_dev *ndev = &nfc_dev; local [all...] |
/drivers/net/caif/ |
H A D | caif_hsi.c | 73 netdev_dbg(cfhsi->ndev, "%s.\n", 150 cfhsi->ndev->stats.tx_errors++; 151 cfhsi->ndev->stats.tx_dropped++; 169 netdev_dbg(cfhsi->ndev, "%s.\n", 176 netdev_warn(cfhsi->ndev, 190 netdev_warn(cfhsi->ndev, 201 netdev_warn(cfhsi->ndev, 207 netdev_warn(cfhsi->ndev, 252 cfhsi->ndev->stats.tx_packets++; 253 cfhsi->ndev 1136 cfhsi_open(struct net_device *ndev) argument 1262 cfhsi_close(struct net_device *ndev) argument [all...] |
H A D | caif_spi.c | 368 cfspi->ndev->stats.tx_packets++; 369 cfspi->ndev->stats.tx_bytes += skb->len; 446 cfspi->cfdev.flowctrl(cfspi->ndev, 1); 512 cfspi->cfdev.flowctrl(cfspi->ndev, 0); 548 skb = netdev_alloc_skb(cfspi->ndev, pkt_len + 1); 564 res = cfspi_xmit(skb, cfspi->ndev); 567 cfspi->ndev->stats.rx_packets++; 568 cfspi->ndev->stats.rx_bytes += pkt_len; 570 cfspi->ndev->stats.rx_dropped++; 686 cfspi->ndev 728 struct net_device *ndev; local [all...] |
H A D | caif_virtio.c | 79 * @ndev: CAIF link layer device 106 struct net_device *ndev; member in struct:cfv_info 199 netif_tx_wake_all_queues(cfv->ndev); 226 netdev_err(cfv->ndev, 237 skb = netdev_alloc_skb(cfv->ndev, frm_len + pad_len); 298 skb->dev = cfv->ndev; 301 ++cfv->ndev->stats.rx_dropped; 303 ++cfv->ndev->stats.rx_packets; 304 cfv->ndev->stats.rx_bytes += skb_len; 339 netdev_warn(cfv->ndev, "Ba [all...] |
/drivers/net/can/ |
H A D | at91_can.c | 1216 struct net_device *ndev = to_net_dev(dev); local 1217 struct at91_priv *priv = netdev_priv(ndev); 1224 if (ndev->flags & IFF_UP) {
|
H A D | janz-ican3.c | 198 struct net_device *ndev; member in struct:ican3_dev 295 netdev_dbg(mod->ndev, "no mbox for reading\n"); 340 netdev_err(mod->ndev, "no mbox for writing\n"); 542 netdev_dbg(mod->ndev, "%s: no free buffers\n", __func__); 573 netdev_dbg(mod->ndev, "%s: no buffers to recv\n", __func__); 883 netdev_dbg(mod->ndev, "IDVERS response: %s\n", msg->data); 888 struct net_device *dev = mod->ndev; 899 netdev_err(mod->ndev, "lost %d control messages\n", msg->data[0]); 930 struct net_device *dev = mod->ndev; 939 netdev_err(mod->ndev, "unabl 1232 struct net_device *ndev = mod->ndev; local 1479 ican3_open(struct net_device *ndev) argument 1506 ican3_stop(struct net_device *ndev) argument 1530 ican3_xmit(struct sk_buff *skb, struct net_device *ndev) argument 1623 ican3_set_bittiming(struct net_device *ndev) argument 1647 ican3_set_mode(struct net_device *ndev, enum can_mode mode) argument 1671 ican3_get_berr_counter(const struct net_device *ndev, struct can_berr_counter *bec) argument 1753 struct net_device *ndev; local 1889 struct net_device *ndev = platform_get_drvdata(pdev); local [all...] |
H A D | pch_can.c | 178 struct net_device *ndev; member in struct:pch_can_priv 226 netdev_err(priv->ndev, "%s -> Invalid Mode.\n", __func__); 279 netdev_err(priv->ndev, "Invalid interrupt number.\n"); 490 static void pch_can_error(struct net_device *ndev, u32 status) argument 493 struct pch_can_priv *priv = netdev_priv(ndev); 496 struct net_device_stats *stats = &(priv->ndev->stats); 499 skb = alloc_can_err_skb(ndev, &cf); 508 can_bus_off(ndev); 521 netdev_dbg(ndev, 533 netdev_dbg(ndev, 582 struct net_device *ndev = (struct net_device *)dev_id; local 615 pch_can_rx_msg_lost(struct net_device *ndev, int obj_id) argument 641 pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) argument 719 pch_can_tx_complete(struct net_device *ndev, u32 int_stat) argument 739 struct net_device *ndev = napi->dev; local 783 pch_set_bittiming(struct net_device *ndev) argument 805 pch_can_start(struct net_device *ndev) argument 826 pch_can_do_set_mode(struct net_device *ndev, enum can_mode mode) argument 843 pch_can_open(struct net_device *ndev) argument 878 pch_close(struct net_device *ndev) argument 891 pch_xmit(struct sk_buff *skb, struct net_device *ndev) argument 958 struct net_device *ndev = pci_get_drvdata(pdev); local 1182 struct net_device *ndev; local [all...] |
H A D | rcar_can.c | 87 struct net_device *ndev; member in struct:rcar_can_priv 210 static void tx_failure_cleanup(struct net_device *ndev) argument 215 can_free_echo_skb(ndev, i); 218 static void rcar_can_error(struct net_device *ndev) argument 220 struct rcar_can_priv *priv = netdev_priv(ndev); 221 struct net_device_stats *stats = &ndev->stats; 227 skb = alloc_can_err_skb(ndev, &cf); 243 netdev_dbg(priv->ndev, "Bus error interrupt:\n"); 250 netdev_dbg(priv->ndev, "ACK Delimiter Error\n"); 257 netdev_dbg(priv->ndev, "Bi 367 rcar_can_tx_done(struct net_device *ndev) argument 396 struct net_device *ndev = dev_id; local 438 rcar_can_start(struct net_device *ndev) argument 503 rcar_can_open(struct net_device *ndev) argument 546 rcar_can_stop(struct net_device *ndev) argument 570 rcar_can_close(struct net_device *ndev) argument 585 rcar_can_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument 703 rcar_can_do_set_mode(struct net_device *ndev, enum can_mode mode) argument 740 struct net_device *ndev; local 839 struct net_device *ndev = platform_get_drvdata(pdev); local 850 struct net_device *ndev = dev_get_drvdata(dev); local 871 struct net_device *ndev = dev_get_drvdata(dev); local [all...] |
H A D | ti_hecc.c | 214 struct net_device *ndev; member in struct:ti_hecc_priv 300 netdev_warn(priv->ndev, "WARN: Triple" 309 netdev_info(priv->ndev, "setting CANBTC=%#x\n", can_btc); 321 static void ti_hecc_reset(struct net_device *ndev) argument 324 struct ti_hecc_priv *priv = netdev_priv(ndev); 326 netdev_dbg(ndev, "resetting hecc ...\n"); 384 static void ti_hecc_start(struct net_device *ndev) argument 386 struct ti_hecc_priv *priv = netdev_priv(ndev); 390 ti_hecc_reset(ndev); 424 static void ti_hecc_stop(struct net_device *ndev) argument 435 ti_hecc_do_set_mode(struct net_device *ndev, enum can_mode mode) argument 452 ti_hecc_get_berr_counter(const struct net_device *ndev, struct can_berr_counter *bec) argument 485 ti_hecc_xmit(struct sk_buff *skb, struct net_device *ndev) argument 615 struct net_device *ndev = napi->dev; local 660 ti_hecc_error(struct net_device *ndev, int int_status, int err_status) argument 758 struct net_device *ndev = (struct net_device *)dev_id; local 822 ti_hecc_open(struct net_device *ndev) argument 854 ti_hecc_close(struct net_device *ndev) argument 879 struct net_device *ndev = (struct net_device *)0; local 982 struct net_device *ndev = platform_get_drvdata(pdev); local [all...] |
/drivers/net/can/c_can/ |
H A D | c_can_platform.c | 337 struct net_device *ndev = platform_get_drvdata(pdev); local 338 struct c_can_priv *priv = netdev_priv(ndev); 345 if (netif_running(ndev)) { 346 netif_stop_queue(ndev); 347 netif_device_detach(ndev); 350 ret = c_can_power_down(ndev); 352 netdev_err(ndev, "failed to enter power down mode\n"); 364 struct net_device *ndev = platform_get_drvdata(pdev); local 365 struct c_can_priv *priv = netdev_priv(ndev); 372 ret = c_can_power_up(ndev); [all...] |
/drivers/net/can/m_can/ |
H A D | m_can.c | 1242 struct net_device *ndev = dev_get_drvdata(dev); local 1243 struct m_can_priv *priv = netdev_priv(ndev); 1245 if (netif_running(ndev)) { 1246 netif_stop_queue(ndev); 1247 netif_device_detach(ndev); 1259 struct net_device *ndev = dev_get_drvdata(dev); local 1260 struct m_can_priv *priv = netdev_priv(ndev); 1266 if (netif_running(ndev)) { 1267 netif_device_attach(ndev); 1268 netif_start_queue(ndev); [all...] |
/drivers/net/can/softing/ |
H A D | softing_main.c | 389 static int softing_netdev_open(struct net_device *ndev) argument 394 ret = open_candev(ndev); 396 ret = softing_startstop(ndev, 1); 400 static int softing_netdev_stop(struct net_device *ndev) argument 404 netif_stop_queue(ndev); 407 ret = softing_startstop(ndev, 0); 411 static int softing_candev_set_mode(struct net_device *ndev, enum can_mode mode) argument 418 ret = softing_startstop(ndev, 1); 562 struct net_device *ndev = to_net_dev(dev); local 563 struct softing_priv *priv = netdev2softing(ndev); 571 struct net_device *ndev = to_net_dev(dev); local 580 struct net_device *ndev = to_net_dev(dev); local [all...] |