Searched refs:devtype_data (Results 1 – 12 of 12) sorted by relevance
/drivers/mtd/nand/raw/ |
D | mxc_nand.c | 186 const struct mxc_nand_devtype_data *devtype_data; member 259 u16 sparebuf_size = host->devtype_data->spare_len; in copy_spare() 300 host->devtype_data->send_addr(host, column & 0xff, in mxc_do_addr_cycle() 304 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 312 host->devtype_data->send_addr(host, (page_addr & 0xff), false); in mxc_do_addr_cycle() 317 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 320 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 325 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 330 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 333 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() [all …]
|
D | s3c2410.c | 1023 const struct s3c24XX_nand_devtype_data *devtype_data; in s3c24xx_nand_probe_dt() local 1029 devtype_data = of_device_get_match_data(&pdev->dev); in s3c24xx_nand_probe_dt() 1030 if (!devtype_data) in s3c24xx_nand_probe_dt() 1033 info->cpu_type = devtype_data->type; in s3c24xx_nand_probe_dt()
|
/drivers/spi/ |
D | spi-fsl-qspi.c | 272 const struct fsl_qspi_devtype_data *devtype_data; member 280 return q->devtype_data->quirks & QUADSPI_QUIRK_SWAP_ENDIAN; in needs_swap_endian() 285 return q->devtype_data->quirks & QUADSPI_QUIRK_4X_INT_CLK; in needs_4x_clock() 290 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT253890; in needs_fill_txfifo() 295 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT245618; in needs_wakeup_wait_mode() 300 return !(q->devtype_data->quirks & QUADSPI_QUIRK_BASE_INTERNAL); in needs_amba_base_offset() 305 return q->devtype_data->quirks & QUADSPI_QUIRK_USE_TDH_SETTING; in needs_tdh_setting() 326 if (q->devtype_data->little_endian) in qspi_writel() 334 if (q->devtype_data->little_endian) in qspi_readl() 404 (op->data.nbytes > q->devtype_data->ahb_buf_size || in fsl_qspi_supports_op() [all …]
|
D | spi-fsl-dspi.c | 138 static const struct fsl_dspi_devtype_data devtype_data[] = { variable 226 const struct fsl_dspi_devtype_data *devtype_data; member 475 if (dspi->words_in_flight > dspi->devtype_data->fifo_size) in dspi_dma_xfer() 476 dspi->words_in_flight = dspi->devtype_data->fifo_size; in dspi_dma_xfer() 493 int dma_bufsize = dspi->devtype_data->fifo_size * 2; in dspi_request_dma() 582 int dma_bufsize = dspi->devtype_data->fifo_size * 2; in dspi_release_dma() 757 if (!odd && dspi->len <= dspi->devtype_data->fifo_size * 2) { in dspi_setup_accel() 759 } else if (odd && dspi->len <= dspi->devtype_data->fifo_size) { in dspi_setup_accel() 763 if (dspi->devtype_data->trans_mode == DSPI_XSPI_MODE) in dspi_setup_accel() 810 int num_fifo_entries = dspi->devtype_data->fifo_size; in dspi_fifo_write() [all …]
|
D | spi-imx.c | 118 const struct spi_imx_devtype_data *devtype_data; member 123 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi() 128 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi() 133 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi() 138 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi() 237 if (transfer->len < spi_imx->devtype_data->fifo_size) in spi_imx_can_dma() 1121 while (spi_imx->txfifo < spi_imx->devtype_data->fifo_size) { in spi_imx_push() 1133 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_push() 1141 spi_imx->devtype_data->rx_available(spi_imx)) { in spi_imx_isr() 1155 spi_imx->devtype_data->intctrl( in spi_imx_isr() [all …]
|
D | spi-nxp-fspi.c | 356 const struct nxp_fspi_devtype_data *devtype_data; member 371 if (f->devtype_data->little_endian) in fspi_writel() 379 if (f->devtype_data->little_endian) in fspi_readl() 454 (op->data.nbytes > f->devtype_data->ahb_buf_size || in nxp_fspi_supports_op() 455 (op->data.nbytes > f->devtype_data->rxfifo - 4 && in nxp_fspi_supports_op() 460 op->data.nbytes > f->devtype_data->txfifo) in nxp_fspi_supports_op() 473 if (!f->devtype_data->little_endian) in fspi_readl_poll_tout() 859 if (op->data.nbytes > (f->devtype_data->rxfifo - 4) && in nxp_fspi_exec_op() 882 if (op->data.nbytes > f->devtype_data->txfifo) in nxp_fspi_adjust_op_size() 883 op->data.nbytes = f->devtype_data->txfifo; in nxp_fspi_adjust_op_size() [all …]
|
/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-regmap.c | 102 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_nocrc_update_bits() 161 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_nocrc_read() 182 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX)) in mcp251xfd_regmap_nocrc_read() 287 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_crc_read() 416 return (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) || in mcp251xfd_regmap_use_nocrc() 417 (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)); in mcp251xfd_regmap_use_nocrc() 423 return (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) || in mcp251xfd_regmap_use_crc() 424 (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX); in mcp251xfd_regmap_use_crc() 459 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) in mcp251xfd_regmap_init_nocrc() 462 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)) in mcp251xfd_regmap_init_nocrc() [all …]
|
D | mcp251xfd-core.c | 91 return __mcp251xfd_get_model_str(priv->devtype_data.model); in mcp251xfd_get_model_str() 201 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) { in mcp251xfd_cmd_prepare_write_reg() 303 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_ring_init_tx_obj() 904 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_ECC) in mcp251xfd_chip_ecc_init() 1792 if ((priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) && in mcp251xfd_handle_modif() 1859 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) in mcp251xfd_handle_serrif() 2266 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_obj_from_skb() 2288 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) { in mcp251xfd_tx_obj_from_skb() 2469 priv->devtype_data.quirks |= MCP251XFD_QUIRK_HALF_DUPLEX; in mcp251xfd_register_quirks() 2475 const struct mcp251xfd_devtype_data *devtype_data; in mcp251xfd_register_chip_detect() local [all …]
|
D | mcp251xfd.h | 597 struct mcp251xfd_devtype_data devtype_data; member 605 return priv->devtype_data.model == MCP251XFD_MODEL_MCP##_model##FD; \ 711 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) { in mcp251xfd_spi_cmd_write()
|
/drivers/net/can/ |
D | flexcan.c | 357 const struct flexcan_devtype_data *devtype_data; member 959 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) { in flexcan_mailbox_read() 1029 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) in flexcan_mailbox_read() 1055 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) { in flexcan_irq() 1114 (priv->devtype_data->quirks & (FLEXCAN_QUIRK_BROKEN_WERR_STATE | in flexcan_irq() 1136 (priv->devtype_data->quirks & FLEXCAN_QUIRK_BROKEN_PERR_STATE) && in flexcan_irq() 1140 if (priv->devtype_data->quirks & in flexcan_irq() 1379 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_SUPPORT_ECC) in flexcan_chip_start() 1408 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_USE_OFF_TIMESTAMP) in flexcan_chip_start() 1459 if (priv->devtype_data->quirks & FLEXCAN_QUIRK_BROKEN_WERR_STATE || in flexcan_chip_start() [all …]
|
D | at91_can.c | 135 struct at91_devtype_data devtype_data; member 174 return priv->devtype_data.type == AT91_DEVTYPE_SAM##_model; \ 182 return priv->devtype_data.rx_first; in get_mb_rx_first() 187 return priv->devtype_data.rx_last; in get_mb_rx_last() 192 return priv->devtype_data.rx_split; in get_mb_rx_split() 213 return priv->devtype_data.tx_shift; in get_mb_tx_shift() 1269 const struct at91_devtype_data *devtype_data; in at91_can_probe() local 1277 devtype_data = at91_can_get_driver_data(pdev); in at91_can_probe() 1278 if (!devtype_data) { in at91_can_probe() 1312 1 << devtype_data->tx_shift); in at91_can_probe() [all …]
|
/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 82 const struct fsl_ddr_devtype_data *devtype_data; member 96 u32 quirks = pmu->devtype_data->quirks; in ddr_perf_filter_cap_get() 269 filt = pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED; in ddr_perf_is_enhanced_filtered() 344 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_init() 433 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_add() 625 pmu->devtype_data = of_device_get_match_data(&pdev->dev); in ddr_perf_probe()
|