/kernel/linux/linux-5.10/drivers/spi/ |
D | spi.c | 119 struct spi_controller *ctlr = container_of(dev, \ 121 return spi_statistics_##field##_show(&ctlr->statistics, buf); \ 290 struct spi_controller *ctlr) in spi_statistics_add_transfer_stats() argument 305 (xfer->tx_buf != ctlr->dummy_tx)) in spi_statistics_add_transfer_stats() 308 (xfer->rx_buf != ctlr->dummy_rx)) in spi_statistics_add_transfer_stats() 498 struct spi_device *spi_alloc_device(struct spi_controller *ctlr) in spi_alloc_device() argument 502 if (!spi_controller_get(ctlr)) in spi_alloc_device() 507 spi_controller_put(ctlr); in spi_alloc_device() 511 spi->master = spi->controller = ctlr; in spi_alloc_device() 512 spi->dev.parent = &ctlr->dev; in spi_alloc_device() [all …]
|
D | spi-rockchip.c | 227 struct spi_controller *ctlr = spi->controller; in rockchip_spi_set_cs() local 228 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_set_cs() 252 static void rockchip_spi_handle_err(struct spi_controller *ctlr, in rockchip_spi_handle_err() argument 255 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_handle_err() 266 dmaengine_terminate_async(ctlr->dma_tx); in rockchip_spi_handle_err() 269 dmaengine_terminate_async(ctlr->dma_rx); in rockchip_spi_handle_err() 327 struct spi_controller *ctlr = dev_id; in rockchip_spi_isr() local 328 struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); in rockchip_spi_isr() 337 spi_finalize_current_transfer(ctlr); in rockchip_spi_isr() 363 struct spi_controller *ctlr = data; in rockchip_spi_dma_rxcb() local [all …]
|
D | spi-bcm2835.c | 131 struct spi_controller *ctlr; member 391 complete(&bs->ctlr->xfer_completion); in bcm2835_spi_interrupt() 397 static int bcm2835_spi_transfer_one_irq(struct spi_controller *ctlr, in bcm2835_spi_transfer_one_irq() argument 402 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_transfer_one_irq() 472 static void bcm2835_spi_transfer_prologue(struct spi_controller *ctlr, in bcm2835_spi_transfer_prologue() argument 517 dma_sync_single_for_device(ctlr->dma_rx->device->dev, in bcm2835_spi_transfer_prologue() 596 struct spi_controller *ctlr = data; in bcm2835_spi_dma_rx_done() local 597 struct bcm2835_spi *bs = spi_controller_get_devdata(ctlr); in bcm2835_spi_dma_rx_done() 604 dmaengine_terminate_async(ctlr->dma_tx); in bcm2835_spi_dma_rx_done() 613 complete(&ctlr->xfer_completion); in bcm2835_spi_dma_rx_done() [all …]
|
D | spi-mem.c | 34 int spi_controller_dma_map_mem_op_data(struct spi_controller *ctlr, in spi_controller_dma_map_mem_op_data() argument 43 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_map_mem_op_data() 44 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_map_mem_op_data() 45 else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) in spi_controller_dma_map_mem_op_data() 46 dmadev = ctlr->dma_rx->device->dev; in spi_controller_dma_map_mem_op_data() 48 dmadev = ctlr->dev.parent; in spi_controller_dma_map_mem_op_data() 53 return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, in spi_controller_dma_map_mem_op_data() 80 void spi_controller_dma_unmap_mem_op_data(struct spi_controller *ctlr, in spi_controller_dma_unmap_mem_op_data() argument 89 if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) in spi_controller_dma_unmap_mem_op_data() 90 dmadev = ctlr->dma_tx->device->dev; in spi_controller_dma_unmap_mem_op_data() [all …]
|
D | spi-mux.c | 89 struct spi_controller *ctlr = spi_get_drvdata(priv->spi); in spi_mux_complete_cb() local 90 struct spi_message *m = ctlr->cur_msg; in spi_mux_complete_cb() 95 spi_finalize_current_message(ctlr); in spi_mux_complete_cb() 99 static int spi_mux_transfer_one_message(struct spi_controller *ctlr, in spi_mux_transfer_one_message() argument 102 struct spi_mux_priv *priv = spi_controller_get_devdata(ctlr); in spi_mux_transfer_one_message() 128 struct spi_controller *ctlr; in spi_mux_probe() local 132 ctlr = spi_alloc_master(&spi->dev, sizeof(*priv)); in spi_mux_probe() 133 if (!ctlr) in spi_mux_probe() 136 spi_set_drvdata(spi, ctlr); in spi_mux_probe() 137 priv = spi_controller_get_devdata(ctlr); in spi_mux_probe() [all …]
|
D | spi-at91-usart.c | 106 struct spi_controller *ctlr = data; in dma_callback() local 107 struct at91_usart_spi *aus = spi_master_get_devdata(ctlr); in dma_callback() 123 static int at91_usart_spi_configure_dma(struct spi_controller *ctlr, in at91_usart_spi_configure_dma() argument 135 ctlr->dma_tx = dma_request_chan(dev, "tx"); in at91_usart_spi_configure_dma() 136 if (IS_ERR_OR_NULL(ctlr->dma_tx)) { in at91_usart_spi_configure_dma() 137 if (IS_ERR(ctlr->dma_tx)) { in at91_usart_spi_configure_dma() 138 err = PTR_ERR(ctlr->dma_tx); in at91_usart_spi_configure_dma() 148 ctlr->dma_rx = dma_request_chan(dev, "rx"); in at91_usart_spi_configure_dma() 149 if (IS_ERR_OR_NULL(ctlr->dma_rx)) { in at91_usart_spi_configure_dma() 150 if (IS_ERR(ctlr->dma_rx)) { in at91_usart_spi_configure_dma() [all …]
|
D | spi-slave-mt27xx.c | 112 static int mtk_spi_slave_prepare_message(struct spi_controller *ctlr, in mtk_spi_slave_prepare_message() argument 115 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_prepare_message() 145 static int mtk_spi_slave_fifo_transfer(struct spi_controller *ctlr, in mtk_spi_slave_fifo_transfer() argument 149 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_fifo_transfer() 182 static int mtk_spi_slave_dma_transfer(struct spi_controller *ctlr, in mtk_spi_slave_dma_transfer() argument 186 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_dma_transfer() 265 static int mtk_spi_slave_transfer_one(struct spi_controller *ctlr, in mtk_spi_slave_transfer_one() argument 269 struct mtk_spi_slave *mdata = spi_controller_get_devdata(ctlr); in mtk_spi_slave_transfer_one() 276 return mtk_spi_slave_dma_transfer(ctlr, spi, xfer); in mtk_spi_slave_transfer_one() 278 return mtk_spi_slave_fifo_transfer(ctlr, spi, xfer); in mtk_spi_slave_transfer_one() [all …]
|
D | spi-rspi.c | 184 struct spi_controller *ctlr; member 243 int (*transfer_one)(struct spi_controller *ctlr, 489 dev_err(&rspi->ctlr->dev, "transmit timeout\n"); in rspi_data_out() 503 dev_err(&rspi->ctlr->dev, "receive timeout\n"); in rspi_data_in() 549 desc_rx = dmaengine_prep_slave_sg(rspi->ctlr->dma_rx, rx->sgl, in rspi_dma_transfer() 569 desc_tx = dmaengine_prep_slave_sg(rspi->ctlr->dma_tx, tx->sgl, in rspi_dma_transfer() 607 dma_async_issue_pending(rspi->ctlr->dma_rx); in rspi_dma_transfer() 609 dma_async_issue_pending(rspi->ctlr->dma_tx); in rspi_dma_transfer() 616 dmaengine_synchronize(rspi->ctlr->dma_tx); in rspi_dma_transfer() 618 dmaengine_synchronize(rspi->ctlr->dma_rx); in rspi_dma_transfer() [all …]
|
D | spi-ar934x.c | 44 struct spi_controller *ctlr; member 159 struct spi_controller *ctlr; in ar934x_spi_probe() local 179 ctlr = devm_spi_alloc_master(&pdev->dev, sizeof(*sp)); in ar934x_spi_probe() 180 if (!ctlr) { in ar934x_spi_probe() 191 ctlr->mode_bits = SPI_LSB_FIRST; in ar934x_spi_probe() 192 ctlr->setup = ar934x_spi_setup; in ar934x_spi_probe() 193 ctlr->transfer_one_message = ar934x_spi_transfer_one_message; in ar934x_spi_probe() 194 ctlr->bits_per_word_mask = SPI_BPW_MASK(8); in ar934x_spi_probe() 195 ctlr->dev.of_node = pdev->dev.of_node; in ar934x_spi_probe() 196 ctlr->num_chipselect = 3; in ar934x_spi_probe() [all …]
|
D | spi-rpc-if.c | 133 struct spi_controller *ctlr; in rpcif_spi_probe() local 137 ctlr = devm_spi_alloc_master(&pdev->dev, sizeof(*rpc)); in rpcif_spi_probe() 138 if (!ctlr) in rpcif_spi_probe() 141 rpc = spi_controller_get_devdata(ctlr); in rpcif_spi_probe() 146 platform_set_drvdata(pdev, ctlr); in rpcif_spi_probe() 148 ctlr->dev.of_node = parent->of_node; in rpcif_spi_probe() 152 ctlr->num_chipselect = 1; in rpcif_spi_probe() 153 ctlr->mem_ops = &rpcif_spi_mem_ops; in rpcif_spi_probe() 155 ctlr->bits_per_word_mask = SPI_BPW_MASK(8); in rpcif_spi_probe() 156 ctlr->mode_bits = SPI_CPOL | SPI_CPHA | SPI_TX_QUAD | SPI_RX_QUAD; in rpcif_spi_probe() [all …]
|
D | spi-sh-hspi.c | 38 struct spi_controller *ctlr; member 143 static int hspi_transfer_one_message(struct spi_controller *ctlr, in hspi_transfer_one_message() argument 146 struct hspi_priv *hspi = spi_controller_get_devdata(ctlr); in hspi_transfer_one_message() 207 spi_finalize_current_message(ctlr); in hspi_transfer_one_message() 215 struct spi_controller *ctlr; in hspi_probe() local 227 ctlr = spi_alloc_master(&pdev->dev, sizeof(*hspi)); in hspi_probe() 228 if (!ctlr) in hspi_probe() 238 hspi = spi_controller_get_devdata(ctlr); in hspi_probe() 242 hspi->ctlr = ctlr; in hspi_probe() 254 ctlr->bus_num = pdev->id; in hspi_probe() [all …]
|
D | spi-sh-msiof.c | 42 struct spi_controller *ctlr; member 297 if (!(p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_clk_regs() 361 if (spi_controller_is_slave(p->ctlr)) { in sh_msiof_spi_set_pin_regs() 368 if (p->ctlr->flags & SPI_CONTROLLER_MUST_TX) { in sh_msiof_spi_set_pin_regs() 392 if (tx_buf || (p->ctlr->flags & SPI_CONTROLLER_MUST_TX)) in sh_msiof_spi_set_mode_regs() 553 if (spi->cs_gpiod || spi_controller_is_slave(p->ctlr)) in sh_msiof_spi_setup() 578 static int sh_msiof_prepare_message(struct spi_controller *ctlr, in sh_msiof_prepare_message() argument 581 struct sh_msiof_spi_priv *p = spi_controller_get_devdata(ctlr); in sh_msiof_prepare_message() 587 ss = ctlr->unused_native_cs; in sh_msiof_prepare_message() 602 bool slave = spi_controller_is_slave(p->ctlr); in sh_msiof_spi_start() [all …]
|
D | spi-sprd-adi.c | 111 struct spi_controller *ctlr; member 275 static int sprd_adi_transfer_one(struct spi_controller *ctlr, in sprd_adi_transfer_one() argument 279 struct sprd_adi *sadi = spi_controller_get_devdata(ctlr); in sprd_adi_transfer_one() 461 struct spi_controller *ctlr; in sprd_adi_probe() local 475 ctlr = spi_alloc_master(&pdev->dev, sizeof(struct sprd_adi)); in sprd_adi_probe() 476 if (!ctlr) in sprd_adi_probe() 479 dev_set_drvdata(&pdev->dev, ctlr); in sprd_adi_probe() 480 sadi = spi_controller_get_devdata(ctlr); in sprd_adi_probe() 491 sadi->ctlr = ctlr; in sprd_adi_probe() 515 ctlr->dev.of_node = pdev->dev.of_node; in sprd_adi_probe() [all …]
|
D | spi-fsl-dspi.c | 210 struct spi_controller *ctlr; member 342 if (spi_controller_is_slave(dspi->ctlr)) in dspi_pop_tx_pushr() 432 if (spi_controller_is_slave(dspi->ctlr)) { in dspi_next_xfer_dma_submit() 841 spi_take_timestamp_pre(dspi->ctlr, xfer, dspi->progress, !dspi->irq); in dspi_fifo_write() 850 spi_take_timestamp_post(dspi->ctlr, dspi->cur_transfer, in dspi_fifo_write() 903 static int dspi_transfer_one_message(struct spi_controller *ctlr, in dspi_transfer_one_message() argument 906 struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr); in dspi_transfer_one_message() 946 spi_take_timestamp_pre(dspi->ctlr, dspi->cur_transfer, in dspi_transfer_one_message() 970 spi_finalize_current_message(ctlr); in dspi_transfer_one_message() 1021 if (!spi_controller_is_slave(dspi->ctlr)) { in dspi_setup() [all …]
|
D | spi-zynq-qspi.c | 292 struct spi_controller *ctlr = spi->master; in zynq_qspi_chipselect() local 293 struct zynq_qspi *xqspi = spi_controller_get_devdata(ctlr); in zynq_qspi_chipselect() 297 if (ctlr->num_chipselect > 1) { in zynq_qspi_chipselect() 380 struct spi_controller *ctlr = spi->master; in zynq_qspi_setup_op() local 381 struct zynq_qspi *qspi = spi_controller_get_devdata(ctlr); in zynq_qspi_setup_op() 383 if (ctlr->busy) in zynq_qspi_setup_op() 634 struct spi_controller *ctlr; in zynq_qspi_probe() local 640 ctlr = spi_alloc_master(&pdev->dev, sizeof(*xqspi)); in zynq_qspi_probe() 641 if (!ctlr) in zynq_qspi_probe() 644 xqspi = spi_controller_get_devdata(ctlr); in zynq_qspi_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 112 struct cpdma_ctlr *ctlr; member 173 #define dma_reg_read(ctlr, ofs) readl((ctlr)->dmaregs + (ofs)) argument 176 #define dma_reg_write(ctlr, ofs, v) writel(v, (ctlr)->dmaregs + (ofs)) argument 190 static void cpdma_desc_pool_destroy(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_destroy() argument 192 struct cpdma_desc_pool *pool = ctlr->pool; in cpdma_desc_pool_destroy() 202 dma_free_coherent(ctlr->dev, pool->mem_size, pool->cpumap, in cpdma_desc_pool_destroy() 212 static int cpdma_desc_pool_create(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_create() argument 214 struct cpdma_params *cpdma_params = &ctlr->params; in cpdma_desc_pool_create() 218 pool = devm_kzalloc(ctlr->dev, sizeof(*pool), GFP_KERNEL); in cpdma_desc_pool_create() 221 ctlr->pool = pool; in cpdma_desc_pool_create() [all …]
|
D | davinci_cpdma.h | 67 int cpdma_ctlr_destroy(struct cpdma_ctlr *ctlr); 68 int cpdma_ctlr_start(struct cpdma_ctlr *ctlr); 69 int cpdma_ctlr_stop(struct cpdma_ctlr *ctlr); 71 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, 90 int cpdma_ctlr_int_ctrl(struct cpdma_ctlr *ctlr, bool enable); 91 void cpdma_ctlr_eoi(struct cpdma_ctlr *ctlr, u32 value); 93 u32 cpdma_ctrl_rxchs_state(struct cpdma_ctlr *ctlr); 94 u32 cpdma_ctrl_txchs_state(struct cpdma_ctlr *ctlr); 99 u32 cpdma_chan_get_min_rate(struct cpdma_ctlr *ctlr); 116 int cpdma_control_get(struct cpdma_ctlr *ctlr, int control); [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
D | fcoe_sysfs.c | 141 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); \ 142 if (ctlr->f->get_fcoe_ctlr_##field) \ 143 ctlr->f->get_fcoe_ctlr_##field(ctlr); \ 145 cast fcoe_ctlr_##field(ctlr)); \ 154 struct fcoe_ctlr_device *ctlr = fcoe_fcf_dev_to_ctlr_dev(fcf); \ 155 if (ctlr->f->get_fcoe_fcf_##field) \ 156 ctlr->f->get_fcoe_fcf_##field(fcf); \ 166 struct fcoe_ctlr_device *ctlr = dev_to_ctlr(dev); \ 167 return snprintf(buf, sz, format_string, cast fcoe_ctlr_##field(ctlr)); \ 181 static FCOE_DEVICE_ATTR(ctlr, field, S_IRUGO, \ [all …]
|
D | fcoe.c | 383 struct fcoe_ctlr *ctlr; in fcoe_interface_create() local 404 ctlr = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_interface_create() 405 ctlr->cdev = ctlr_dev; in fcoe_interface_create() 406 fcoe = fcoe_ctlr_priv(ctlr); in fcoe_interface_create() 413 fcoe_ctlr_init(ctlr, fip_mode); in fcoe_interface_create() 414 ctlr->send = fcoe_fip_send; in fcoe_interface_create() 415 ctlr->update_mac = fcoe_update_src_mac; in fcoe_interface_create() 416 ctlr->get_src_addr = fcoe_get_src_mac; in fcoe_interface_create() 420 fcoe_ctlr_destroy(ctlr); in fcoe_interface_create() 514 struct fcoe_ctlr *ctlr; in fcoe_fip_recv() local [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/hyperbus/ |
D | hyperbus-core.c | 23 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_read16() local 26 read_data.x[0] = ctlr->ops->read16(hbdev, addr); in hyperbus_read16() 35 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_write16() local 37 ctlr->ops->write16(hbdev, addr, d.x[0]); in hyperbus_write16() 44 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_from() local 46 ctlr->ops->copy_from(hbdev, to, from, len); in hyperbus_copy_from() 53 struct hyperbus_ctlr *ctlr = hbdev->ctlr; in hyperbus_copy_to() local 55 ctlr->ops->copy_to(hbdev, to, from, len); in hyperbus_copy_to() 61 struct hyperbus_ctlr *ctlr; in hyperbus_register_device() local 67 if (!hbdev || !hbdev->np || !hbdev->ctlr || !hbdev->ctlr->dev) { in hyperbus_register_device() [all …]
|
D | hbmc-am654.c | 28 struct hyperbus_ctlr *ctlr; member 33 struct hyperbus_ctlr ctlr; member 89 dev_dbg(priv->ctlr->dev, "DMA mapping failed\n"); in am654_hbmc_dma_read() 96 dev_err(priv->ctlr->dev, "device_prep_dma_memcpy error\n"); in am654_hbmc_dma_read() 108 dev_err(priv->ctlr->dev, "dma_submit_error %d\n", cookie); in am654_hbmc_dma_read() 115 dev_err(priv->ctlr->dev, "DMA wait_for_completion_timeout\n"); in am654_hbmc_dma_read() 150 dev_dbg(priv->ctlr->dev, "No DMA channel available\n"); in am654_hbmc_request_mmap_dma() 198 priv->ctlr.dev = dev; in am654_hbmc_probe() 199 priv->ctlr.ops = &am654_hbmc_ops; in am654_hbmc_probe() 200 priv->hbdev.ctlr = &priv->ctlr; in am654_hbmc_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 186 struct rdac_controller *ctlr; member 264 static unsigned int rdac_failover_get(struct rdac_controller *ctlr, in rdac_failover_get() argument 273 if (ctlr->use_ms10) { in rdac_failover_get() 277 rdac_pg = &ctlr->mode_select.expanded; in rdac_failover_get() 289 rdac_pg = &ctlr->mode_select.legacy; in rdac_failover_get() 305 if (ctlr->use_ms10) { in rdac_failover_get() 319 struct rdac_controller *ctlr; in release_controller() local 320 ctlr = container_of(kref, struct rdac_controller, kref); in release_controller() 322 list_del(&ctlr->node); in release_controller() 323 kfree(ctlr); in release_controller() [all …]
|
/kernel/linux/linux-5.10/include/linux/spi/ |
D | spi.h | 80 struct spi_controller *ctlr); 588 bool (*can_dma)(struct spi_controller *ctlr, 617 int (*prepare_transfer_hardware)(struct spi_controller *ctlr); 618 int (*transfer_one_message)(struct spi_controller *ctlr, 620 int (*unprepare_transfer_hardware)(struct spi_controller *ctlr); 621 int (*prepare_message)(struct spi_controller *ctlr, 623 int (*unprepare_message)(struct spi_controller *ctlr, 625 int (*slave_abort)(struct spi_controller *ctlr); 632 int (*transfer_one)(struct spi_controller *ctlr, struct spi_device *spi, 634 void (*handle_err)(struct spi_controller *ctlr, [all …]
|
/kernel/linux/linux-5.10/drivers/net/can/rcar/ |
D | rcar_can.c | 63 u16 ctlr; /* Control Register */ member 446 u16 ctlr; in rcar_can_start() local 455 ctlr = readw(&priv->regs->ctlr); in rcar_can_start() 456 ctlr &= ~RCAR_CAN_CTLR_SLPM; in rcar_can_start() 457 writew(ctlr, &priv->regs->ctlr); in rcar_can_start() 459 ctlr |= RCAR_CAN_CTLR_CANM_FORCE_RESET; in rcar_can_start() 460 writew(ctlr, &priv->regs->ctlr); in rcar_can_start() 466 ctlr |= RCAR_CAN_CTLR_IDFM_MIXED; /* Select mixed ID mode */ in rcar_can_start() 467 ctlr |= RCAR_CAN_CTLR_BOM_ENT; /* Entry to halt mode automatically */ in rcar_can_start() 469 ctlr |= RCAR_CAN_CTLR_MBM; /* Select FIFO mailbox mode */ in rcar_can_start() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 141 struct fcoe_ctlr *ctlr = fcoe_ctlr_device_priv(ctlr_dev); in bnx2fc_fcf_get_vlan_id() local 142 struct bnx2fc_interface *fcoe = fcoe_ctlr_priv(ctlr); in bnx2fc_fcf_get_vlan_id() 269 struct fcoe_ctlr *ctlr; in bnx2fc_xmit() local 282 ctlr = bnx2fc_to_ctlr(interface); in bnx2fc_xmit() 295 if (!ctlr->sel_fcf) { in bnx2fc_xmit() 300 if (fcoe_ctlr_els_send(ctlr, lport, skb)) in bnx2fc_xmit() 373 if (ctlr->map_dest) in bnx2fc_xmit() 377 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in bnx2fc_xmit() 379 if (unlikely(ctlr->flogi_oxid != FC_XID_UNKNOWN)) in bnx2fc_xmit() 380 memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); in bnx2fc_xmit() [all …]
|