Home
last modified time | relevance | path

Searched refs:indirect (Results 1 – 14 of 14) sorted by relevance

/drivers/net/can/sja1000/
Dsja1000_isa.c49 static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; variable
57 module_param_array(indirect, int, NULL, S_IRUGO);
58 MODULE_PARM_DESC(indirect, "Indirect access via address and data port");
143 if (indirect[idx] > 0 || in sja1000_isa_probe()
144 (indirect[idx] == -1 && indirect[0] > 0)) in sja1000_isa_probe()
DKconfig11 the ISA bus using I/O port, memory mapped or indirect access.
/drivers/net/can/cc770/
Dcc770_isa.c83 static int indirect[MAXDEV] = {[0 ... (MAXDEV - 1)] = -1}; variable
91 module_param_array(indirect, int, NULL, S_IRUGO);
92 MODULE_PARM_DESC(indirect, "Indirect access via address and data port");
192 if (indirect[idx] > 0 || in cc770_isa_probe()
193 (indirect[idx] == -1 && indirect[0] > 0)) in cc770_isa_probe()
DKconfig12 indirect access.
/drivers/gpu/drm/r128/
Dr128_state.c1544 drm_r128_indirect_t *indirect = data; in r128_cce_indirect() local
1554 indirect->idx, indirect->start, indirect->end, in r128_cce_indirect()
1555 indirect->discard); in r128_cce_indirect()
1557 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { in r128_cce_indirect()
1559 indirect->idx, dma->buf_count - 1); in r128_cce_indirect()
1563 buf = dma->buflist[indirect->idx]; in r128_cce_indirect()
1572 DRM_ERROR("sending pending buffer %d\n", indirect->idx); in r128_cce_indirect()
1576 if (indirect->start < buf->used) { in r128_cce_indirect()
1578 indirect->start, buf->used); in r128_cce_indirect()
1585 buf->used = indirect->end; in r128_cce_indirect()
[all …]
/drivers/vhost/
Dvhost.c243 kfree(vq->indirect); in vhost_vq_free_iovecs()
244 vq->indirect = NULL; in vhost_vq_free_iovecs()
257 dev->vqs[i]->indirect = kmalloc(sizeof *dev->vqs[i]->indirect * in vhost_dev_alloc_iovecs()
263 if (!dev->vqs[i]->indirect || !dev->vqs[i]->log || in vhost_dev_alloc_iovecs()
301 dev->vqs[i]->indirect = NULL; in vhost_dev_init()
1085 struct vring_desc *indirect) in get_indirect() argument
1092 if (unlikely(indirect->len % sizeof desc)) { in get_indirect()
1095 (unsigned long long)indirect->len, in get_indirect()
1100 ret = translate_desc(dev, indirect->addr, indirect->len, vq->indirect, in get_indirect()
1111 count = indirect->len / sizeof desc; in get_indirect()
[all …]
Dvhost.h102 struct iovec *indirect; member
/drivers/scsi/ibmvscsi/
Dibmvscsi.c688 struct srp_indirect_buf *indirect = in map_sg_data() local
705 indirect->table_desc.va = 0; in map_sg_data()
706 indirect->table_desc.len = sg_mapped * sizeof(struct srp_direct_buf); in map_sg_data()
707 indirect->table_desc.key = 0; in map_sg_data()
711 &indirect->desc_list[0]); in map_sg_data()
712 indirect->len = total_length; in map_sg_data()
734 indirect->len = total_length; in map_sg_data()
735 indirect->table_desc.va = evt_struct->ext_list_token; in map_sg_data()
736 indirect->table_desc.len = sg_mapped * sizeof(indirect->desc_list[0]); in map_sg_data()
737 memcpy(indirect->desc_list, evt_struct->ext_list, in map_sg_data()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_state.c2479 drm_radeon_indirect_t *indirect = data; in radeon_cp_indirect() local
2485 indirect->idx, indirect->start, indirect->end, in radeon_cp_indirect()
2486 indirect->discard); in radeon_cp_indirect()
2488 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { in radeon_cp_indirect()
2490 indirect->idx, dma->buf_count - 1); in radeon_cp_indirect()
2494 buf = dma->buflist[indirect->idx]; in radeon_cp_indirect()
2502 DRM_ERROR("sending pending buffer %d\n", indirect->idx); in radeon_cp_indirect()
2506 if (indirect->start < buf->used) { in radeon_cp_indirect()
2508 indirect->start, buf->used); in radeon_cp_indirect()
2515 buf->used = indirect->end; in radeon_cp_indirect()
[all …]
/drivers/net/ethernet/wiznet/
Dw5300.c91 bool indirect; member
253 w5300_write_direct(priv, W5300_MR, priv->indirect ? in w5300_hw_reset()
571 priv->indirect = mem_size < W5300_BUS_DIRECT_SIZE; in w5300_hw_probe()
572 if (priv->indirect) { in w5300_hw_probe()
Dw5100.c91 bool indirect; member
338 w5100_write_direct(priv, W5100_MR, priv->indirect ? in w5100_hw_reset()
651 priv->indirect = mem_size < W5100_BUS_DIRECT_SIZE; in w5100_hw_probe()
652 if (priv->indirect) { in w5100_hw_probe()
DKconfig61 In indirect address mode host system indirectly accesses registers
/drivers/virtio/
Dvirtio_ring.c70 bool indirect; member
221 if (vq->indirect && total_sg > 1 && vq->vq.num_free) { in virtqueue_add()
778 vq->indirect = virtio_has_feature(vdev, VIRTIO_RING_F_INDIRECT_DESC); in vring_new_virtqueue()
/drivers/block/
Dfloppy.c2631 int direct, indirect; in make_raw_rw_request() local
2633 indirect = in make_raw_rw_request()
2660 (indirect * 2 > direct * 3 && in make_raw_rw_request()
2671 indirect, direct, fsector_t); in make_raw_rw_request()