• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/

Lines Matching defs:ethdev

173 	struct cnic_eth_dev *ethdev = cp->ethdev;
181 ethdev->drv_ctl(dev->netdev, &info);
187 struct cnic_eth_dev *ethdev = cp->ethdev;
194 ethdev->drv_ctl(dev->netdev, &info);
200 struct cnic_eth_dev *ethdev = cp->ethdev;
211 ethdev->drv_ctl(dev->netdev, &info);
217 struct cnic_eth_dev *ethdev = cp->ethdev;
224 ethdev->drv_ctl(dev->netdev, &info);
230 struct cnic_eth_dev *ethdev = cp->ethdev;
236 ethdev->drv_ctl(dev->netdev, &info);
248 struct cnic_eth_dev *ethdev = cp->ethdev;
253 ethdev->drv_ctl(dev->netdev, &info);
936 if (cp->ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX)
1014 int ctx_blk_size = cp->ethdev->ctx_blk_size;
1022 if (blks > cp->ethdev->ctx_tbl_len)
1061 struct cnic_eth_dev *ethdev = cp->ethdev;
1062 u32 start_cid = ethdev->starting_cid;
1128 cp->bnx2x_def_status_blk = cp->ethdev->irq_arr[1].status_blk;
1221 ret = cp->ethdev->drv_submit_kwqes_16(dev->netdev, kwq, 1);
1426 struct cnic_eth_dev *ethdev = cp->ethdev;
1427 int blk = (cid - ethdev->starting_cid) / cp->cids_per_blk;
1428 int off = (cid - ethdev->starting_cid) % cp->cids_per_blk;
2369 if (!(cp->ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX))
3417 struct cnic_eth_dev *ethdev = cp->ethdev;
3419 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3422 free_irq(ethdev->irq_arr[0].vector, dev);
3429 struct cnic_eth_dev *ethdev = cp->ethdev;
3431 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3446 err = request_irq(ethdev->irq_arr[0].vector, cnic_irq, 0,
3491 struct cnic_eth_dev *ethdev = cp->ethdev;
3493 if (!(ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX))
3503 struct cnic_eth_dev *ethdev = cp->ethdev;
3505 if (!(ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX))
3511 synchronize_irq(ethdev->irq_arr[0].vector);
3517 struct cnic_eth_dev *ethdev = cp->ethdev;
3528 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3583 struct cnic_eth_dev *ethdev = cp->ethdev;
3594 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3693 struct cnic_eth_dev *ethdev = cp->ethdev;
3777 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3827 struct cnic_eth_dev *ethdev = cp->ethdev;
3828 u32 start_offset = ethdev->ctx_tbl_offset;
3848 struct cnic_eth_dev *ethdev = cp->ethdev;
3853 if (ethdev->drv_state & CNIC_DRV_STATE_USING_MSIX) {
3854 err = request_irq(ethdev->irq_arr[0].vector, cnic_irq, 0,
4293 struct cnic_eth_dev *ethdev = cp->ethdev;
4296 if (!ethdev)
4299 if (ethdev->drv_state & CNIC_DRV_STATE_REGD)
4302 err = ethdev->drv_register_cnic(dev->netdev, cp->cnic_ops, dev);
4312 struct cnic_eth_dev *ethdev = cp->ethdev;
4314 if (!ethdev)
4317 ethdev->drv_unregister_cnic(dev->netdev);
4323 struct cnic_eth_dev *ethdev = cp->ethdev;
4329 dev->regview = ethdev->io_base;
4330 cp->chip_id = ethdev->chip_id;
4333 cp->status_blk.gen = ethdev->irq_arr[0].status_blk;
4334 cp->status_blk_num = ethdev->irq_arr[0].status_blk_num;
4474 struct cnic_eth_dev *ethdev = NULL;
4479 ethdev = (*probe)(dev);
4482 if (!ethdev)
4485 pdev = ethdev->pdev;
4511 cp->ethdev = ethdev;
4539 struct cnic_eth_dev *ethdev = NULL;
4544 ethdev = (*probe)(dev);
4547 if (!ethdev)
4550 pdev = ethdev->pdev;
4565 cp->ethdev = ethdev;