Home
last modified time | relevance | path

Searched refs:devtype_data (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/mtd/nand/raw/
Dmxc_nand.c184 const struct mxc_nand_devtype_data *devtype_data; member
256 u16 sparebuf_size = host->devtype_data->spare_len; in copy_spare()
297 host->devtype_data->send_addr(host, column & 0xff, in mxc_do_addr_cycle()
301 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
309 host->devtype_data->send_addr(host, (page_addr & 0xff), false); in mxc_do_addr_cycle()
314 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
317 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
322 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
327 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
330 host->devtype_data->send_addr(host, in mxc_do_addr_cycle()
[all …]
Ds3c2410.c967 const struct s3c24XX_nand_devtype_data *devtype_data; in s3c24xx_nand_probe_dt() local
973 devtype_data = of_device_get_match_data(&pdev->dev); in s3c24xx_nand_probe_dt()
974 if (!devtype_data) in s3c24xx_nand_probe_dt()
977 info->cpu_type = devtype_data->type; in s3c24xx_nand_probe_dt()
/linux-6.6.21/drivers/spi/
Dspi-fsl-qspi.c271 const struct fsl_qspi_devtype_data *devtype_data; member
279 return q->devtype_data->quirks & QUADSPI_QUIRK_SWAP_ENDIAN; in needs_swap_endian()
284 return q->devtype_data->quirks & QUADSPI_QUIRK_4X_INT_CLK; in needs_4x_clock()
289 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT253890; in needs_fill_txfifo()
294 return q->devtype_data->quirks & QUADSPI_QUIRK_TKT245618; in needs_wakeup_wait_mode()
299 return !(q->devtype_data->quirks & QUADSPI_QUIRK_BASE_INTERNAL); in needs_amba_base_offset()
304 return q->devtype_data->quirks & QUADSPI_QUIRK_USE_TDH_SETTING; in needs_tdh_setting()
325 if (q->devtype_data->little_endian) in qspi_writel()
333 if (q->devtype_data->little_endian) in qspi_readl()
403 (op->data.nbytes > q->devtype_data->ahb_buf_size || in fsl_qspi_supports_op()
[all …]
Dspi-fsl-dspi.c139 static const struct fsl_dspi_devtype_data devtype_data[] = { variable
227 const struct fsl_dspi_devtype_data *devtype_data; member
476 if (dspi->words_in_flight > dspi->devtype_data->fifo_size) in dspi_dma_xfer()
477 dspi->words_in_flight = dspi->devtype_data->fifo_size; in dspi_dma_xfer()
494 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 …]
Dspi-imx.c128 const struct spi_imx_devtype_data *devtype_data; member
133 return d->devtype_data->devtype == IMX27_CSPI; in is_imx27_cspi()
138 return d->devtype_data->devtype == IMX35_CSPI; in is_imx35_cspi()
143 return d->devtype_data->devtype == IMX51_ECSPI; in is_imx51_ecspi()
148 return d->devtype_data->devtype == IMX53_ECSPI; in is_imx53_ecspi()
247 if (transfer->len < spi_imx->devtype_data->fifo_size) in spi_imx_can_dma()
689 if (spi_imx->usedma && spi_imx->devtype_data->tx_glitch_fixed) in mx51_ecspi_prepare_transfer()
703 if (spi_imx->devtype_data->tx_glitch_fixed) in mx51_setup_wml()
1165 while (spi_imx->txfifo < spi_imx->devtype_data->fifo_size) { in spi_imx_push()
1176 spi_imx->devtype_data->trigger(spi_imx); in spi_imx_push()
[all …]
Dspi-nxp-fspi.c389 struct nxp_fspi_devtype_data *devtype_data; member
397 return f->devtype_data->quirks & FSPI_QUIRK_USE_IP_ONLY; in needs_ip_only()
409 if (f->devtype_data->little_endian) in fspi_writel()
417 if (f->devtype_data->little_endian) in fspi_readl()
492 (op->data.nbytes > f->devtype_data->ahb_buf_size || in nxp_fspi_supports_op()
493 (op->data.nbytes > f->devtype_data->rxfifo - 4 && in nxp_fspi_supports_op()
498 op->data.nbytes > f->devtype_data->txfifo) in nxp_fspi_supports_op()
511 if (!f->devtype_data->little_endian) in fspi_readl_poll_tout()
934 if (op->data.nbytes > (f->devtype_data->rxfifo - 4) && in nxp_fspi_exec_op()
958 if (op->data.nbytes > f->devtype_data->txfifo) in nxp_fspi_adjust_op_size()
[all …]
/linux-6.6.21/drivers/net/can/flexcan/
Dflexcan.h102 struct flexcan_devtype_data devtype_data; member
122 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_mailbox()
130 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_mailbox_rtr()
141 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_fifo()
149 const u32 quirks = priv->devtype_data.quirks; in flexcan_active_rx_rtr()
Dflexcan-ethtool.c30 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) in flexcan_get_ringparam()
64 u32 quirks = priv->devtype_data.quirks; in flexcan_set_priv_flags()
80 if (quirks != priv->devtype_data.quirks && netif_running(ndev)) in flexcan_set_priv_flags()
83 priv->devtype_data.quirks = quirks; in flexcan_set_priv_flags()
Dflexcan-core.c540 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCFW) { in flexcan_enter_stop_mode()
544 } else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR) { in flexcan_enter_stop_mode()
559 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_SCFW) { in flexcan_exit_stop_mode()
563 } else if (priv->devtype_data.quirks & FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR) { in flexcan_exit_stop_mode()
955 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) { in flexcan_mailbox_read()
1025 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) in flexcan_mailbox_read()
1051 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) { in flexcan_irq()
1110 (priv->devtype_data.quirks & (FLEXCAN_QUIRK_BROKEN_WERR_STATE | in flexcan_irq()
1132 (priv->devtype_data.quirks & FLEXCAN_QUIRK_BROKEN_PERR_STATE) && in flexcan_irq()
1136 if (priv->devtype_data.quirks & in flexcan_irq()
[all …]
/linux-6.6.21/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c112 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_nocrc_update_bits()
171 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_nocrc_read()
192 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX)) in mcp251xfd_regmap_nocrc_read()
306 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_HALF_DUPLEX) { in mcp251xfd_regmap_crc_read()
469 return (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) || in mcp251xfd_regmap_use_nocrc()
470 (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)); in mcp251xfd_regmap_use_nocrc()
476 return (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) || in mcp251xfd_regmap_use_crc()
477 (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX); in mcp251xfd_regmap_use_crc()
512 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) in mcp251xfd_regmap_init_nocrc()
515 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_RX)) in mcp251xfd_regmap_init_nocrc()
[all …]
Dmcp251xfd-core.c97 return __mcp251xfd_get_model_str(priv->devtype_data.model); in mcp251xfd_get_model_str()
633 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_ECC) in mcp251xfd_chip_ecc_init()
1148 if ((priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) && in mcp251xfd_handle_modif()
1215 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_MAB_NO_WARN) in mcp251xfd_handle_serrif()
1691 priv->devtype_data.quirks |= MCP251XFD_QUIRK_HALF_DUPLEX; in mcp251xfd_register_quirks()
1697 const struct mcp251xfd_devtype_data *devtype_data; in mcp251xfd_register_chip_detect() local
1720 devtype_data = &mcp251xfd_devtype_data_mcp251863; in mcp251xfd_register_chip_detect()
1722 devtype_data = &mcp251xfd_devtype_data_mcp2518fd; in mcp251xfd_register_chip_detect()
1724 devtype_data = &mcp251xfd_devtype_data_mcp2517fd; in mcp251xfd_register_chip_detect()
1728 priv->devtype_data.model != devtype_data->model) { in mcp251xfd_register_chip_detect()
[all …]
Dmcp251xfd-tx.c88 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_obj_from_skb()
115 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) { in mcp251xfd_tx_obj_from_skb()
Dmcp251xfd.h661 struct mcp251xfd_devtype_data devtype_data; member
669 return priv->devtype_data.model == MCP251XFD_MODEL_MCP##_model; \
789 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG) { in mcp251xfd_spi_cmd_write()
Dmcp251xfd-ring.c37 if (!(priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_REG)) { in mcp251xfd_cmd_prepare_write_reg()
144 if (priv->devtype_data.quirks & MCP251XFD_QUIRK_CRC_TX) in mcp251xfd_tx_ring_init_tx_obj()
/linux-6.6.21/drivers/perf/
Dfsl_imx8_ddr_perf.c104 const struct fsl_ddr_devtype_data *devtype_data; member
116 return sysfs_emit(page, "%s\n", pmu->devtype_data->identifier); in ddr_perf_identifier_show()
126 if (!pmu->devtype_data->identifier) in ddr_perf_identifier_attr_visible()
152 u32 quirks = pmu->devtype_data->quirks; in ddr_perf_filter_cap_get()
322 filt = pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED; in ddr_perf_is_enhanced_filtered()
397 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_init()
440 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED) { in ddr_perf_counter_enable()
485 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER_ENHANCED) { in ddr_perf_event_update()
534 if (pmu->devtype_data->quirks & DDR_CAP_AXI_ID_FILTER) { in ddr_perf_event_add()
721 pmu->devtype_data = of_device_get_match_data(&pdev->dev); in ddr_perf_probe()
Dfsl_imx9_ddr_perf.c65 const struct imx_ddr_devtype_data *devtype_data; member
86 return sysfs_emit(page, "%s\n", pmu->devtype_data->identifier); in ddr_perf_identifier_show()
616 pmu->devtype_data = of_device_get_match_data(&pdev->dev); in ddr_perf_probe()
/linux-6.6.21/drivers/net/can/
Dat91_can.c135 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()
1251 const struct at91_devtype_data *devtype_data; in at91_can_probe() local
1259 devtype_data = at91_can_get_driver_data(pdev); in at91_can_probe()
1260 if (!devtype_data) { in at91_can_probe()
1294 1 << devtype_data->tx_shift); in at91_can_probe()
[all …]
/linux-6.6.21/arch/arm/mach-imx/
Dmmdc.c106 struct fsl_mmdc_devtype_data *devtype_data; member
354 if (pmu_mmdc->devtype_data->flags & MMDC_FLAG_PROFILE_SEL) in mmdc_pmu_event_start()
510 pmu_mmdc->devtype_data = (struct fsl_mmdc_devtype_data *)of_id->data; in imx_mmdc_perf_init()