Home
last modified time | relevance | path

Searched refs:buswidth (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v6.1/drivers/interconnect/qcom/
Dsc8280xp.c22 .buswidth = 4,
31 .buswidth = 4,
40 .buswidth = 4,
49 .buswidth = 4,
57 .buswidth = 8,
66 .buswidth = 8,
75 .buswidth = 8,
84 .buswidth = 8,
93 .buswidth = 8,
102 .buswidth = 8,
[all …]
Dsc8180x.c22 .buswidth = 4,
31 .buswidth = 8,
40 .buswidth = 8,
49 .buswidth = 8,
58 .buswidth = 8,
67 .buswidth = 8,
76 .buswidth = 16,
85 .buswidth = 4,
94 .buswidth = 4,
103 .buswidth = 4,
[all …]
Dsc7280.c22 .buswidth = 4,
31 .buswidth = 4,
40 .buswidth = 4,
49 .buswidth = 4,
58 .buswidth = 8,
67 .buswidth = 8,
76 .buswidth = 8,
85 .buswidth = 8,
94 .buswidth = 8,
103 .buswidth = 8,
[all …]
Dsm8450.c23 .buswidth = 4,
32 .buswidth = 4,
41 .buswidth = 4,
50 .buswidth = 8,
59 .buswidth = 8,
68 .buswidth = 8,
77 .buswidth = 4,
86 .buswidth = 4,
95 .buswidth = 4,
104 .buswidth = 4,
[all …]
Dqcs404.c103 .buswidth = 8,
118 .buswidth = 8,
133 .buswidth = 8,
147 .buswidth = 8,
162 .buswidth = 8,
176 .buswidth = 4,
190 .buswidth = 4,
204 .buswidth = 4,
218 .buswidth = 8,
233 .buswidth = 8,
[all …]
Dmsm8996.c43 .buswidth = 8,
58 .buswidth = 8,
73 .buswidth = 8,
92 .buswidth = 8,
104 .buswidth = 8,
119 .buswidth = 8,
138 .buswidth = 8,
153 .buswidth = 8,
168 .buswidth = 8,
189 .buswidth = 8,
[all …]
Dmsm8916.c116 .buswidth = 8,
133 .buswidth = 8,
151 .buswidth = 8,
170 .buswidth = 4,
184 .buswidth = 4,
198 .buswidth = 4,
214 .buswidth = 8,
234 .buswidth = 16,
254 .buswidth = 16,
273 .buswidth = 8,
[all …]
Dmsm8939.c121 .buswidth = 8,
138 .buswidth = 16,
154 .buswidth = 16,
173 .buswidth = 4,
187 .buswidth = 4,
201 .buswidth = 4,
217 .buswidth = 16,
237 .buswidth = 16,
257 .buswidth = 16,
277 .buswidth = 16,
[all …]
Dsdm660.c153 .buswidth = 8,
172 .buswidth = 8,
188 .buswidth = 8,
202 .buswidth = 8,
216 .buswidth = 4,
230 .buswidth = 4,
244 .buswidth = 8,
263 .buswidth = 8,
282 .buswidth = 8,
301 .buswidth = 8,
[all …]
Dqcm2290.c112 .buswidth = 16,
131 .buswidth = 16,
148 .buswidth = 16,
165 .buswidth = 16,
183 .buswidth = 8,
234 .buswidth = 8,
282 .buswidth = 8,
298 .buswidth = 8,
316 .buswidth = 4,
330 .buswidth = 32,
[all …]
/Linux-v6.1/drivers/spi/
Dspi-rpc-if.c27 rpc_op.cmd.buswidth = spi_op->cmd.buswidth; in rpcif_spi_mem_prepare()
30 rpc_op.addr.buswidth = spi_op->addr.buswidth; in rpcif_spi_mem_prepare()
36 rpc_op.dummy.buswidth = spi_op->dummy.buswidth; in rpcif_spi_mem_prepare()
38 spi_op->dummy.buswidth; in rpcif_spi_mem_prepare()
42 rpc_op.data.buswidth = spi_op->data.buswidth; in rpcif_spi_mem_prepare()
70 if (op->data.buswidth > 4 || op->addr.buswidth > 4 || in rpcif_spi_mem_supports_op()
71 op->dummy.buswidth > 4 || op->cmd.buswidth > 4 || in rpcif_spi_mem_supports_op()
Dspi-mem.c104 static int spi_check_buswidth_req(struct spi_mem *mem, u8 buswidth, bool tx) in spi_check_buswidth_req() argument
108 switch (buswidth) { in spi_check_buswidth_req()
145 if (spi_check_buswidth_req(mem, op->cmd.buswidth, true)) in spi_mem_check_buswidth()
149 spi_check_buswidth_req(mem, op->addr.buswidth, true)) in spi_mem_check_buswidth()
153 spi_check_buswidth_req(mem, op->dummy.buswidth, true)) in spi_mem_check_buswidth()
157 spi_check_buswidth_req(mem, op->data.buswidth, in spi_mem_check_buswidth()
191 static bool spi_mem_buswidth_is_valid(u8 buswidth) in spi_mem_buswidth_is_valid() argument
193 if (hweight8(buswidth) > 1 || buswidth > SPI_MEM_MAX_BUSWIDTH) in spi_mem_buswidth_is_valid()
201 if (!op->cmd.buswidth || !op->cmd.nbytes) in spi_mem_check_op()
204 if ((op->addr.nbytes && !op->addr.buswidth) || in spi_mem_check_op()
[all …]
Dspi-microchip-core-qspi.c141 if (op->data.buswidth == 4 || op->data.buswidth == 2) { in mchp_coreqspi_set_mode()
143 if (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 || op->addr.buswidth == 0)) in mchp_coreqspi_set_mode()
145 else if (op->cmd.buswidth == 1) in mchp_coreqspi_set_mode()
355 if (op->dummy.buswidth) in mchp_coreqspi_config_op()
356 idle_cycles = op->dummy.nbytes * 8 / op->dummy.buswidth; in mchp_coreqspi_config_op()
462 if ((op->data.buswidth == 4 || op->data.buswidth == 2) && in mchp_coreqspi_supports_op()
463 (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 || op->addr.buswidth == 0))) { in mchp_coreqspi_supports_op()
Dspi-mtk-snfi.c839 u32 dummy_clk = (op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth); in mtk_snand_read_page_cache()
880 if (op->data.buswidth == 4) in mtk_snand_read_page_cache()
881 rd_mode = op->addr.buswidth == 4 ? DATA_READ_MODE_QUAD : in mtk_snand_read_page_cache()
883 else if (op->data.buswidth == 2) in mtk_snand_read_page_cache()
884 rd_mode = op->addr.buswidth == 2 ? DATA_READ_MODE_DUAL : in mtk_snand_read_page_cache()
1077 if (op->data.buswidth == 4) in mtk_snand_write_page_cache()
1174 if (op->addr.buswidth != 1 && op->addr.buswidth != 2 && in mtk_snand_is_page_ops()
1175 op->addr.buswidth != 4) in mtk_snand_is_page_ops()
1181 if (op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth > in mtk_snand_is_page_ops()
1185 if ((op->addr.buswidth == 4 || op->addr.buswidth == 1) && in mtk_snand_is_page_ops()
[all …]
Dspi-npcm-fiu.c270 ilog2(op->addr.buswidth) << in npcm_fiu_set_drd()
272 fiu->drd_op.addr.buswidth = op->addr.buswidth; in npcm_fiu_set_drd()
301 if (desc->info.op_tmpl.addr.buswidth != fiu->drd_op.addr.buswidth || in npcm_fiu_direct_read()
353 uma_cfg |= ilog2(op->cmd.buswidth); in npcm_fiu_uma_read()
354 uma_cfg |= ilog2(op->addr.buswidth) in npcm_fiu_uma_read()
356 uma_cfg |= ilog2(op->dummy.buswidth) in npcm_fiu_uma_read()
358 uma_cfg |= ilog2(op->data.buswidth) in npcm_fiu_uma_read()
415 uma_cfg |= ilog2(op->cmd.buswidth); in npcm_fiu_uma_write()
416 uma_cfg |= ilog2(op->addr.buswidth) << in npcm_fiu_uma_write()
418 uma_cfg |= ilog2(op->data.buswidth) << in npcm_fiu_uma_write()
[all …]
Dspi-hisi-sfc-v3xx.c179 if (op->data.buswidth > 4 || op->dummy.buswidth > 4 || in hisi_sfc_v3xx_supports_op()
180 op->addr.buswidth > 4 || op->cmd.buswidth > 4) in hisi_sfc_v3xx_supports_op()
283 if (op->data.buswidth == 0 || op->data.buswidth == 1) { in hisi_sfc_v3xx_start_bus()
288 data_idx = (op->data.buswidth - 1) / 2; in hisi_sfc_v3xx_start_bus()
289 addr_idx = op->addr.buswidth / 2; in hisi_sfc_v3xx_start_bus()
290 cmd_idx = op->cmd.buswidth / 2; in hisi_sfc_v3xx_start_bus()
Dspi-mtk-nor.c177 dummy = op->dummy.nbytes * BITS_PER_BYTE / op->dummy.buswidth; in mtk_nor_match_read()
179 if ((op->data.buswidth == 2) || (op->data.buswidth == 4)) { in mtk_nor_match_read()
180 if (op->addr.buswidth == 1) in mtk_nor_match_read()
182 else if (op->addr.buswidth == 2) in mtk_nor_match_read()
184 else if (op->addr.buswidth == 4) in mtk_nor_match_read()
186 } else if ((op->addr.buswidth == 1) && (op->data.buswidth == 1)) { in mtk_nor_match_read()
200 if ((op->cmd.buswidth > 1) || (op->addr.buswidth > 1) || in mtk_nor_match_prg()
201 (op->dummy.buswidth > 1) || (op->data.buswidth > 1)) in mtk_nor_match_prg()
304 if (op->cmd.buswidth != 1) in mtk_nor_supports_op()
314 if ((op->addr.buswidth == 1) && in mtk_nor_supports_op()
[all …]
Dspi-stm32-qspi.c351 static int stm32_qspi_get_mode(u8 buswidth) in stm32_qspi_get_mode() argument
353 if (buswidth == 4) in stm32_qspi_get_mode()
356 return buswidth; in stm32_qspi_get_mode()
367 op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, in stm32_qspi_send()
368 op->dummy.buswidth, op->data.buswidth, in stm32_qspi_send()
384 stm32_qspi_get_mode(op->cmd.buswidth)); in stm32_qspi_send()
388 stm32_qspi_get_mode(op->addr.buswidth)); in stm32_qspi_send()
394 op->dummy.nbytes * 8 / op->dummy.buswidth); in stm32_qspi_send()
398 stm32_qspi_get_mode(op->data.buswidth)); in stm32_qspi_send()
544 if (addr_max < qspi->mm_size && op.addr.buswidth) in stm32_qspi_dirmap_read()
[all …]
/Linux-v6.1/include/linux/spi/
Dspi-mem.h18 .buswidth = __buswidth, \
27 .buswidth = __buswidth, \
35 .buswidth = __buswidth, \
45 .buswidth = __buswidth, \
53 .buswidth = __buswidth, \
102 u8 buswidth; member
109 u8 buswidth; member
116 u8 buswidth; member
121 u8 buswidth; member
/Linux-v6.1/include/memory/
Drenesas-rpc-if.h24 u8 buswidth; member
31 u8 buswidth; member
38 u8 buswidth; member
43 u8 buswidth; member
49 u8 buswidth; member
/Linux-v6.1/sound/core/
Dpcm_dmaengine.c58 enum dma_slave_buswidth buswidth; in snd_hwparams_to_dma_slave_config() local
65 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in snd_hwparams_to_dma_slave_config()
67 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in snd_hwparams_to_dma_slave_config()
69 buswidth = DMA_SLAVE_BUSWIDTH_3_BYTES; in snd_hwparams_to_dma_slave_config()
71 buswidth = DMA_SLAVE_BUSWIDTH_4_BYTES; in snd_hwparams_to_dma_slave_config()
73 buswidth = DMA_SLAVE_BUSWIDTH_8_BYTES; in snd_hwparams_to_dma_slave_config()
77 slave_config->dst_addr_width = buswidth; in snd_hwparams_to_dma_slave_config()
80 slave_config->src_addr_width = buswidth; in snd_hwparams_to_dma_slave_config()
/Linux-v6.1/drivers/mtd/hyperbus/
Drpc-if.c28 .buswidth = 8,
32 .buswidth = 8,
37 .buswidth = 8,
41 .buswidth = 8,
53 op.dummy.buswidth = 1; in rpcif_hb_prepare_read()
/Linux-v6.1/drivers/memory/
Drenesas-rpc-if.c377 static u8 rpcif_bit_size(u8 buswidth) in rpcif_bit_size() argument
379 return buswidth > 4 ? 2 : ilog2(buswidth); in rpcif_bit_size()
394 if (op->cmd.buswidth) { in rpcif_prepare()
396 RPCIF_SMENR_CDB(rpcif_bit_size(op->cmd.buswidth)); in rpcif_prepare()
401 if (op->ocmd.buswidth) { in rpcif_prepare()
403 RPCIF_SMENR_OCDB(rpcif_bit_size(op->ocmd.buswidth)); in rpcif_prepare()
407 if (op->addr.buswidth) { in rpcif_prepare()
409 RPCIF_SMENR_ADB(rpcif_bit_size(op->addr.buswidth)); in rpcif_prepare()
424 if (op->dummy.buswidth) { in rpcif_prepare()
427 op->dummy.buswidth); in rpcif_prepare()
[all …]
/Linux-v6.1/drivers/dma/
Duniphier-xdmac.c138 enum dma_slave_buswidth buswidth; in uniphier_xdmac_chan_start() local
151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start()
154 buswidth = DMA_SLAVE_BUSWIDTH_8_BYTES; in uniphier_xdmac_chan_start()
156 src_width = FIELD_PREP(XDMAC_SADM_STW_MASK, __ffs(buswidth)); in uniphier_xdmac_chan_start()
160 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start()
163 buswidth = DMA_SLAVE_BUSWIDTH_8_BYTES; in uniphier_xdmac_chan_start()
165 dst_width = FIELD_PREP(XDMAC_DADM_DTW_MASK, __ffs(buswidth)); in uniphier_xdmac_chan_start()
328 enum dma_slave_buswidth buswidth; in uniphier_xdmac_prep_slave_sg() local
336 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_prep_slave_sg()
339 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
[all …]
/Linux-v6.1/sound/soc/fsl/
Dfsl_asrc_dma.c131 enum dma_slave_buswidth buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in fsl_asrc_dma_hw_params() local
257 buswidth = DMA_SLAVE_BUSWIDTH_1_BYTE; in fsl_asrc_dma_hw_params()
259 buswidth = DMA_SLAVE_BUSWIDTH_2_BYTES; in fsl_asrc_dma_hw_params()
261 buswidth = DMA_SLAVE_BUSWIDTH_3_BYTES; in fsl_asrc_dma_hw_params()
263 buswidth = DMA_SLAVE_BUSWIDTH_4_BYTES; in fsl_asrc_dma_hw_params()
265 buswidth = DMA_SLAVE_BUSWIDTH_8_BYTES; in fsl_asrc_dma_hw_params()
268 config_be.src_addr_width = buswidth; in fsl_asrc_dma_hw_params()
270 config_be.dst_addr_width = buswidth; in fsl_asrc_dma_hw_params()

1234