/drivers/block/ |
D | sunvdc.c | 53 struct vio_driver_state vio; member 88 static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio) in to_vdc_port() argument 90 return container_of(vio, struct vdc_port, vio); in to_vdc_port() 103 return port->vio.ver.major == major && port->vio.ver.minor >= minor; in vdc_version_supported() 170 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start() 183 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish() argument 185 if (vio->cmp && in vdc_finish() 187 vio->cmp->waiting_for == waiting_for)) { in vdc_finish() 188 vio->cmp->err = err; in vdc_finish() 189 complete(&vio->cmp->com); in vdc_finish() [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 48 struct vvp_io *vio; in cl2vvp_io() local 50 vio = container_of(slice, struct vvp_io, vui_cl); in cl2vvp_io() 51 LASSERT(vio == vvp_env_io(env)); in cl2vvp_io() 53 return vio; in cl2vvp_io() 66 struct vvp_io *vio = vvp_env_io(env); in can_populate_pages() local 75 if (ll_layout_version_get(lli) != vio->vui_layout_gen || in can_populate_pages() 209 struct vvp_io *vio = vvp_env_io(env); in vvp_io_one_lock_index() local 210 struct cl_lock_descr *descr = &vio->vui_link.cill_descr; in vvp_io_one_lock_index() 217 memset(&vio->vui_link, 0, sizeof(vio->vui_link)); in vvp_io_one_lock_index() 219 if (vio->vui_fd && (vio->vui_fd->fd_flags & LL_FILE_GROUP_LOCKED)) { in vvp_io_one_lock_index() [all …]
|
D | llite_mmap.c | 125 struct vvp_io *vio = vvp_env_io(env); in ll_fault_io_init() local 128 LASSERT(vio->vui_cl.cis_io == io); in ll_fault_io_init() 132 vio->vui_fd = fd; in ll_fault_io_init() 151 struct vvp_io *vio; in ll_page_mkwrite0() local 175 vio = vvp_env_io(env); in ll_page_mkwrite0() 176 vio->u.fault.ft_vma = vma; in ll_page_mkwrite0() 177 vio->u.fault.ft_vmpage = vmpage; in ll_page_mkwrite0() 266 struct vvp_io *vio = NULL; in ll_fault0() local 285 vio = vvp_env_io(env); in ll_fault0() 286 vio->u.fault.ft_vma = vma; in ll_fault0() [all …]
|
D | rw.c | 430 struct vvp_io *vio = vvp_env_io(env); in ll_readahead() local 476 if (vio->vui_ra_valid && in ll_readahead() 477 end < vio->vui_ra_start + vio->vui_ra_count - 1) in ll_readahead() 478 end = vio->vui_ra_start + vio->vui_ra_count - 1; in ll_readahead() 516 vio->vui_ra_valid ? vio->vui_ra_start : 0, in ll_readahead() 517 vio->vui_ra_valid ? vio->vui_ra_count : 0, in ll_readahead() 521 if (!hit && vio->vui_ra_valid && in ll_readahead() 522 vio->vui_ra_start + vio->vui_ra_count > ria->ria_start) { in ll_readahead() 526 mlen = vio->vui_ra_start + vio->vui_ra_count - ria->ria_start; in ll_readahead() 1107 struct vvp_io *vio = vvp_env_io(env); in ll_io_read_page() local [all …]
|
D | rw26.c | 396 struct vvp_io *vio = vvp_env_io(env); in ll_direct_IO_26() local 399 vio->u.write.vui_written += tot_bytes; in ll_direct_IO_26() 470 struct vvp_io *vio = vvp_env_io(env); in ll_write_begin() local 471 struct cl_page_list *plist = &vio->u.write.vui_queue; in ll_write_begin() 556 struct vvp_io *vio; in ll_write_end() local 567 vio = vvp_env_io(env); in ll_write_end() 571 struct cl_page_list *plist = &vio->u.write.vui_queue; in ll_write_end() 578 vio->u.write.vui_from = from; in ll_write_end() 581 vio->u.write.vui_to = from + copied; in ll_write_end()
|
D | lcommon_cl.c | 108 struct vvp_io *vio = vvp_env_io(env); in cl_setattr_ost() local 114 vio->vui_fd = LUSTRE_FPRIVATE(attr->ia_file); in cl_setattr_ost()
|
D | file.c | 1053 struct vvp_io *vio = vvp_env_io(env); in ll_file_io_generic() local 1067 struct vvp_io *vio = vvp_env_io(env); in ll_file_io_generic() local 1075 vio->vui_fd = LUSTRE_FPRIVATE(file); in ll_file_io_generic() 1076 vio->vui_iter = args->u.normal.via_iter; in ll_file_io_generic() 1077 vio->vui_iocb = args->u.normal.via_iocb; in ll_file_io_generic() 1085 !(vio->vui_fd->fd_flags & LL_FILE_GROUP_LOCKED)) { in ll_file_io_generic() 1116 args->u.normal.via_iter = vio->vui_iter; in ll_file_io_generic()
|
/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 60 ldc_disconnect(port->vio.lp); in vnet_handle_unknown() 67 int sunvnet_send_attr_common(struct vio_driver_state *vio) in sunvnet_send_attr_common() argument 69 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common() 75 err = vnet_port_alloc_tx_ring(to_vnet_port(vio)); in sunvnet_send_attr_common() 83 pkt.tag.sid = vio_send_sid(vio); in sunvnet_send_attr_common() 84 if (vio_version_before(vio, 1, 2)) in sunvnet_send_attr_common() 92 if (vio_version_after(vio, 1, 3)) { in sunvnet_send_attr_common() 100 if (vio_version_after_eq(vio, 1, 6)) in sunvnet_send_attr_common() 102 } else if (vio_version_before(vio, 1, 3)) { in sunvnet_send_attr_common() 109 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common() [all …]
|
D | sunvnet_common.h | 59 struct vio_driver_state vio; member 93 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio) in to_vnet_port() argument 95 return container_of(vio, struct vnet_port, vio); in to_vnet_port() 147 int sunvnet_send_attr_common(struct vio_driver_state *vio); 148 int sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg); 149 void sunvnet_handshake_complete_common(struct vio_driver_state *vio);
|
D | ldmvsw.c | 129 struct vio_driver_state *vio = &port->vio; in ldmvsw_open() local 132 vio_link_state_change(vio, LDC_EVENT_RESET); in ldmvsw_open() 134 vio_port_up(vio); in ldmvsw_open() 347 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe() 353 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe() 380 vio_port_up(&port->vio); in vsw_port_probe() 400 vio_ldc_free(&port->vio); in vsw_port_probe() 413 del_timer_sync(&port->vio.timer); in vsw_port_remove() 427 vio_ldc_free(&port->vio); in vsw_port_remove() 460 MODULE_DEVICE_TABLE(vio, vsw_port_match);
|
D | sunvnet.c | 457 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe() 463 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe() 499 vio_port_up(&port->vio); in vnet_port_probe() 518 del_timer_sync(&port->vio.timer); in vnet_port_remove() 530 vio_ldc_free(&port->vio); in vnet_port_remove() 545 MODULE_DEVICE_TABLE(vio, vnet_port_match);
|
/drivers/tty/ |
D | vcc.c | 28 struct vio_driver_state vio; member 263 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local 268 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx() 315 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local 322 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read() 334 vccdbgl(vio->lp); in vcc_ldc_read() 336 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read() 366 struct vio_driver_state *vio; in vcc_rx_timer() local 378 vio = &port->vio; in vcc_rx_timer() 380 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer() [all …]
|
/drivers/staging/greybus/ |
D | arche-apb-ctrl.c | 40 struct regulator *vio; member 95 if (!IS_ERR(apb->vio)) { in coldboot_seq() 96 ret = regulator_enable(apb->vio); in coldboot_seq() 135 ret = regulator_enable(apb->vio); in fw_flashing_seq() 217 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq() 218 regulator_disable(apb->vio); in poweroff_seq() 392 apb->vio = devm_regulator_get(dev, "vio"); in apb_ctrl_get_devtree_data() 393 if (IS_ERR(apb->vio)) in apb_ctrl_get_devtree_data()
|
/drivers/net/wireless/ti/wl1251/ |
D | spi.c | 319 wl->vio = devm_regulator_get(&spi->dev, "vio"); in wl1251_spi_probe() 320 if (IS_ERR(wl->vio)) { in wl1251_spi_probe() 321 ret = PTR_ERR(wl->vio); in wl1251_spi_probe() 326 ret = regulator_enable(wl->vio); in wl1251_spi_probe() 337 regulator_disable(wl->vio); in wl1251_spi_probe() 349 regulator_disable(wl->vio); in wl1251_spi_remove()
|
D | wl1251.h | 283 struct regulator *vio; member
|
/drivers/nvme/host/ |
D | lightnvm.c | 682 struct nvm_user_vio vio; in nvme_nvm_submit_vio() local 687 if (copy_from_user(&vio, uvio, sizeof(vio))) in nvme_nvm_submit_vio() 689 if (vio.flags) in nvme_nvm_submit_vio() 693 c.ph_rw.opcode = vio.opcode; in nvme_nvm_submit_vio() 695 c.ph_rw.control = cpu_to_le16(vio.control); in nvme_nvm_submit_vio() 696 c.ph_rw.length = cpu_to_le16(vio.nppas); in nvme_nvm_submit_vio() 698 length = (vio.nppas + 1) << ns->lba_shift; in nvme_nvm_submit_vio() 701 (void __user *)(uintptr_t)vio.addr, length, in nvme_nvm_submit_vio() 702 (void __user *)(uintptr_t)vio.metadata, in nvme_nvm_submit_vio() 703 vio.metadata_len, in nvme_nvm_submit_vio() [all …]
|
/drivers/input/touchscreen/ |
D | tsc200x-core.c | 113 struct regulator *vio; member 499 ts->vio = devm_regulator_get(dev, "vio"); in tsc200x_probe() 500 if (IS_ERR(ts->vio)) { in tsc200x_probe() 501 error = PTR_ERR(ts->vio); in tsc200x_probe() 558 error = regulator_enable(ts->vio); in tsc200x_probe() 583 regulator_disable(ts->vio); in tsc200x_probe() 594 regulator_disable(ts->vio); in tsc200x_remove()
|
D | zet6223.c | 38 struct regulator *vio; member
|
/drivers/media/radio/si4713/ |
D | si4713.c | 374 if (sdev->vio) { in si4713_powerup() 375 err = regulator_enable(sdev->vio); in si4713_powerup() 415 if (sdev->vio) { in si4713_powerup() 416 err = regulator_disable(sdev->vio); in si4713_powerup() 456 if (sdev->vio) { in si4713_powerdown() 457 err = regulator_disable(sdev->vio); in si4713_powerdown() 1475 sdev->vio = devm_regulator_get_optional(&client->dev, "vio"); in si4713_probe() 1476 if (IS_ERR(sdev->vio)) { in si4713_probe() 1477 rval = PTR_ERR(sdev->vio); in si4713_probe() 1482 sdev->vio = NULL; in si4713_probe()
|
D | si4713.h | 240 struct regulator *vio; member
|
/drivers/char/hw_random/ |
D | pseries-rng.c | 79 MODULE_DEVICE_TABLE(vio, pseries_rng_driver_ids);
|
/drivers/mfd/ |
D | stmpe.c | 1359 stmpe->vio = devm_regulator_get_optional(ci->dev, "vio"); in stmpe_probe() 1360 if (!IS_ERR(stmpe->vio)) { in stmpe_probe() 1361 ret = regulator_enable(stmpe->vio); in stmpe_probe() 1431 if (!IS_ERR(stmpe->vio)) in stmpe_remove() 1432 regulator_disable(stmpe->vio); in stmpe_remove()
|
D | twl-core.c | 871 child = add_regulator(TWL4030_REG_VIO, pdata->vio, in add_children()
|
/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 39 MODULE_DEVICE_TABLE(vio, tpm_ibmvtpm_device_table);
|
/drivers/crypto/nx/ |
D | nx.c | 840 MODULE_DEVICE_TABLE(vio, nx_crypto_driver_ids);
|