/drivers/gpio/ |
D | gpio-htc-egpio.c | 52 static inline void egpio_writew(u16 value, struct egpio_info *ei, int reg) in egpio_writew() argument 54 writew(value, ei->base_addr + (reg << ei->bus_shift)); in egpio_writew() 57 static inline u16 egpio_readw(struct egpio_info *ei, int reg) in egpio_readw() argument 59 return readw(ei->base_addr + (reg << ei->bus_shift)); in egpio_readw() 66 static inline void ack_irqs(struct egpio_info *ei) in ack_irqs() argument 68 egpio_writew(ei->ack_write, ei, ei->ack_register); in ack_irqs() 70 ei->ack_write, ei->ack_register << ei->bus_shift); in ack_irqs() 82 struct egpio_info *ei = irq_data_get_irq_chip_data(data); in egpio_mask() local 83 ei->irqs_enabled &= ~(1 << (data->irq - ei->irq_start)); in egpio_mask() 84 pr_debug("EGPIO mask %d %04x\n", data->irq, ei->irqs_enabled); in egpio_mask() [all …]
|
/drivers/mtd/tests/ |
D | mtd_test.c | 12 struct erase_info ei; in mtdtest_erase_eraseblock() local 15 memset(&ei, 0, sizeof(struct erase_info)); in mtdtest_erase_eraseblock() 16 ei.mtd = mtd; in mtdtest_erase_eraseblock() 17 ei.addr = addr; in mtdtest_erase_eraseblock() 18 ei.len = mtd->erasesize; in mtdtest_erase_eraseblock() 20 err = mtd_erase(mtd, &ei); in mtdtest_erase_eraseblock() 26 if (ei.state == MTD_ERASE_FAILED) { in mtdtest_erase_eraseblock()
|
D | speedtest.c | 58 struct erase_info ei; in multiblock_erase() local 61 memset(&ei, 0, sizeof(struct erase_info)); in multiblock_erase() 62 ei.mtd = mtd; in multiblock_erase() 63 ei.addr = addr; in multiblock_erase() 64 ei.len = mtd->erasesize * blocks; in multiblock_erase() 66 err = mtd_erase(mtd, &ei); in multiblock_erase() 73 if (ei.state == MTD_ERASE_FAILED) { in multiblock_erase()
|
/drivers/block/ |
D | cciss_scsi.c | 726 ErrorInfo_struct *ei; in complete_scsi_command() local 728 ei = c->err_info; in complete_scsi_command() 747 cmd->result |= (ei->ScsiStatus); in complete_scsi_command() 752 memcpy(cmd->sense_buffer, ei->SenseInfo, in complete_scsi_command() 753 ei->SenseLen > SCSI_SENSE_BUFFERSIZE ? in complete_scsi_command() 755 ei->SenseLen); in complete_scsi_command() 756 scsi_set_resid(cmd, ei->ResidualCnt); in complete_scsi_command() 758 if(ei->CommandStatus != 0) in complete_scsi_command() 760 switch(ei->CommandStatus) in complete_scsi_command() 764 if (!ei->ScsiStatus) { in complete_scsi_command() [all …]
|
D | skd_main.c | 1756 struct fit_comp_error_info *ei = &skspcl->req.err_info; in skd_sg_io_put_status() local 1757 u32 nbytes = sizeof(*ei); in skd_sg_io_put_status() 1763 if (__copy_to_user(sgp->sbp, ei, nbytes)) { in skd_sg_io_put_status()
|
/drivers/mtd/ubi/ |
D | io.c | 318 static void erase_callback(struct erase_info *ei) in erase_callback() argument 320 wake_up_interruptible((wait_queue_head_t *)ei->priv); in erase_callback() 335 struct erase_info ei; in do_sync_erase() local 348 memset(&ei, 0, sizeof(struct erase_info)); in do_sync_erase() 350 ei.mtd = ubi->mtd; in do_sync_erase() 351 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase() 352 ei.len = ubi->peb_size; in do_sync_erase() 353 ei.callback = erase_callback; in do_sync_erase() 354 ei.priv = (unsigned long)&wq; in do_sync_erase() 356 err = mtd_erase(ubi->mtd, &ei); in do_sync_erase() [all …]
|
/drivers/scsi/ |
D | hpsa.c | 2484 struct ErrorInfo *ei; in complete_scsi_command() local 2493 ei = cp->err_info; in complete_scsi_command() 2536 if (unlikely(ei->CommandStatus == CMD_CTLR_LOCKUP)) { in complete_scsi_command() 2552 scsi_set_resid(cmd, ei->ResidualCnt); in complete_scsi_command() 2553 if (ei->CommandStatus == 0) in complete_scsi_command() 2574 if (ei->CommandStatus == CMD_IOACCEL_DISABLED) in complete_scsi_command() 2581 switch (ei->CommandStatus) { in complete_scsi_command() 2584 cmd->result |= ei->ScsiStatus; in complete_scsi_command() 2586 if (SCSI_SENSE_BUFFERSIZE < sizeof(ei->SenseInfo)) in complete_scsi_command() 2589 sense_data_size = sizeof(ei->SenseInfo); in complete_scsi_command() [all …]
|
/drivers/dma/ |
D | omap-dma.c | 85 int16_t ei; /* for double indexing */ member 99 int16_t ei; /* for double indexing */ member 262 t2_desc->cdei = sg->ei; in omap_dma_fill_type2_desc() 263 t2_desc->csei = d->ei; in omap_dma_fill_type2_desc() 271 t2_desc->cdei = d->ei; in omap_dma_fill_type2_desc() 272 t2_desc->csei = sg->ei; in omap_dma_fill_type2_desc() 504 omap_dma_chan_write(c, cxei, sg->ei); in omap_dma_start_sg() 551 omap_dma_chan_write(c, cxei, d->ei); in omap_dma_start_desc() 1172 d->ei = 1; in omap_dma_prep_dma_interleaved() 1187 sg->ei = 1; in omap_dma_prep_dma_interleaved()
|
/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 280 struct esas2r_efi_image *ei; in fix_efi() local 286 ei = (struct esas2r_efi_image *)((u8 *)fi + offset); in fix_efi() 287 bh = (struct esas2r_boot_header *)((u8 *)ei + in fix_efi() 289 ei->header_offset)); in fix_efi() 1138 struct esas2r_efi_image *ei; in esas2r_read_image_type() local 1144 ei = (struct esas2r_efi_image *)bytes; in esas2r_read_image_type() 1146 switch (le16_to_cpu(ei->machine_type)) { in esas2r_read_image_type()
|
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1585 adapter->ei->init_ops(&adapter->hw); in igbvf_sw_init() 2679 const struct igbvf_info *ei = igbvf_info_tbl[ent->driver_data]; in igbvf_probe() local 2719 adapter->ei = ei; in igbvf_probe() 2720 adapter->pba = ei->pba; in igbvf_probe() 2721 adapter->flags = ei->flags; in igbvf_probe() 2723 adapter->hw.mac.type = ei->mac; in igbvf_probe() 2741 if (ei->get_variants) { in igbvf_probe() 2742 err = ei->get_variants(adapter); in igbvf_probe()
|
D | igbvf.h | 183 const struct igbvf_info *ei; member
|
/drivers/net/ethernet/8390/ |
D | ne2k-pci.c | 641 struct ei_device *ei = netdev_priv(dev); in ne2k_pci_get_drvinfo() local 642 struct pci_dev *pci_dev = (struct pci_dev *) ei->priv; in ne2k_pci_get_drvinfo()
|
/drivers/gpu/drm/i915/ |
D | i915_irq.c | 986 struct intel_rps_ei *ei) in vlv_c0_read() argument 988 ei->cz_clock = vlv_punit_read(dev_priv, PUNIT_REG_CZ_TIMESTAMP); in vlv_c0_read() 989 ei->render_c0 = I915_READ(VLV_RENDER_C0_COUNT); in vlv_c0_read() 990 ei->media_c0 = I915_READ(VLV_MEDIA_C0_COUNT); in vlv_c0_read() 995 memset(&dev_priv->rps.ei, 0, sizeof(dev_priv->rps.ei)); in gen6_rps_reset_ei() 1000 const struct intel_rps_ei *prev = &dev_priv->rps.ei; in vlv_wa_c0_ei() 1037 dev_priv->rps.ei = now; in vlv_wa_c0_ei()
|
D | i915_drv.h | 1228 struct intel_rps_ei ei; member
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 7052 const struct e1000_info *ei = e1000_info_tbl[ent->driver_data]; in e1000_probe() local 7062 if (ei->flags2 & FLAG2_DISABLE_ASPM_L0S) in e1000_probe() 7064 if (ei->flags2 & FLAG2_DISABLE_ASPM_L1) in e1000_probe() 7115 adapter->ei = ei; in e1000_probe() 7116 adapter->pba = ei->pba; in e1000_probe() 7117 adapter->flags = ei->flags; in e1000_probe() 7118 adapter->flags2 = ei->flags2; in e1000_probe() 7120 adapter->hw.mac.type = ei->mac; in e1000_probe() 7121 adapter->max_hw_frame_size = ei->max_hw_frame_size; in e1000_probe() 7165 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in e1000_probe() [all …]
|
D | e1000.h | 217 const struct e1000_info *ei; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb.h | 513 struct e1000_info ei; member
|
D | igb_main.c | 1980 adapter->ei.get_invariants(hw); in igb_reset() 2315 const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; in igb_probe() local 2394 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igb_probe() 2395 memcpy(&hw->phy.ops, ei->phy_ops, sizeof(hw->phy.ops)); in igb_probe() 2396 memcpy(&hw->nvm.ops, ei->nvm_ops, sizeof(hw->nvm.ops)); in igb_probe() 2398 err = ei->get_invariants(hw); in igb_probe() 2678 adapter->ei = *ei; in igb_probe()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3554 u8 di0, dq0, ei, eq, fi, fq; in wlc_lcnphy_get_cc() local 3572 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc() 3573 cc.re = (u16) ei; in wlc_lcnphy_get_cc() 3577 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc()
|
/drivers/infiniband/hw/hfi1/ |
D | mad.c | 2234 } ei; member 3021 memcpy(&rsp->port_rcv_ei.ei.ei1to12.packet_flit1, in pma_get_opa_errorinfo() 3023 memcpy(&rsp->port_rcv_ei.ei.ei1to12.packet_flit2, in pma_get_opa_errorinfo()
|