/openbmc/linux/drivers/bus/ |
H A D | hisi_lpc.c | 207 static u32 hisi_lpc_comm_in(void *hostdata, unsigned long pio, size_t dwidth) in hisi_lpc_comm_in() argument 215 if (!lpcdev || !dwidth || dwidth > LPC_MAX_DWIDTH) in hisi_lpc_comm_in() 221 iopara.csize = dwidth; in hisi_lpc_comm_in() 224 (unsigned char *)&rd_data, dwidth); in hisi_lpc_comm_in() 241 u32 val, size_t dwidth) in hisi_lpc_comm_out() argument 249 if (!lpcdev || !dwidth || dwidth > LPC_MAX_DWIDTH) in hisi_lpc_comm_out() 256 iopara.csize = dwidth; in hisi_lpc_comm_out() 258 hisi_lpc_target_out(lpcdev, &iopara, addr, buf, dwidth); in hisi_lpc_comm_out() 273 size_t dwidth, unsigned int count) in hisi_lpc_comm_ins() argument 280 if (!lpcdev || !buf || !count || !dwidth || dwidth > LPC_MAX_DWIDTH) in hisi_lpc_comm_ins() [all …]
|
/openbmc/linux/drivers/staging/vme_user/ |
H A D | vme_fake.c | 58 u32 dwidth; member 253 u32 aspace, u32 cycle, u32 dwidth) in fake_master_set() argument 284 switch (dwidth) { in fake_master_set() 322 bridge->masters[i].dwidth = dwidth; in fake_master_set() 339 u32 *aspace, u32 *cycle, u32 *dwidth) in __fake_master_get() argument 353 *dwidth = bridge->masters[i].dwidth; in __fake_master_get() 360 u32 *aspace, u32 *cycle, u32 *dwidth) in fake_master_get() argument 367 cycle, dwidth); in fake_master_get() 517 u32 aspace, cycle, dwidth; in fake_master_read() local 534 dwidth = priv->masters[i].dwidth; in fake_master_read() [all …]
|
H A D | vme.c | 167 u32 aspace, cycle, dwidth; in vme_get_size() local 172 &aspace, &cycle, &dwidth); in vme_get_size() 482 u32 cycle, u32 dwidth) in vme_master_request() argument 510 ((master_image->width_attr & dwidth) == dwidth) && in vme_master_request() 565 u32 aspace, u32 cycle, u32 dwidth) in vme_master_set() argument 585 ((image->width_attr & dwidth) == dwidth))) { in vme_master_set() 595 cycle, dwidth); in vme_master_set() 616 u32 *aspace, u32 *cycle, u32 *dwidth) in vme_master_get() argument 634 cycle, dwidth); in vme_master_get() 1044 u32 aspace, u32 cycle, u32 dwidth) in vme_dma_vme_attribute() argument [all …]
|
H A D | vme_tsi148.c | 800 u32 cycle, u32 dwidth) in tsi148_master_set() argument 935 switch (dwidth) { in tsi148_master_set() 1035 u32 *cycle, u32 *dwidth) in __tsi148_master_get() argument 1076 *dwidth = 0; in __tsi148_master_get() 1135 *dwidth = VME_D16; in __tsi148_master_get() 1137 *dwidth = VME_D32; in __tsi148_master_get() 1144 u32 *cycle, u32 *dwidth) in tsi148_master_get() argument 1151 cycle, dwidth); in tsi148_master_get() 1163 u32 aspace, cycle, dwidth; in tsi148_master_read() local 1176 &cycle, &dwidth); in tsi148_master_read() [all …]
|
H A D | vme_user.h | 16 __u32 dwidth; /* Maximum Data Width */ member
|
H A D | vme_bridge.h | 51 u32 dwidth; member
|
H A D | vme_user.c | 330 &master.cycle, &master.dwidth); in vme_user_ioctl() 359 master.aspace, master.cycle, master.dwidth); in vme_user_ioctl()
|
/openbmc/linux/include/linux/ |
H A D | logic_pio.h | 31 u32 (*in)(void *hostdata, unsigned long addr, size_t dwidth); 33 size_t dwidth); 35 size_t dwidth, unsigned int count); 37 size_t dwidth, unsigned int count);
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | xlnx,i2s.txt | 11 - xlnx,dwidth: sample data width. Can be any of 16, 24. 20 xlnx,dwidth = <0x18>; 26 xlnx,dwidth = <0x18>;
|
/openbmc/qemu/hw/dma/ |
H A D | pl080.c | 97 int dwidth; in pl080_run() local 166 dwidth = 1 << ((ch->ctrl >> 21) & 7); in pl080_run() 167 for (n = 0; n < dwidth; n+= swidth) { in pl080_run() 173 xsize = (dwidth < swidth) ? swidth : dwidth; in pl080_run() 175 for (n = 0; n < xsize; n += dwidth) { in pl080_run() 177 MEMTXATTRS_UNSPECIFIED, buff + n, dwidth); in pl080_run()
|
/openbmc/linux/drivers/dma/ |
H A D | at_xdmac.c | 669 int csize, dwidth; in at_xdmac_compute_chan_conf() local 690 dwidth = ffs(atchan->sconfig.src_addr_width) - 1; in at_xdmac_compute_chan_conf() 691 if (dwidth < 0) { in at_xdmac_compute_chan_conf() 695 atchan->cfg |= AT_XDMAC_CC_DWIDTH(dwidth); in at_xdmac_compute_chan_conf() 715 dwidth = ffs(atchan->sconfig.dst_addr_width) - 1; in at_xdmac_compute_chan_conf() 716 if (dwidth < 0) { in at_xdmac_compute_chan_conf() 720 atchan->cfg |= AT_XDMAC_CC_DWIDTH(dwidth); in at_xdmac_compute_chan_conf() 796 u32 len, mem, dwidth, fixed_dwidth; in at_xdmac_prep_slave_sg() local 824 dwidth = at_xdmac_get_dwidth(atchan->cfg); in at_xdmac_prep_slave_sg() 825 fixed_dwidth = IS_ALIGNED(len, 1 << dwidth) in at_xdmac_prep_slave_sg() [all …]
|
H A D | mpc512x_dma.c | 209 u8 dwidth; member 745 if (!IS_ALIGNED(sg_dma_address(sg), mchan->dwidth)) in mpc_dma_prep_slave_sg() 749 tcd->doff = mchan->dwidth; in mpc_dma_prep_slave_sg() 762 tcd->dsize = buswidth_to_dmatsize(mchan->dwidth); in mpc_dma_prep_slave_sg() 866 mchan->dwidth = cfg->dst_addr_width; in mpc_dma_device_config()
|
H A D | at_hdmac.c | 868 unsigned int dwidth; in atc_prep_dma_interleaved() local 905 dwidth = atc_get_xfer_width(xt->src_start, xt->dst_start, len); in atc_prep_dma_interleaved() 907 xfer_count = len >> dwidth; in atc_prep_dma_interleaved() 913 ctrla = FIELD_PREP(ATC_SRC_WIDTH, dwidth) | in atc_prep_dma_interleaved() 914 FIELD_PREP(ATC_DST_WIDTH, dwidth); in atc_prep_dma_interleaved() 941 desc->boundary = first->size >> dwidth; in atc_prep_dma_interleaved() 942 desc->dst_hole = (dmaengine_get_dst_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved() 943 desc->src_hole = (dmaengine_get_src_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 96 efi_uintn_t i, j, linelen, slineoff = 0, dlineoff, swidth, dwidth; in gop_blt_int() local 163 dwidth = gopobj->info.width; in gop_blt_int() 168 dwidth = linelen; in gop_blt_int() 173 dlineoff = dwidth * dy; in gop_blt_int() 214 dlineoff += dwidth; in gop_blt_int()
|
/openbmc/linux/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 161 static inline void source_copy_blit(int dwidth, int dheight, int dpitch, in source_copy_blit() argument 171 PUT_RING(dheight << 16 | dwidth); in source_copy_blit() 235 static inline void mono_src_copy_imm_blit(int dwidth, int dheight, int dpitch, in mono_src_copy_imm_blit() argument 246 PUT_RING(dheight << 16 | dwidth); in mono_src_copy_imm_blit()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | crop.rst | 272 int dwidth, dheight; 316 dwidth = format.fmt.pix.width / aspect;
|
/openbmc/qemu/pc-bios/ |
H A D | petalogix-s3adsp1800.dts | 143 xlnx,mch-native-dwidth = <0x20>;
|
/openbmc/linux/arch/microblaze/boot/dts/ |
H A D | system.dts | 136 xlnx,mch-native-dwidth = <0x20>;
|