/kernel/linux/linux-5.10/drivers/regulator/ |
D | max8997-regulator.c | 128 int rid = rdev_get_id(rdev); in max8997_list_voltage_charger_cv() local 130 if (rid != MAX8997_CHARGER_CV) in max8997_list_voltage_charger_cv() 151 int rid = rdev_get_id(rdev); in max8997_list_voltage() local 154 if (rid < 0 || rid >= ARRAY_SIZE(reg_voltage_map)) in max8997_list_voltage() 157 desc = reg_voltage_map[rid]; in max8997_list_voltage() 171 int rid = rdev_get_id(rdev); in max8997_get_enable_register() local 173 switch (rid) { in max8997_get_enable_register() 175 *reg = MAX8997_REG_LDO1CTRL + (rid - MAX8997_LDO1); in max8997_get_enable_register() 216 *mask = 0x01 << (rid - MAX8997_EN32KHZ_AP); in max8997_get_enable_register() 217 *pattern = 0x01 << (rid - MAX8997_EN32KHZ_AP); in max8997_get_enable_register() [all …]
|
D | tps6507x-regulator.c | 216 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled() local 219 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_is_enabled() 222 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_is_enabled() 234 int rid = rdev_get_id(dev); in tps6507x_pmic_enable() local 237 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_enable() 240 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_enable() 247 int rid = rdev_get_id(dev); in tps6507x_pmic_disable() local 250 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_disable() 253 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_disable() 261 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() local [all …]
|
D | tps65218-regulator.c | 79 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_voltage_sel() local 86 switch (rid) { in tps65218_pmic_set_voltage_sel() 102 int rid = rdev_get_id(dev); in tps65218_pmic_enable() local 104 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_enable() 116 int rid = rdev_get_id(dev); in tps65218_pmic_disable() local 118 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_disable() 129 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_enable() local 131 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_enable() 142 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_disable() local 144 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_disable() [all …]
|
D | tps65217-regulator.c | 75 int rid = rdev_get_id(dev); in tps65217_pmic_enable() local 77 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) in tps65217_pmic_enable() 89 int rid = rdev_get_id(dev); in tps65217_pmic_disable() local 91 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) in tps65217_pmic_disable() 104 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_voltage_sel() local 111 switch (rid) { in tps65217_pmic_set_voltage_sel() 125 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_enable() local 127 if (rid > TPS65217_LDO_4) in tps65217_pmic_set_suspend_enable() 138 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_disable() local 140 if (rid > TPS65217_LDO_4) in tps65217_pmic_set_suspend_disable() [all …]
|
D | rn5t618-regulator.c | 25 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ argument 27 .name = #rid, \ 28 .of_match = of_match_ptr(#rid), \ 30 .id = RN5T618_##rid, \
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | hermes.h | 387 int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen, 389 int (*write_ltv)(struct hermes *hw, int bap, u16 rid, 459 static inline int hermes_inquire(struct hermes *hw, u16 rid) in hermes_inquire() argument 461 return hw->ops->cmd_wait(hw, HERMES_CMD_INQUIRE, rid, NULL); in hermes_inquire() 495 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ argument 496 (hw->ops->read_ltv((hw), (bap), (rid), sizeof(*buf), NULL, (buf))) 497 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument 498 (hw->ops->write_ltv((hw), (bap), (rid), \ 501 static inline int hermes_read_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_read_wordrec() argument 507 err = HERMES_READ_RECORD(hw, bap, rid, &rec); in hermes_read_wordrec() [all …]
|
D | hermes.c | 481 static int hermes_read_ltv(struct hermes *hw, int bap, u16 rid, in hermes_read_ltv() argument 492 err = hermes_docmd_wait(hw, HERMES_CMD_ACCESS, rid, NULL); in hermes_read_ltv() 496 err = hermes_bap_seek(hw, bap, rid, 0); in hermes_read_ltv() 510 if (rtype != rid) in hermes_read_ltv() 513 hw->iobase, __func__, rid, rtype); in hermes_read_ltv() 518 HERMES_RECLEN_TO_BYTES(rlength), bufsize, rid, rlength); in hermes_read_ltv() 526 static int hermes_write_ltv(struct hermes *hw, int bap, u16 rid, in hermes_write_ltv() argument 536 err = hermes_bap_seek(hw, bap, rid, 0); in hermes_write_ltv() 541 hermes_write_reg(hw, dreg, rid); in hermes_write_ltv() 548 rid, NULL); in hermes_write_ltv()
|
/kernel/liteos_a/security/vid/ |
D | vid.c | 90 static TimerIdMapNode *FindListNodeByRid(UINT32 rid) in FindListNodeByRid() argument 97 if (rid == idNode->rid) { in FindListNodeByRid() 178 UINT16 AddNodeByRid(UINT16 rid) in AddNodeByRid() argument 184 tmp = FindListNodeByRid(rid); in AddNodeByRid() 203 tmp->rid = rid; in AddNodeByRid() 216 return tmp->rid; in GetRidByVid()
|
D | vid_type.h | 45 UINT16 rid; member
|
D | vid_api.h | 45 UINT16 AddNodeByRid(UINT16 rid);
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/ |
D | core.c | 65 .rid = RDT_RESOURCE_L3, 82 .rid = RDT_RESOURCE_L3DATA, 99 .rid = RDT_RESOURCE_L3CODE, 116 .rid = RDT_RESOURCE_L2, 133 .rid = RDT_RESOURCE_L2DATA, 150 .rid = RDT_RESOURCE_L2CODE, 167 .rid = RDT_RESOURCE_MBA, 922 if (r->rid == RDT_RESOURCE_L3 || in rdt_init_res_defs_intel() 923 r->rid == RDT_RESOURCE_L3DATA || in rdt_init_res_defs_intel() 924 r->rid == RDT_RESOURCE_L3CODE || in rdt_init_res_defs_intel() [all …]
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | mmu_context.h | 135 unsigned long rid; in reload_context() local 140 rid = context << 3; /* make space for encoding the region number */ in reload_context() 144 rr0 = (rid << 8) | (PAGE_SHIFT << 2) | 1; in reload_context()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
D | pci-msi.txt | 34 (rid-base,msi-controller,msi-base,length), where: 36 * rid-base is a single cell describing the first RID matched by the entry. 44 following the rid-base. 46 Any RID r in the interval [rid-base, rid-base + length) is associated with 47 the listed msi-controller, with the msi-specifier (r - rid-base + msi-base).
|
D | pci-iommu.txt | 39 (rid-base,iommu,iommu-base,length). 41 Any RID r in the interval [rid-base, rid-base + length) is associated with 42 the listed IOMMU, with the IOMMU specifier (r - rid-base + iommu-base).
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | hfa384x.h | 816 __le16 rid; member 823 __le16 rid; member 867 __le16 rid; member 1144 u16 rid; member 1382 int hfa384x_drvr_getconfig(struct hfa384x *hw, u16 rid, void *buf, u16 len); 1387 int hfa384x_drvr_setconfig(struct hfa384x *hw, u16 rid, void *buf, u16 len); 1390 hfa384x_drvr_getconfig16(struct hfa384x *hw, u16 rid, void *val) in hfa384x_drvr_getconfig16() argument 1394 result = hfa384x_drvr_getconfig(hw, rid, val, sizeof(u16)); in hfa384x_drvr_getconfig16() 1400 static inline int hfa384x_drvr_setconfig16(struct hfa384x *hw, u16 rid, u16 val) in hfa384x_drvr_setconfig16() argument 1404 return hfa384x_drvr_setconfig(hw, rid, &value, sizeof(value)); in hfa384x_drvr_setconfig16() [all …]
|
D | hfa384x_usb.c | 236 u16 rid, 244 u16 rid, 634 result->rid = le16_to_cpu(rridresp->rid); in usbctlx_get_rridresult() 696 rridresult.rid, in usbctlx_rrid_completor_fn() 1284 u16 rid, in hfa384x_dorrid() argument 1301 cpu_to_le16(sizeof(ctlx->outbuf.rridreq.rid)); in hfa384x_dorrid() 1302 ctlx->outbuf.rridreq.rid = cpu_to_le16(rid); in hfa384x_dorrid() 1366 u16 rid, in hfa384x_dowrid() argument 1383 (ctlx->outbuf.wridreq.rid) + in hfa384x_dowrid() 1385 ctlx->outbuf.wridreq.rid = cpu_to_le16(rid); in hfa384x_dowrid() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 693 uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos, bool startqp) in qla25xx_create_req_que() argument 734 req->rid = rid; in qla25xx_create_req_que() 740 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que() 743 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que() 749 if (MSB(req->rid)) in qla25xx_create_req_que() 752 if (LSB(req->rid)) in qla25xx_create_req_que() 821 uint8_t vp_idx, uint16_t rid, struct qla_qpair *qpair, bool startqp) in qla25xx_create_rsp_que() argument 860 rsp->rid = rid; in qla25xx_create_rsp_que() 865 que_id, rsp->rid, rsp->vp_idx, rsp->hw); in qla25xx_create_rsp_que() 867 if (MSB(rsp->rid)) in qla25xx_create_rsp_que() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 77 (pe->rid & 0xff00) >> 8, in pe_level_printk() 78 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk() 829 long rid_end, rid; in pnv_ioda_deconfigure_pe() local 856 rid_end = pe->rid + (count << 8); in pnv_ioda_deconfigure_pe() 867 rid_end = pe->rid + 1; in pnv_ioda_deconfigure_pe() 871 for (rid = pe->rid; rid < rid_end; rid++) in pnv_ioda_deconfigure_pe() 872 phb->ioda.pe_rmap[rid] = IODA_INVALID_PE; in pnv_ioda_deconfigure_pe() 881 rc = opal_pci_set_pe(phb->opal_id, pe->pe_number, pe->rid, in pnv_ioda_deconfigure_pe() 898 long rc, rid_end, rid; in pnv_ioda_configure_pe() local 924 rid_end = pe->rid + (count << 8); in pnv_ioda_configure_pe() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap.h | 25 int hostap_set_word(struct net_device *dev, int rid, u16 val); 26 int hostap_set_string(struct net_device *dev, int rid, const char *val);
|
D | hostap_common.h | 353 offsetof(struct prism2_hostapd_param, u.rid.data) 388 u16 rid; member 391 } rid; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/ |
D | zd1201.c | 410 static int zd1201_getconfig(struct zd1201 *zd, int rid, void *riddata, in zd1201_getconfig() argument 421 err = zd1201_docmd(zd, ZD1201_CMDCODE_ACCESS, rid, 0, 0); in zd1201_getconfig() 436 if ((code & ZD1201_ACCESSBIT) != ZD1201_ACCESSBIT || rid_fid != rid ) in zd1201_getconfig() 442 riddatalen, zd->rxlen, length, rid, rid_fid); in zd1201_getconfig() 448 err = zd1201_docmd(zd, ZD1201_CMDCODE_SETRXRID, rid, 0, length); in zd1201_getconfig() 510 static int zd1201_setconfig(struct zd1201 *zd, int rid, void *buf, int len, int wait) in zd1201_setconfig() argument 541 *(__le16*)&request[6] = cpu_to_le16(rid); in zd1201_setconfig() 569 *((__le16*)&request[6]) = cpu_to_le16(rid); in zd1201_setconfig() 580 if (!zd->rxlen || le16_to_cpu(*(__le16*)&zd->rxdata[6]) != rid) { in zd1201_setconfig() 592 static inline int zd1201_getconfig16(struct zd1201 *zd, int rid, short *val) in zd1201_getconfig16() argument [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
D | dca.c | 83 u16 rid; /* requester id, as used by IOAT */ member 135 ioatdca->req_slots[i].rid = id; in ioat_dca_add_requester() 166 ioatdca->req_slots[i].rid = 0; in ioat_dca_remove_requester()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | msi.c | 1577 u32 rid = pci_dev_id(pdev); in pci_msi_domain_get_msi_rid() local 1579 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_domain_get_msi_rid() 1582 rid = of_node ? of_msi_map_id(&pdev->dev, of_node, rid) : in pci_msi_domain_get_msi_rid() 1583 iort_msi_map_id(&pdev->dev, rid); in pci_msi_domain_get_msi_rid() 1585 return rid; in pci_msi_domain_get_msi_rid() 1600 u32 rid = pci_dev_id(pdev); in pci_msi_get_device_domain() local 1602 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_get_device_domain() 1603 dom = of_msi_map_get_device_domain(&pdev->dev, rid, DOMAIN_BUS_PCI_MSI); in pci_msi_get_device_domain() 1605 dom = iort_get_device_domain(&pdev->dev, rid, in pci_msi_get_device_domain()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 184 bfi_msgq_mhdr_set(req->mh, BFI_MC_ENET, req_type, 0, rxf->rx->rid); in bna_bfi_ucast_req() 200 0, rxf->rx->rid); in bna_bfi_mcast_add_req() 216 0, rxf->rx->rid); in bna_bfi_mcast_del_req() 231 BFI_ENET_H2I_MAC_MCAST_FILTER_REQ, 0, rxf->rx->rid); in bna_bfi_mcast_filter_req() 246 BFI_ENET_H2I_RX_PROMISCUOUS_REQ, 0, rxf->rx->rid); in bna_bfi_rx_promisc_req() 263 BFI_ENET_H2I_RX_VLAN_SET_REQ, 0, rxf->rx->rid); in bna_bfi_rx_vlan_filter_set() 286 BFI_ENET_H2I_RX_VLAN_STRIP_ENABLE_REQ, 0, rxf->rx->rid); in bna_bfi_vlan_strip_enable() 301 BFI_ENET_H2I_RIT_CFG_REQ, 0, rxf->rx->rid); in bna_bfi_rit_cfg() 318 BFI_ENET_H2I_RSS_CFG_REQ, 0, rxf->rx->rid); in bna_bfi_rss_cfg() 337 BFI_ENET_H2I_RSS_ENABLE_REQ, 0, rxf->rx->rid); in bna_bfi_rss_enable() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
D | vmci_resource.c | 48 u32 rid = r->handle.resource; in vmci_resource_lookup() local 51 rid == handle.resource && in vmci_resource_lookup()
|