Searched refs:bus_width (Results 1 - 25 of 137) sorted by relevance

123456

/linux-master/include/media/drv-intf/
H A Drenesas-ceu.h15 unsigned char bus_width; member in struct:ceu_async_subdev
/linux-master/include/linux/platform_data/
H A Dgpio-htc-egpio.h34 * @bus_width: alignment of the registers, either 16 or 32 bit
41 int bus_width; member in struct:htc_egpio_platform_data
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.c23 .bus_width = 10,
30 .bus_width = 10,
37 .bus_width = 10,
44 .bus_width = 10,
51 .bus_width = 12,
58 .bus_width = 12,
65 .bus_width = 12,
72 .bus_width = 12,
79 .bus_width = 8,
86 .bus_width
[all...]
/linux-master/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c72 * &bus_width: memory bus-width (eg: x16 2 Bytes, x32 4 Bytes)
76 int bus_width; member in struct:pcm_int_data
94 static inline u_int build_mr_cfgmask(u_int bus_width) argument
98 if (bus_width == 0x0004) /* x32 device */
107 static inline u_int build_sr_ok_datamask(u_int bus_width) argument
111 if (bus_width == 0x0004) /* x32 device */
125 val = map->pfow_base + offset*pcm_data->bus_width;
140 writel_relaxed(build_mr_cfgmask(pcm_data->bus_width) | 0x18,
155 writel_relaxed(build_mr_cfgmask(pcm_data->bus_width) | 0x18,
172 u_int sr_ok_datamask = build_sr_ok_datamask(pcm_data->bus_width);
[all...]
/linux-master/drivers/memory/
H A Dmvebu-devbus.c64 u32 bus_width; member in struct:devbus_read_params
115 err = of_property_read_u32(node, "devbus,bus-width", &r->bus_width);
127 if (r->bus_width == 8) {
128 r->bus_width = 0;
129 } else if (r->bus_width == 16) {
130 r->bus_width = 1;
132 dev_err(devbus->dev, "invalid bus width %d\n", r->bus_width);
215 r->bus_width << ORION_DEV_WIDTH_SHIFT |
236 value = r->bus_width << ARMADA_DEV_WIDTH_SHIFT |
/linux-master/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_output.c44 u32 bus_width; local
47 ret = of_property_read_u32(ep, "bus-width", &bus_width);
53 switch (bus_width) {
/linux-master/drivers/gpu/drm/stm/
H A Dltdc.h19 u32 bus_width; /* bus width (32 or 64 bits) */ member in struct:ltdc_caps
/linux-master/drivers/mmc/core/
H A Dmmc.c720 static int mmc_compare_ext_csds(struct mmc_card *card, unsigned bus_width) argument
725 if (bus_width == MMC_BUS_WIDTH_1)
897 unsigned int bus_width)
909 pwrclass_val = (bus_width <= EXT_CSD_BUS_WIDTH_8) ?
927 pwrclass_val = (bus_width <= EXT_CSD_BUS_WIDTH_8) ?
931 pwrclass_val = (bus_width == EXT_CSD_DDR_BUS_WIDTH_8) ?
941 if (bus_width & (EXT_CSD_BUS_WIDTH_8 | EXT_CSD_DDR_BUS_WIDTH_8))
962 u32 bus_width, ext_csd_bits; local
969 bus_width = host->ios.bus_width;
896 __mmc_select_powerclass(struct mmc_card *card, unsigned int bus_width) argument
1026 unsigned idx, bus_width = 0; local
1105 u32 bus_width, ext_csd_bits; local
[all...]
H A Dmmc_ops.h38 int mmc_bus_test(struct mmc_card *card, u8 bus_width);
H A Ddebugfs.c120 ios->bus_width, 1 << ios->bus_width);
H A Dhost.c276 u32 bus_width, drv_type, cd_debounce_delay_ms; local
283 if (device_property_read_u32(dev, "bus-width", &bus_width) < 0) {
286 bus_width = 1;
289 switch (bus_width) {
300 "Invalid \"bus-width\" value %u!\n", bus_width);
/linux-master/drivers/usb/isp1760/
H A Disp1760-if.c207 u32 bus_width = 0; local
219 of_property_read_u32(dp, "bus-width", &bus_width);
220 if (bus_width == 16)
222 else if (bus_width == 8)
/linux-master/drivers/mmc/host/
H A Dsdhci-xenon.h83 * The bus_width, timing, and clock fields in below
88 unsigned char bus_width; member in struct:xenon_priv
H A Dcavium.c826 int clk_period = 0, power_class = 10, bus_width = 0; local
854 switch (ios->bus_width) {
856 bus_width = 2;
859 bus_width = 1;
862 bus_width = 0;
867 if (ios->bus_width && ios->timing == MMC_TIMING_MMC_DDR52)
868 bus_width |= 4;
881 FIELD_PREP(MIO_EMM_SWITCH_BUS_WIDTH, bus_width) |
951 u32 id, cmd_skew = 0, dat_skew = 0, bus_width = 0; local
985 of_property_read_u32(node, "cavium,bus-max-width", &bus_width);
[all...]
H A Dsdhci-pltfm.c76 u32 bus_width; local
82 (device_property_read_u32(dev, "bus-width", &bus_width) == 0 &&
83 bus_width == 1))
H A Dsdhci-pxav2.c223 u32 bus_width; local
233 of_property_read_u32(np, "bus-width", &bus_width);
234 if (bus_width == 8)
/linux-master/include/linux/phy/
H A Dphy.h136 * @bus_width: Data path width implemented by PHY
141 u32 bus_width; member in struct:phy_attrs
255 return phy->attrs.bus_width;
257 static inline void phy_set_bus_width(struct phy *phy, int bus_width) argument
259 phy->attrs.bus_width = bus_width;
443 static inline void phy_set_bus_width(struct phy *phy, int bus_width) argument
/linux-master/drivers/dma/
H A Dimg-mdc-dma.c141 unsigned int bus_width; member in struct:mdc_dma
228 if (IS_ALIGNED(dst, mdma->bus_width) &&
229 IS_ALIGNED(src, mdma->bus_width))
230 max_burst = mdma->bus_width * mdma->max_burst_mult;
232 max_burst = mdma->bus_width * (mdma->max_burst_mult - 1);
237 mdc_set_read_width(ldesc, mdma->bus_width);
245 mdc_set_write_width(ldesc, mdma->bus_width);
251 mdc_set_read_width(ldesc, mdma->bus_width);
252 mdc_set_write_width(ldesc, mdma->bus_width);
359 if (width > mchan->mdma->bus_width)
[all...]
/linux-master/drivers/staging/rts5208/
H A Dsd.c262 u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len,
294 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG1, 0x03, bus_width);
329 u8 bus_width, u8 *buf, int buf_len, int timeout)
369 rtsx_add_cmd(chip, WRITE_REG_CMD, REG_SD_CFG1, 0x03, bus_width);
943 static int sd_check_spec(struct rtsx_chip *chip, u8 bus_width) argument
960 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 8, 1, bus_width,
1089 u8 func_to_switch, u8 bus_width)
1120 retval = sd_read_data(chip, SD_TM_NORMAL_READ, cmd, 5, 64, 1, bus_width,
1191 u8 func_group, u8 func_to_switch, u8 bus_width)
1204 func_to_switch, bus_width);
260 sd_read_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
327 sd_write_data(struct rtsx_chip *chip, u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, int timeout) argument
1088 sd_check_switch_mode(struct rtsx_chip *chip, u8 mode, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1190 sd_check_switch(struct rtsx_chip *chip, u8 func_group, u8 func_to_switch, u8 bus_width) argument
1238 sd_switch_function(struct rtsx_chip *chip, u8 bus_width) argument
1492 u8 cmd[5], bus_width; local
1561 u8 cmd[5], bus_width; local
2209 u8 cmd[5], bus_width; local
2637 u8 buf[8] = {0}, bus_width, *ptr; local
3969 u8 cmd_idx, rsp_type, bus_width; local
4023 dev_dbg(rtsx_dev(chip), "bus_width = %d\\n", bus_width); local
[all...]
/linux-master/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_bridge.c235 unsigned char bus_width = endpoint->bus.parallel.bus_width; local
253 if (bus_width == 16)
279 if (bus_width == 16)
299 switch (bus_width) {
312 dev_warn(dev, "unsupported bus width: %u\n", bus_width);
/linux-master/drivers/video/fbdev/via/
H A Dioctl.h89 unsigned short bus_width; member in struct:device_t
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h93 u_char bus_width; /* 0x08/0x10 */ member in struct:Symbios_nvram::Symbios_target
/linux-master/include/media/
H A Dv4l2-mediabus.h96 * @bus_width: bus width in bits
101 unsigned char bus_width; member in struct:v4l2_mbus_config_parallel
/linux-master/drivers/spi/
H A Dspi-synquacer.c135 unsigned int bus_width; member in struct:synquacer_spi
233 unsigned int speed, mode, bpw, cs, bus_width, transfer_mode; local
245 bus_width = xfer->tx_nbits;
248 bus_width = xfer->rx_nbits;
259 bus_width == sspi->bus_width && bpw == sspi->bpw &&
341 val |= ((bus_width >> 1) << SYNQUACER_HSSPI_DMTRP_BUS_WIDTH_SHIFT);
348 sspi->bus_width = bus_width;
/linux-master/sound/soc/sprd/
H A Dsprd-pcm-compress.c145 enum dma_slave_buswidth bus_width; local
171 bus_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
183 bus_width = DMA_SLAVE_BUSWIDTH_2_BYTES;
202 config.src_addr_width = bus_width;
203 config.dst_addr_width = bus_width;

Completed in 236 milliseconds

123456