/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.c | 46 goto done; in event_seq_changed() 54 goto done; in event_seq_changed() 119 done: in event_seq_changed() 222 goto done; in hfi_sys_init_done() 226 goto done; in hfi_sys_init_done() 233 goto done; in hfi_sys_init_done() 238 done: in hfi_sys_init_done() 240 complete(&core->done); in hfi_sys_init_done() 297 complete(&core->done); in hfi_sys_rel_resource_done() 310 complete(&core->done); in hfi_sys_ping_done() [all …]
|
D | hfi.c | 59 reinit_completion(&core->done); in hfi_core_init() 65 ret = wait_for_completion_timeout(&core->done, TIMEOUT); in hfi_core_init() 151 ret = wait_for_completion_timeout(&core->done, TIMEOUT); in hfi_core_ping() 168 ret = wait_for_completion_timeout(&inst->done, TIMEOUT); in wait_session_msg() 188 init_completion(&inst->done); in hfi_session_create() 230 reinit_completion(&inst->done); in hfi_session_init() 269 reinit_completion(&inst->done); in hfi_session_deinit() 293 reinit_completion(&inst->done); in hfi_session_start() 317 reinit_completion(&inst->done); in hfi_session_stop() 349 reinit_completion(&inst->done); in hfi_session_abort() [all …]
|
/drivers/vme/bridges/ |
D | vme_fake.c | 525 unsigned int done = 0; in fake_master_read() local 551 done += 1; in fake_master_read() 552 if (done == count) in fake_master_read() 556 if ((addr + done) & 0x2) { in fake_master_read() 557 if ((count - done) < 2) { in fake_master_read() 558 *(u8 *)(buf + done) = fake_vmeread8(priv, in fake_master_read() 559 addr + done, aspace, cycle); in fake_master_read() 560 done += 1; in fake_master_read() 563 *(u16 *)(buf + done) = fake_vmeread16(priv, in fake_master_read() 564 addr + done, aspace, cycle); in fake_master_read() [all …]
|
D | vme_ca91cx42.c | 854 unsigned int done = 0; in ca91cx42_master_read() local 872 done += 1; in ca91cx42_master_read() 873 if (done == count) in ca91cx42_master_read() 876 if ((uintptr_t)(addr + done) & 0x2) { in ca91cx42_master_read() 877 if ((count - done) < 2) { in ca91cx42_master_read() 878 *(u8 *)(buf + done) = ioread8(addr + done); in ca91cx42_master_read() 879 done += 1; in ca91cx42_master_read() 882 *(u16 *)(buf + done) = ioread16(addr + done); in ca91cx42_master_read() 883 done += 2; in ca91cx42_master_read() 887 count32 = (count - done) & ~0x3; in ca91cx42_master_read() [all …]
|
/drivers/media/v4l2-core/ |
D | videobuf-core.c | 68 init_waitqueue_head(&vb->done); in videobuf_alloc_vb() 109 ret = wait_event_interruptible(vb->done, in videobuf_waiton() 112 wait_event(vb->done, state_neither_active_nor_queued(q, vb)); in videobuf_waiton() 280 wake_up_all(&q->bufs[i]->done); in videobuf_queue_cancel() 457 goto done; in videobuf_reqbufs() 463 goto done; in videobuf_reqbufs() 468 goto done; in videobuf_reqbufs() 474 goto done; in videobuf_reqbufs() 489 goto done; in videobuf_reqbufs() 495 done: in videobuf_reqbufs() [all …]
|
/drivers/crypto/ |
D | padlock-sha.c | 284 unsigned int partial, done; in padlock_sha1_update_nano() local 293 done = 0; in padlock_sha1_update_nano() 301 done = -partial; in padlock_sha1_update_nano() 303 done + SHA1_BLOCK_SIZE); in padlock_sha1_update_nano() 308 done += SHA1_BLOCK_SIZE; in padlock_sha1_update_nano() 309 src = data + done; in padlock_sha1_update_nano() 313 if (len - done >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano() 317 "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); in padlock_sha1_update_nano() 318 done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); in padlock_sha1_update_nano() 319 src = data + done; in padlock_sha1_update_nano() [all …]
|
/drivers/platform/chrome/ |
D | cros_ec_i2c.c | 98 goto done; in cros_ec_pkt_xfer_i2c() 102 goto done; in cros_ec_pkt_xfer_i2c() 116 goto done; in cros_ec_pkt_xfer_i2c() 132 goto done; in cros_ec_pkt_xfer_i2c() 141 goto done; in cros_ec_pkt_xfer_i2c() 150 goto done; in cros_ec_pkt_xfer_i2c() 168 goto done; in cros_ec_pkt_xfer_i2c() 173 done: in cros_ec_pkt_xfer_i2c() 205 goto done; in cros_ec_cmd_xfer_i2c() 216 goto done; in cros_ec_cmd_xfer_i2c() [all …]
|
/drivers/usb/host/ |
D | uhci-debug.c | 67 goto done; in uhci_show_td() 94 done: in uhci_show_td() 116 goto done; in uhci_show_urbp() 136 goto done; in uhci_show_urbp() 158 done: in uhci_show_urbp() 194 goto done; in uhci_show_qh() 209 goto done; in uhci_show_qh() 245 goto done; in uhci_show_qh() 255 done: in uhci_show_qh() 334 goto done; in uhci_show_status() [all …]
|
/drivers/fpga/ |
D | xilinx-spi.c | 27 struct gpio_desc *done; member 35 ret = gpiod_get_value(conf->done); in get_done_gpio() 175 int done; in xilinx_spi_write_complete() local 186 done = get_done_gpio(mgr); in xilinx_spi_write_complete() 187 if (done < 0) in xilinx_spi_write_complete() 188 return done; in xilinx_spi_write_complete() 194 if (done) in xilinx_spi_write_complete() 245 conf->done = devm_gpiod_get(&spi->dev, "done", GPIOD_IN); in xilinx_spi_probe() 246 if (IS_ERR(conf->done)) in xilinx_spi_probe() 247 return dev_err_probe(&spi->dev, PTR_ERR(conf->done), in xilinx_spi_probe()
|
/drivers/crypto/caam/ |
D | caamrng.c | 46 struct completion *done; member 63 complete(jctx->done); in caam_rng_done() 85 struct completion *done) in caam_rng_read_one() argument 90 .done = done, in caam_rng_read_one() 102 init_completion(done); in caam_rng_read_one() 107 wait_for_completion(done); in caam_rng_read_one() 119 struct completion done; in caam_rng_fill_async() local 131 &done); in caam_rng_fill_async() 151 struct completion done; in caam_read() local 154 ctx->desc_sync, &done); in caam_read()
|
/drivers/media/platform/vsp1/ |
D | vsp1_drv.c | 264 goto done; in vsp1_create_entities() 272 goto done; in vsp1_create_entities() 282 goto done; in vsp1_create_entities() 292 goto done; in vsp1_create_entities() 301 goto done; in vsp1_create_entities() 309 goto done; in vsp1_create_entities() 318 goto done; in vsp1_create_entities() 329 goto done; in vsp1_create_entities() 348 goto done; in vsp1_create_entities() 360 goto done; in vsp1_create_entities() [all …]
|
/drivers/vfio/pci/ |
D | vfio_pci_rdwr.c | 102 ssize_t done = 0; in do_io_rw() local 195 done += filled; in do_io_rw() 200 return done; in do_io_rw() 237 ssize_t done; in vfio_pci_bar_rw() local 260 done = -ENOMEM; in vfio_pci_bar_rw() 267 done = ret; in vfio_pci_bar_rw() 279 done = do_io_rw(vdev, res->flags & IORESOURCE_MEM, io, buf, pos, in vfio_pci_bar_rw() 282 if (done >= 0) in vfio_pci_bar_rw() 283 *ppos += done; in vfio_pci_bar_rw() 288 return done; in vfio_pci_bar_rw() [all …]
|
/drivers/staging/fwserial/ |
D | dma_fifo.c | 74 fifo->done = 0; in dma_fifo_alloc() 124 fifo->done = 0; in dma_fifo_reset() 158 if (FAIL(fifo, addr_check(fifo->done, fifo->in, fifo->in + n) || in dma_fifo_in() 161 fifo->in, fifo->out, fifo->done, n, fifo->avail)) in dma_fifo_in() 168 fifo->done, n, fifo->avail); in dma_fifo_in() 217 fifo->out, fifo->done, n, len, fifo->avail); in dma_fifo_out_pend() 271 if (FAIL(fifo, pending->out != fifo->done || in dma_fifo_out_complete() 272 addr_check(fifo->in, fifo->done, pending->next), in dma_fifo_out_complete() 274 fifo->in, fifo->out, fifo->done, pending->out, in dma_fifo_out_complete() 279 fifo->done = pending->next; in dma_fifo_out_complete() [all …]
|
/drivers/net/ethernet/apm/xgene-v2/ |
D | mdio.c | 15 u32 done, val = 0; in xge_mdio_write() local 25 done = xge_rd_csr(pdata, MII_MGMT_INDICATORS); in xge_mdio_write() 26 } while ((done & MII_MGMT_BUSY) && wait--); in xge_mdio_write() 28 if (done & MII_MGMT_BUSY) { in xge_mdio_write() 39 u32 data, done, val = 0; in xge_mdio_read() local 49 done = xge_rd_csr(pdata, MII_MGMT_INDICATORS); in xge_mdio_read() 50 } while ((done & MII_MGMT_BUSY) && wait--); in xge_mdio_read() 52 if (done & MII_MGMT_BUSY) { in xge_mdio_read()
|
/drivers/gpu/drm/nouveau/nvif/ |
D | mmu.c | 57 goto done; in nvif_mmu_ctor() 66 goto done; in nvif_mmu_ctor() 74 goto done; in nvif_mmu_ctor() 79 goto done; in nvif_mmu_ctor() 87 goto done; in nvif_mmu_ctor() 98 goto done; in nvif_mmu_ctor() 117 goto done; in nvif_mmu_ctor() 129 done: in nvif_mmu_ctor()
|
/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 630 goto done; in assign_adapter_store() 635 goto done; in assign_adapter_store() 639 goto done; in assign_adapter_store() 649 goto done; in assign_adapter_store() 658 goto done; in assign_adapter_store() 662 done: in assign_adapter_store() 697 goto done; in unassign_adapter_store() 702 goto done; in unassign_adapter_store() 706 goto done; in unassign_adapter_store() 711 done: in unassign_adapter_store() [all …]
|
/drivers/net/mdio/ |
D | mdio-xgene.c | 28 u32 done, rd_data = BUSY_MASK; in xgene_mdio_rd_mac() local 40 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_rd_mac() 43 if (done) in xgene_mdio_rd_mac() 57 u32 done; in xgene_mdio_wr_mac() local 69 while (!(done = ioread32(cmd_done)) && wait--) in xgene_mdio_wr_mac() 72 if (!done) in xgene_mdio_wr_mac() 83 u32 data, done; in xgene_mdio_rgmii_read() local 91 done = xgene_mdio_rd_mac(pdata, MII_MGMT_INDICATORS_ADDR); in xgene_mdio_rgmii_read() 92 } while ((done & BUSY_MASK) && wait--); in xgene_mdio_rgmii_read() 94 if (done & BUSY_MASK) { in xgene_mdio_rgmii_read() [all …]
|
/drivers/firmware/google/ |
D | memconsole-coreboot.c | 49 size_t done = 0; in memconsole_coreboot_read() local 61 for (i = 0; i < ARRAY_SIZE(seg) && count > done; i++) { in memconsole_coreboot_read() 62 done += memory_read_from_buffer(buf + done, count - done, &pos, in memconsole_coreboot_read() 66 return done; in memconsole_coreboot_read()
|
/drivers/pnp/ |
D | interface.c | 347 goto done; in resources_store() 353 goto done; in resources_store() 357 goto done; in resources_store() 361 goto done; in resources_store() 363 goto done; in resources_store() 367 goto done; in resources_store() 370 goto done; in resources_store() 374 goto done; in resources_store() 376 goto done; in resources_store() 383 goto done; in resources_store() [all …]
|
/drivers/usb/typec/tcpm/ |
D | fusb302.c | 291 goto done; in fusb302_i2c_block_read() 299 done: in fusb302_i2c_block_read() 627 goto done; in tcpm_set_cc() 635 goto done; in tcpm_set_cc() 642 goto done; in tcpm_set_cc() 653 goto done; in tcpm_set_cc() 667 goto done; in tcpm_set_cc() 676 goto done; in tcpm_set_cc() 689 goto done; in tcpm_set_cc() 697 done: in tcpm_set_cc() [all …]
|
/drivers/gpu/vga/ |
D | vgaarb.c | 1007 goto done; in vga_arb_read() 1020 goto done; in vga_arb_read() 1033 done: in vga_arb_read() 1079 goto done; in vga_arb_write() 1083 goto done; in vga_arb_write() 1089 goto done; in vga_arb_write() 1106 goto done; in vga_arb_write() 1119 goto done; in vga_arb_write() 1132 goto done; in vga_arb_write() 1141 goto done; in vga_arb_write() [all …]
|
/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 456 goto done; in lbtf_allocate_cmd_buffer() 466 goto done; in lbtf_allocate_cmd_buffer() 477 done: in lbtf_allocate_cmd_buffer() 499 goto done; in lbtf_free_cmd_buffer() 514 done: in lbtf_free_cmd_buffer() 578 goto done; in lbtf_execute_next_command() 598 done: in lbtf_execute_next_command() 616 goto done; in __lbtf_cmd_async() 626 goto done; in __lbtf_cmd_async() 648 done: in __lbtf_cmd_async() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | device.c | 37 goto done; in hfi1_cdev_init() 52 done: in hfi1_cdev_init() 103 goto done; in dev_init() 111 goto done; in dev_init() 124 goto done; in dev_init() 128 done: in dev_init()
|
D | eprom.c | 296 goto done; in read_segment_platform_config() 309 goto done; in read_segment_platform_config() 320 goto done; in read_segment_platform_config() 329 goto done; in read_segment_platform_config() 336 goto done; in read_segment_platform_config() 361 goto done; in read_segment_platform_config() 386 goto done; in read_segment_platform_config() 400 done: in read_segment_platform_config() 436 goto done; in eprom_read_platform_config() 447 done: in eprom_read_platform_config()
|
/drivers/staging/greybus/ |
D | camera.c | 502 goto done; in gb_camera_capabilities() 513 done: in gb_camera_capabilities() 570 goto done; in gb_camera_configure_streams() 579 goto done; in gb_camera_configure_streams() 584 goto done; in gb_camera_configure_streams() 603 goto done; in gb_camera_configure_streams() 620 goto done; in gb_camera_configure_streams() 639 goto done; in gb_camera_configure_streams() 644 done: in gb_camera_configure_streams() 680 goto done; in gb_camera_capture() [all …]
|