Home
last modified time | relevance | path

Searched refs:buf_base (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/arch/x86/boot/
Dedd.c42 u32 buf_base, mbr_base; in read_mbr_sig() local
51 buf_base = (ds() << 4) + (u32)&_end; in read_mbr_sig()
52 mbr_base = (buf_base+sector_size-1) & ~(sector_size-1); in read_mbr_sig()
53 mbrbuf_ptr = _end + (mbr_base-buf_base); in read_mbr_sig()
/linux-6.1.9/drivers/net/ethernet/litex/
Dlitex_liteeth.c230 void __iomem *buf_base; in liteeth_probe() local
254 buf_base = devm_platform_ioremap_resource_byname(pdev, "buffer"); in liteeth_probe()
255 if (IS_ERR(buf_base)) in liteeth_probe()
256 return PTR_ERR(buf_base); in liteeth_probe()
261 priv->rx_base = buf_base; in liteeth_probe()
265 priv->tx_base = buf_base + priv->num_rx_slots * priv->slot_size; in liteeth_probe()
/linux-6.1.9/sound/soc/codecs/
Drt5514-spi.c44 unsigned int buf_base, buf_limit, buf_rp; member
111 (cur_wp - rt5514_dsp->buf_base); in rt5514_spi_copy_work()
125 rt5514_dsp->buf_rp = rt5514_dsp->buf_base; in rt5514_spi_copy_work()
134 rt5514_spi_burst_read(rt5514_dsp->buf_base, in rt5514_spi_copy_work()
138 rt5514_dsp->buf_rp = rt5514_dsp->buf_base + period_bytes - in rt5514_spi_copy_work()
171 rt5514_dsp->buf_base = buf[0] | buf[1] << 8 | buf[2] << 16 | in rt5514_schedule_copy()
187 rt5514_dsp->buf_size = rt5514_dsp->buf_limit - rt5514_dsp->buf_base; in rt5514_schedule_copy()
189 if (rt5514_dsp->buf_base && rt5514_dsp->buf_limit && in rt5514_schedule_copy()
/linux-6.1.9/drivers/misc/sgi-xp/
Dxpc_partition.c75 void *buf_base = NULL; in xpc_get_rsvd_page_pa() local
98 kfree(buf_base); in xpc_get_rsvd_page_pa()
101 &buf_base); in xpc_get_rsvd_page_pa()
102 if (buf_base == NULL) { in xpc_get_rsvd_page_pa()
117 kfree(buf_base); in xpc_get_rsvd_page_pa()
/linux-6.1.9/drivers/staging/vme_user/
Dvme_fake.c47 void *buf_base; member
156 dma_addr_t buf_base, u32 aspace, u32 cycle) in fake_slave_set() argument
211 bridge->slaves[i].buf_base = fake_pci_to_ptr(buf_base); in fake_slave_set()
225 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in fake_slave_get() argument
239 *buf_base = fake_ptr_to_pci(bridge->slaves[i].buf_base); in fake_slave_get()
438 loc = (u8 *)(bridge->slaves[i].buf_base + offset); in fake_vmeread8()
471 loc = (u16 *)(bridge->slaves[i].buf_base + offset); in fake_vmeread16()
504 loc = (u32 *)(bridge->slaves[i].buf_base + offset); in fake_vmeread32()
635 loc = (u8 *)((void *)bridge->slaves[i].buf_base + offset); in fake_vmewrite8()
666 loc = (u16 *)((void *)bridge->slaves[i].buf_base + offset); in fake_vmewrite16()
[all …]
Dvme.c166 dma_addr_t buf_base; in vme_get_size() local
179 &buf_base, &aspace, &cycle); in vme_get_size()
363 dma_addr_t buf_base, u32 aspace, u32 cycle) in vme_slave_set() argument
391 return bridge->slave_set(image, enabled, vme_base, size, buf_base, in vme_slave_set()
413 dma_addr_t *buf_base, u32 *aspace, u32 *cycle) in vme_slave_get() argument
430 return bridge->slave_get(image, enabled, vme_base, size, buf_base, in vme_slave_get()
/linux-6.1.9/drivers/net/can/ctucanfd/
Dctucanfd_base.c145 static void ctucan_write_txt_buf(struct ctucan_priv *priv, enum ctu_can_fd_can_registers buf_base, in ctucan_write_txt_buf() argument
148 priv->write_reg(priv, buf_base + offset, val); in ctucan_write_txt_buf()
518 u32 buf_base; in ctucan_insert_frame() local
554 buf_base = (buf + 1) * 0x100; in ctucan_insert_frame()
555 ctucan_write_txt_buf(priv, buf_base, CTUCANFD_FRAME_FORMAT_W, ffw); in ctucan_insert_frame()
556 ctucan_write_txt_buf(priv, buf_base, CTUCANFD_IDENTIFIER_W, idw); in ctucan_insert_frame()
563 ctucan_write_txt_buf(priv, buf_base, CTUCANFD_DATA_1_4_W + i, data); in ctucan_insert_frame()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_bsg.c3243 struct bfad_buf_info *buf_base, *buf_info; in bfad_fcxp_map_sg() local
3247 buf_base = kcalloc(sizeof(struct bfad_buf_info) + in bfad_fcxp_map_sg()
3250 if (!buf_base) in bfad_fcxp_map_sg()
3253 sg_table = (struct bfa_sge_s *) (((uint8_t *)buf_base) + in bfad_fcxp_map_sg()
3257 buf_info = buf_base; in bfad_fcxp_map_sg()
3276 return buf_base; in bfad_fcxp_map_sg()
3279 kfree(buf_base); in bfad_fcxp_map_sg()
3284 bfad_fcxp_free_mem(struct bfad_s *bfad, struct bfad_buf_info *buf_base, in bfad_fcxp_free_mem() argument
3288 struct bfad_buf_info *buf_info = buf_base; in bfad_fcxp_free_mem()
3290 if (buf_base) { in bfad_fcxp_free_mem()
[all …]
/linux-6.1.9/drivers/rapidio/devices/
Dtsi721.c2192 priv->imsg_ring[mbox].buf_base = in tsi721_open_inb_mbox()
2198 if (priv->imsg_ring[mbox].buf_base == NULL) { in tsi721_open_inb_mbox()
2340 priv->imsg_ring[mbox].buf_base, in tsi721_open_inb_mbox()
2343 priv->imsg_ring[mbox].buf_base = NULL; in tsi721_open_inb_mbox()
2385 priv->imsg_ring[mbox].buf_base, in tsi721_close_inb_mbox()
2388 priv->imsg_ring[mbox].buf_base = NULL; in tsi721_close_inb_mbox()
2474 rx_virt = priv->imsg_ring[mbox].buf_base + in tsi721_get_inb_message()
Dtsi721.h726 void *buf_base; member
/linux-6.1.9/drivers/iio/imu/bno055/
Dbno055.c1388 int buf_base = *buf_idx; in bno055_scan_xfer() local
1416 buf + buf_base, in bno055_scan_xfer()
1426 src = buf + buf_base + offs_fixup + i; in bno055_scan_xfer()