/kernel/linux/linux-5.10/drivers/bus/ |
H A D | hisi_lpc.c | 203 * @dwidth: the data length required to read from the target I/O port 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() 236 * @dwidth: the data width required writing to the target I/O port 241 u32 val, size_t dwidth) in hisi_lpc_comm_out() 249 if (!lpcdev || !dwidth || dwidth > LPC_MAX_DWIDT in hisi_lpc_comm_out() 240 hisi_lpc_comm_out(void *hostdata, unsigned long pio, u32 val, size_t dwidth) hisi_lpc_comm_out() argument 272 hisi_lpc_comm_ins(void *hostdata, unsigned long pio, void *buffer, size_t dwidth, unsigned int count) hisi_lpc_comm_ins() argument 310 hisi_lpc_comm_outs(void *hostdata, unsigned long pio, const void *buffer, size_t dwidth, unsigned int count) hisi_lpc_comm_outs() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | hisi_lpc.c | 203 * @dwidth: the data length required to read from the target I/O port 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() 236 * @dwidth: the data width required writing to the target I/O port 241 u32 val, size_t dwidth) in hisi_lpc_comm_out() 249 if (!lpcdev || !dwidth || dwidth > LPC_MAX_DWIDT in hisi_lpc_comm_out() 240 hisi_lpc_comm_out(void *hostdata, unsigned long pio, u32 val, size_t dwidth) hisi_lpc_comm_out() argument 272 hisi_lpc_comm_ins(void *hostdata, unsigned long pio, void *buffer, size_t dwidth, unsigned int count) hisi_lpc_comm_ins() argument 310 hisi_lpc_comm_outs(void *hostdata, unsigned long pio, const void *buffer, size_t dwidth, unsigned int count) hisi_lpc_comm_outs() argument [all...] |
/kernel/linux/linux-5.10/drivers/vme/bridges/ |
H A D | vme_fake.c | 58 u32 dwidth; member 253 u32 aspace, u32 cycle, u32 dwidth) in fake_master_set() 284 switch (dwidth) { in fake_master_set() 322 bridge->masters[i].dwidth = dwidth; in fake_master_set() 340 u32 *aspace, u32 *cycle, u32 *dwidth) in __fake_master_get() 354 *dwidth = bridge->masters[i].dwidth; in __fake_master_get() 362 u32 *aspace, u32 *cycle, u32 *dwidth) in fake_master_get() 369 cycle, dwidth); in fake_master_get() 251 fake_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) fake_master_set() argument 338 __fake_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __fake_master_get() argument 360 fake_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) fake_master_get() argument 520 u32 aspace, cycle, dwidth; fake_master_read() local 712 u32 aspace, cycle, dwidth; fake_master_write() local [all...] |
H A D | vme_tsi148.c | 809 u32 cycle, u32 dwidth) in tsi148_master_set() 949 switch (dwidth) { in tsi148_master_set() 1051 u32 *cycle, u32 *dwidth) in __tsi148_master_get() 1092 *dwidth = 0; in __tsi148_master_get() 1151 *dwidth = VME_D16; in __tsi148_master_get() 1153 *dwidth = VME_D32; in __tsi148_master_get() 1161 u32 *cycle, u32 *dwidth) in tsi148_master_get() 1168 cycle, dwidth); in tsi148_master_get() 1180 u32 aspace, cycle, dwidth; in tsi148_master_read() local 1193 &cycle, &dwidth); in tsi148_master_read() 807 tsi148_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) tsi148_master_set() argument 1049 __tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __tsi148_master_get() argument 1159 tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) tsi148_master_get() argument 1266 u32 aspace, cycle, dwidth; tsi148_master_write() local 1419 tsi148_dma_set_vme_src_attributes(struct device *dev, __be32 *attr, u32 aspace, u32 cycle, u32 dwidth) tsi148_dma_set_vme_src_attributes() argument 1519 tsi148_dma_set_vme_dest_attributes(struct device *dev, __be32 *attr, u32 aspace, u32 cycle, u32 dwidth) tsi148_dma_set_vme_dest_attributes() argument [all...] |
H A D | vme_ca91cx42.c | 591 u32 cycle, u32 dwidth) in ca91cx42_master_set() 663 switch (dwidth) { in ca91cx42_master_set() 748 u32 *aspace, u32 *cycle, u32 *dwidth) in __ca91cx42_master_get() 770 *dwidth = 0; in __ca91cx42_master_get() 817 *dwidth = VME_D8; in __ca91cx42_master_get() 820 *dwidth = VME_D16; in __ca91cx42_master_get() 823 *dwidth = VME_D32; in __ca91cx42_master_get() 826 *dwidth = VME_D64; in __ca91cx42_master_get() 835 u32 *cycle, u32 *dwidth) in ca91cx42_master_get() 842 cycle, dwidth); in ca91cx42_master_get() 589 ca91cx42_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) ca91cx42_master_set() argument 746 __ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __ca91cx42_master_get() argument 833 ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) ca91cx42_master_get() argument [all...] |
/kernel/linux/linux-6.6/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() 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() 353 *dwidth = bridge->masters[i].dwidth; in __fake_master_get() 360 u32 *aspace, u32 *cycle, u32 *dwidth) in fake_master_get() 367 cycle, dwidth); in fake_master_get() 251 fake_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) fake_master_set() argument 337 __fake_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __fake_master_get() argument 358 fake_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) fake_master_get() argument 517 u32 aspace, cycle, dwidth; fake_master_read() local 706 u32 aspace, cycle, dwidth; fake_master_write() local [all...] |
H A D | vme.c | 167 u32 aspace, cycle, dwidth; in vme_get_size() local 172 &aspace, &cycle, &dwidth); in vme_get_size() 474 * @dwidth: Required VME data transfer width. 482 u32 cycle, u32 dwidth) in vme_master_request() 510 ((master_image->width_attr & dwidth) == dwidth) && in vme_master_request() 554 * @dwidth: VME data transfer width for the VME window. 565 u32 aspace, u32 cycle, u32 dwidth) in vme_master_set() 585 ((image->width_attr & dwidth) == dwidth))) { in vme_master_set() 481 vme_master_request(struct vme_dev *vdev, u32 address, u32 cycle, u32 dwidth) vme_master_request() argument 563 vme_master_set(struct vme_resource *resource, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) vme_master_set() argument 614 vme_master_get(struct vme_resource *resource, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) vme_master_get() argument 1043 vme_dma_vme_attribute(unsigned long long address, u32 aspace, u32 cycle, u32 dwidth) vme_dma_vme_attribute() argument [all...] |
H A D | vme_tsi148.c | 800 u32 cycle, u32 dwidth) in tsi148_master_set() 935 switch (dwidth) { in tsi148_master_set() 1035 u32 *cycle, u32 *dwidth) in __tsi148_master_get() 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() 1151 cycle, dwidth); in tsi148_master_get() 1163 u32 aspace, cycle, dwidth; in tsi148_master_read() local 1176 &cycle, &dwidth); in tsi148_master_read() 798 tsi148_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) tsi148_master_set() argument 1033 __tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) __tsi148_master_get() argument 1142 tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) tsi148_master_get() argument 1248 u32 aspace, cycle, dwidth; tsi148_master_write() local 1401 tsi148_dma_set_vme_src_attributes(struct device *dev, __be32 *attr, u32 aspace, u32 cycle, u32 dwidth) tsi148_dma_set_vme_src_attributes() argument 1499 tsi148_dma_set_vme_dest_attributes(struct device *dev, __be32 *attr, u32 aspace, u32 cycle, u32 dwidth) tsi148_dma_set_vme_dest_attributes() argument [all...] |
H A D | vme_user.h | 16 __u32 dwidth; /* Maximum Data Width */ member
|
H A D | vme_bridge.h | 51 u32 dwidth; member
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | at_xdmac.c | 543 int csize, dwidth; in at_xdmac_compute_chan_conf() local 562 dwidth = ffs(atchan->sconfig.src_addr_width) - 1; in at_xdmac_compute_chan_conf() 563 if (dwidth < 0) { in at_xdmac_compute_chan_conf() 567 atchan->cfg |= AT_XDMAC_CC_DWIDTH(dwidth); in at_xdmac_compute_chan_conf() 585 dwidth = ffs(atchan->sconfig.dst_addr_width) - 1; in at_xdmac_compute_chan_conf() 586 if (dwidth < 0) { in at_xdmac_compute_chan_conf() 590 atchan->cfg |= AT_XDMAC_CC_DWIDTH(dwidth); in at_xdmac_compute_chan_conf() 666 u32 len, mem, dwidth, fixed_dwidth; in at_xdmac_prep_slave_sg() local 694 dwidth = at_xdmac_get_dwidth(atchan->cfg); in at_xdmac_prep_slave_sg() 695 fixed_dwidth = IS_ALIGNED(len, 1 << dwidth) in at_xdmac_prep_slave_sg() 856 u32 dwidth; at_xdmac_interleaved_queue_desc() local 882 AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth); at_xdmac_interleaved_queue_desc() local 1044 u32 dwidth; at_xdmac_prep_dma_memcpy() local 1150 u32 dwidth; at_xdmac_memset_create_desc() local 1405 u8 dwidth = 0; at_xdmac_tx_status() local [all...] |
H A D | at_hdmac.c | 669 unsigned int dwidth; in atc_prep_dma_interleaved() local 706 dwidth = atc_get_xfer_width(xt->src_start, in atc_prep_dma_interleaved() 709 xfer_count = len >> dwidth; in atc_prep_dma_interleaved() 715 ctrla = ATC_SRC_WIDTH(dwidth) | in atc_prep_dma_interleaved() 716 ATC_DST_WIDTH(dwidth); in atc_prep_dma_interleaved() 738 desc->boundary = first->size >> dwidth; in atc_prep_dma_interleaved() 739 desc->dst_hole = (dmaengine_get_dst_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved() 740 desc->src_hole = (dmaengine_get_src_icg(xt, first) >> dwidth) + 1; in atc_prep_dma_interleaved()
|
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() 865 mchan->dwidth = cfg->dst_addr_width; in mpc_dma_device_config()
|
/kernel/linux/linux-6.6/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() 986 u32 dwidth; at_xdmac_interleaved_queue_desc() local 1014 AT_XDMAC_MBR_UBC_UBLEN_MAX << dwidth); at_xdmac_interleaved_queue_desc() local 1176 u32 dwidth; at_xdmac_prep_dma_memcpy() local 1284 u32 dwidth; at_xdmac_memset_create_desc() local 1548 u8 dwidth = 0; at_xdmac_tx_status() local [all...] |
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/vme/ |
H A D | vme.c | 172 u32 aspace, cycle, dwidth; in vme_get_size() local 177 &aspace, &cycle, &dwidth); in vme_get_size() 484 * @dwidth: Required VME data transfer width. 492 u32 cycle, u32 dwidth) in vme_master_request() 520 ((master_image->width_attr & dwidth) == dwidth) && in vme_master_request() 565 * @dwidth: VME data transfer width for the VME window. 576 u32 cycle, u32 dwidth) in vme_master_set() 596 ((image->width_attr & dwidth) == dwidth))) { in vme_master_set() 491 vme_master_request(struct vme_dev *vdev, u32 address, u32 cycle, u32 dwidth) vme_master_request() argument 574 vme_master_set(struct vme_resource *resource, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) vme_master_set() argument 625 vme_master_get(struct vme_resource *resource, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) vme_master_get() argument 1056 vme_dma_vme_attribute(unsigned long long address, u32 aspace, u32 cycle, u32 dwidth) vme_dma_vme_attribute() argument [all...] |
H A D | vme_bridge.h | 51 u32 dwidth; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 144 * @dwidth: width of rectangular graphics data 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() 215 * @dwidth: width of destination 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()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 144 * @dwidth: width of rectangular graphics data 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() 215 * @dwidth: width of destination 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()
|
/kernel/linux/linux-5.10/drivers/staging/vme/devices/ |
H A D | vme_user.h | 16 __u32 dwidth; /* Maximum Data Width */ 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()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | grfioctl.h | 69 unsigned int dwidth, dlength;/* x and y sizes */ member
|