Searched refs:devtype_data (Results 1 – 12 of 12) sorted by relevance
/drivers/mtd/nand/raw/ |
D | mxc_nand.c | 185 const struct mxc_nand_devtype_data *devtype_data; member 257 u16 sparebuf_size = host->devtype_data->spare_len; in copy_spare() 298 host->devtype_data->send_addr(host, column & 0xff, in mxc_do_addr_cycle() 302 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 310 host->devtype_data->send_addr(host, (page_addr & 0xff), false); in mxc_do_addr_cycle() 315 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 318 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 323 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 328 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() 331 host->devtype_data->send_addr(host, in mxc_do_addr_cycle() [all …]
|
D | s3c2410.c | 1024 const struct s3c24XX_nand_devtype_data *devtype_data; in s3c24xx_nand_probe_dt() local 1030 devtype_data = of_device_get_match_data(&pdev->dev); in s3c24xx_nand_probe_dt() 1031 if (!devtype_data) in s3c24xx_nand_probe_dt() 1034 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 | 123 const struct spi_imx_devtype_data *devtype_data; member 128 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi() 133 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi() 138 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi() 143 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi() 242 if (transfer->len < spi_imx->devtype_data->fifo_size) in spi_imx_can_dma() 645 if (spi_imx->usedma && spi_imx->devtype_data->tx_glitch_fixed) in mx51_ecspi_prepare_transfer() 659 if (spi_imx->devtype_data->tx_glitch_fixed) in mx51_setup_wml() 1123 while (spi_imx->txfifo < spi_imx->devtype_data->fifo_size) { in spi_imx_push() 1134 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_push() [all …]
|
D | spi-nxp-fspi.c | 374 struct nxp_fspi_devtype_data *devtype_data; member 382 return f->devtype_data->quirks & FSPI_QUIRK_USE_IP_ONLY; in needs_ip_only() 394 if (f->devtype_data->little_endian) in fspi_writel() 402 if (f->devtype_data->little_endian) in fspi_readl() 477 (op->data.nbytes > f->devtype_data->ahb_buf_size || in nxp_fspi_supports_op() 478 (op->data.nbytes > f->devtype_data->rxfifo - 4 && in nxp_fspi_supports_op() 483 op->data.nbytes > f->devtype_data->txfifo) in nxp_fspi_supports_op() 496 if (!f->devtype_data->little_endian) in fspi_readl_poll_tout() 883 if (op->data.nbytes > (f->devtype_data->rxfifo - 4) && in nxp_fspi_exec_op() 907 if (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() 297 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_crc_read() 460 return (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) || in mcp251xfd_regmap_use_nocrc() 461 (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)); in mcp251xfd_regmap_use_nocrc() 467 return (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) || in mcp251xfd_regmap_use_crc() 468 (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX); in mcp251xfd_regmap_use_crc() 503 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) in mcp251xfd_regmap_init_nocrc() 506 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)) in mcp251xfd_regmap_init_nocrc() [all …]
|
D | mcp251xfd-core.c | 90 return __mcp251xfd_get_model_str(priv->devtype_data.model); in mcp251xfd_get_model_str() 200 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) { in mcp251xfd_cmd_prepare_write_reg() 302 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_ring_init_tx_obj() 952 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_ECC) in mcp251xfd_chip_ecc_init() 1892 if ((priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) && in mcp251xfd_handle_modif() 1959 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) in mcp251xfd_handle_serrif() 2382 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_obj_from_skb() 2409 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) { in mcp251xfd_tx_obj_from_skb() 2597 priv->devtype_data.quirks |= MCP251XFD_QUIRK_HALF_DUPLEX; in mcp251xfd_register_quirks() 2603 const struct mcp251xfd_devtype_data *devtype_data; in mcp251xfd_register_chip_detect() local [all …]
|
D | mcp251xfd.h | 613 struct mcp251xfd_devtype_data devtype_data; member 621 return priv->devtype_data.model == MCP251XFD_MODEL_MCP##_model##FD; \ 727 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) { in mcp251xfd_spi_cmd_write()
|
/drivers/net/can/ |
D | flexcan.c | 374 struct flexcan_devtype_data devtype_data; member 624 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCFW) { in flexcan_enter_stop_mode() 643 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCFW) { in flexcan_exit_stop_mode() 1041 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) { in flexcan_mailbox_read() 1111 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) in flexcan_mailbox_read() 1137 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) { in flexcan_irq() 1197 (priv->devtype_data.quirks & (FLEXCAN_QUIRK_BROKEN_WERR_STATE | in flexcan_irq() 1219 (priv->devtype_data.quirks & FLEXCAN_QUIRK_BROKEN_PERR_STATE) && in flexcan_irq() 1223 if (priv->devtype_data.quirks & in flexcan_irq() 1451 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_NR_MB_16) in flexcan_rx_offload_setup() [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() 1258 const struct at91_devtype_data *devtype_data; in at91_can_probe() local 1266 devtype_data = at91_can_get_driver_data(pdev); in at91_can_probe() 1267 if (!devtype_data) { in at91_can_probe() 1301 1 << devtype_data->tx_shift); in at91_can_probe() [all …]
|
/drivers/perf/ |
D | fsl_imx8_ddr_perf.c | 106 const struct fsl_ddr_devtype_data *devtype_data; member 118 return sysfs_emit(page, "%s\n", pmu->devtype_data->identifier); in ddr_perf_identifier_show() 128 if (!pmu->devtype_data->identifier) in ddr_perf_identifier_attr_visible() 154 u32 quirks = pmu->devtype_data->quirks; in ddr_perf_filter_cap_get() 324 filt = pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED; in ddr_perf_is_enhanced_filtered() 399 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_init() 442 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED) { in ddr_perf_counter_enable() 487 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED) { in ddr_perf_event_update() 536 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_add() 725 pmu->devtype_data = of_device_get_match_data(&pdev->dev); in ddr_perf_probe()
|