Home
last modified time | relevance | path

Searched refs:ei (Results 1 – 25 of 26) sorted by relevance

12

/drivers/gpio/
Dgpio-htc-egpio.c53 static inline void egpio_writew(u16 value, struct egpio_info *ei, int reg) in egpio_writew() argument
55 writew(value, ei->base_addr + (reg << ei->bus_shift)); in egpio_writew()
58 static inline u16 egpio_readw(struct egpio_info *ei, int reg) in egpio_readw() argument
60 return readw(ei->base_addr + (reg << ei->bus_shift)); in egpio_readw()
67 static inline void ack_irqs(struct egpio_info *ei) in ack_irqs() argument
69 egpio_writew(ei->ack_write, ei, ei->ack_register); in ack_irqs()
71 ei->ack_write, ei->ack_register << ei->bus_shift); in ack_irqs()
83 struct egpio_info *ei = irq_data_get_irq_chip_data(data); in egpio_mask() local
84 ei->irqs_enabled &= ~(1 << (data->irq - ei->irq_start)); in egpio_mask()
85 pr_debug("EGPIO mask %d %04x\n", data->irq, ei->irqs_enabled); in egpio_mask()
[all …]
/drivers/mtd/tests/
Dmtd_test.c13 struct erase_info ei; in mtdtest_erase_eraseblock() local
16 memset(&ei, 0, sizeof(struct erase_info)); 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()
Dspeedtest.c46 struct erase_info ei; in multiblock_erase() local
49 memset(&ei, 0, sizeof(struct erase_info)); in multiblock_erase()
50 ei.addr = addr; in multiblock_erase()
51 ei.len = mtd->erasesize * blocks; in multiblock_erase()
53 err = mtd_erase(mtd, &ei); in multiblock_erase()
/drivers/soc/qcom/
Dqmi_interface.c308 struct qmi_elem_info *ei, void *c_struct) in qmi_txn_init() argument
317 txn->ei = ei; in qmi_txn_init()
413 ret = qmi_decode_message(buf, len, handler->ei, dest); in qmi_invoke_handler()
501 if (txn->dest && txn->ei) { in qmi_handle_message()
502 ret = qmi_decode_message(buf, len, txn->ei, txn->dest); in qmi_handle_message()
735 struct qmi_elem_info *ei, const void *c_struct) in qmi_send_message() argument
744 txn->id, ei, in qmi_send_message()
786 struct qmi_elem_info *ei, const void *c_struct) in qmi_send_request() argument
788 return qmi_send_message(qmi, sq, txn, QMI_REQUEST, msg_id, len, ei, in qmi_send_request()
807 struct qmi_elem_info *ei, const void *c_struct) in qmi_send_response() argument
[all …]
Dqmi_encdec.c716 unsigned int txn_id, struct qmi_elem_info *ei, in qmi_encode_message() argument
726 ret = qmi_calc_min_msg_len(ei, 1); in qmi_encode_message()
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1); in qmi_encode_message()
770 struct qmi_elem_info *ei, void *c_struct) in qmi_decode_message() argument
772 if (!ei) in qmi_decode_message()
778 return qmi_decode(ei, c_struct, buf + sizeof(struct qmi_header), in qmi_decode_message()
/drivers/scsi/
Dhpsa.c2552 struct ErrorInfo *ei; in complete_scsi_command() local
2561 ei = cp->err_info; in complete_scsi_command()
2610 if (unlikely(ei->CommandStatus == CMD_CTLR_LOCKUP)) { in complete_scsi_command()
2619 scsi_set_resid(cmd, ei->ResidualCnt); in complete_scsi_command()
2620 if (ei->CommandStatus == 0) in complete_scsi_command()
2641 if (ei->CommandStatus == CMD_IOACCEL_DISABLED) in complete_scsi_command()
2648 switch (ei->CommandStatus) { in complete_scsi_command()
2651 cmd->result |= ei->ScsiStatus; in complete_scsi_command()
2653 if (SCSI_SENSE_BUFFERSIZE < sizeof(ei->SenseInfo)) in complete_scsi_command()
2656 sense_data_size = sizeof(ei->SenseInfo); in complete_scsi_command()
[all …]
/drivers/dma/ti/
Domap-dma.c82 int16_t ei; /* for double indexing */ member
97 int16_t ei; /* for double indexing */ member
264 t2_desc->cdei = sg->ei; in omap_dma_fill_type2_desc()
265 t2_desc->csei = d->ei; in omap_dma_fill_type2_desc()
273 t2_desc->cdei = d->ei; in omap_dma_fill_type2_desc()
274 t2_desc->csei = sg->ei; in omap_dma_fill_type2_desc()
520 omap_dma_chan_write(c, cxei, sg->ei); in omap_dma_start_sg()
567 omap_dma_chan_write(c, cxei, d->ei); in omap_dma_start_desc()
944 d->ei = 1; in omap_dma_prep_slave_sg()
1253 d->ei = 1; in omap_dma_prep_dma_interleaved()
[all …]
/drivers/scsi/esas2r/
Desas2r_flash.c280 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/mtd/ubi/
Dio.c310 struct erase_info ei; in do_sync_erase() local
321 memset(&ei, 0, sizeof(struct erase_info)); in do_sync_erase()
323 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase()
324 ei.len = ubi->peb_size; in do_sync_erase()
326 err = mtd_erase(ubi->mtd, &ei); in do_sync_erase()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1638 adapter->ei->init_ops(&adapter->hw); in igbvf_sw_init()
2713 const struct igbvf_info *ei = igbvf_info_tbl[ent->driver_data]; in igbvf_probe() local
2753 adapter->ei = ei; in igbvf_probe()
2754 adapter->pba = ei->pba; in igbvf_probe()
2755 adapter->flags = ei->flags; in igbvf_probe()
2757 adapter->hw.mac.type = ei->mac; in igbvf_probe()
2775 if (ei->get_variants) { in igbvf_probe()
2776 err = ei->get_variants(adapter); in igbvf_probe()
Digbvf.h162 const struct igbvf_info *ei; member
/drivers/staging/exfat/
Dexfat_super.c3027 struct exfat_inode_info *ei = EXFAT_I(inode); in exfat_get_link() local
3029 if (ei->target) { in exfat_get_link()
3030 char *cookie = ei->target; in exfat_get_link()
3033 return (char *)(ei->target); in exfat_get_link()
3393 struct exfat_inode_info *ei; in exfat_alloc_inode() local
3395 ei = kmem_cache_alloc(exfat_inode_cachep, GFP_NOFS); in exfat_alloc_inode()
3396 if (!ei) in exfat_alloc_inode()
3399 init_rwsem(&ei->truncate_lock); in exfat_alloc_inode()
3401 return &ei->vfs_inode; in exfat_alloc_inode()
3941 struct exfat_inode_info *ei = (struct exfat_inode_info *)foo; in init_once() local
[all …]
/drivers/net/ethernet/8390/
Dne2k-pci.c640 struct ei_device *ei = netdev_priv(dev); in ne2k_pci_get_drvinfo() local
641 struct pci_dev *pci_dev = (struct pci_dev *) ei->priv; in ne2k_pci_get_drvinfo()
/drivers/gpu/drm/i915/
Di915_irq.c1117 struct intel_rps_ei *ei) in vlv_c0_read() argument
1119 ei->ktime = ktime_get_raw(); in vlv_c0_read()
1120 ei->render_c0 = I915_READ(VLV_RENDER_C0_COUNT); in vlv_c0_read()
1121 ei->media_c0 = I915_READ(VLV_MEDIA_C0_COUNT); in vlv_c0_read()
1126 memset(&dev_priv->gt_pm.rps.ei, 0, sizeof(dev_priv->gt_pm.rps.ei)); in gen6_rps_reset_ei()
1132 const struct intel_rps_ei *prev = &rps->ei; in vlv_wa_c0_ei()
1165 rps->ei = now; in vlv_wa_c0_ei()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c7048 const struct e1000_info *ei = e1000_info_tbl[ent->driver_data]; in e1000_probe() local
7058 if (ei->flags2 & FLAG2_DISABLE_ASPM_L0S) in e1000_probe()
7060 if (ei->flags2 & FLAG2_DISABLE_ASPM_L1) in e1000_probe()
7111 adapter->ei = ei; in e1000_probe()
7112 adapter->pba = ei->pba; in e1000_probe()
7113 adapter->flags = ei->flags; in e1000_probe()
7114 adapter->flags2 = ei->flags2; in e1000_probe()
7116 adapter->hw.mac.type = ei->mac; in e1000_probe()
7117 adapter->max_hw_frame_size = ei->max_hw_frame_size; in e1000_probe()
7161 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in e1000_probe()
[all …]
De1000.h196 const struct e1000_info *ei; member
/drivers/net/ethernet/intel/igc/
Digc.h433 struct igc_info ei; member
Digc_main.c4125 const struct igc_info *ei = igc_info_tbl[ent->driver_data]; in igc_probe() local
4205 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igc_probe()
4206 memcpy(&hw->phy.ops, ei->phy_ops, sizeof(hw->phy.ops)); in igc_probe()
4209 err = ei->get_invariants(hw); in igc_probe()
4292 adapter->ei = *ei; in igc_probe()
/drivers/net/wireless/ath/ath10k/
Dqmi.c862 .ei = wlfw_fw_ready_ind_msg_v01_ei,
869 .ei = wlfw_msa_ready_ind_msg_v01_ei,
/drivers/remoteproc/
Dqcom_sysmon.c276 .ei = ssctl_shutdown_ind_ei,
/drivers/net/ethernet/intel/igb/
Digb.h583 struct e1000_info ei; member
Digb_main.c2372 adapter->ei.get_invariants(hw); in igb_reset()
3006 const struct e1000_info *ei = igb_info_tbl[ent->driver_data]; in igb_probe() local
3085 memcpy(&hw->mac.ops, ei->mac_ops, sizeof(hw->mac.ops)); in igb_probe()
3086 memcpy(&hw->phy.ops, ei->phy_ops, sizeof(hw->phy.ops)); in igb_probe()
3087 memcpy(&hw->nvm.ops, ei->nvm_ops, sizeof(hw->nvm.ops)); in igb_probe()
3089 err = ei->get_invariants(hw); in igb_probe()
3376 adapter->ei = *ei; in igb_probe()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c3535 u8 di0, dq0, ei, eq, fi, fq; in wlc_lcnphy_get_cc() local
3553 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc()
3554 cc.re = (u16) ei; in wlc_lcnphy_get_cc()
3558 wlc_lcnphy_get_radio_loft(pi, &ei, &eq, &fi, &fq); in wlc_lcnphy_get_cc()
/drivers/slimbus/
Dqcom-ngd-ctrl.c430 .ei = slimbus_power_resp_msg_v01_ei,
/drivers/infiniband/hw/hfi1/
Dmad.c2544 } ei; member
3423 memcpy(&rsp->port_rcv_ei.ei.ei1to12.packet_flit1, in pma_get_opa_errorinfo()
3425 memcpy(&rsp->port_rcv_ei.ei.ei1to12.packet_flit2, in pma_get_opa_errorinfo()

12