| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | rk806-regulator.c | 258 int rid = rdev_get_id(rdev); in rk806_dvs_start_fun_init() local 261 pdata->dvs_ctrl_id[rid], in rk806_dvs_start_fun_init() 262 pdata->dvs_ctrl_mode[rid]); in rk806_dvs_start_fun_init() 269 int rid = rdev_get_id(rdev); in rk806_dvs_pwrctrl_fun_init() local 273 offset = pdata->dvs_ctrl_mode[rid] - RK806_DVS_PWRCTRL1; in rk806_dvs_pwrctrl_fun_init() 277 pdata->dvs_ctrl_id[rid], in rk806_dvs_pwrctrl_fun_init() 278 pdata->dvs_ctrl_mode[rid] - RK806_DVS_START3); in rk806_dvs_pwrctrl_fun_init() 285 int rid = rdev_get_id(rdev); in rk806_dvs_start_pwrctrl_fun_init() local 289 offset = pdata->dvs_ctrl_mode[rid] - RK806_DVS_START_PWRCTR1; in rk806_dvs_start_pwrctrl_fun_init() 296 pdata->dvs_ctrl_id[rid], in rk806_dvs_start_pwrctrl_fun_init() [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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, \
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/ |
| H A D | pci-msi.txt | 5 (AKA RID). A Requester ID is a triplet of a Bus number, Device number, and 8 For the purpose of this document, when treated as a numeric value, a RID is 34 (rid-base,msi-controller,msi-base,length), where: 36 * rid-base is a single cell describing the first RID matched by the entry. 41 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). 80 * the RID, identity-mapped. 108 * the RID, masked to only the device and function bits. [all …]
|
| H A D | pci-iommu.txt | 5 ID (AKA RID). A Requester ID is a triplet of a Bus number, Device number, and 8 For the purpose of this document, when treated as a numeric value, a RID is 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). 67 * The sideband data provided to the IOMMU is the RID, 94 * The sideband data provided to the IOMMU is the RID with the 122 * The sideband data provided to the IOMMU is the RID, 163 * a, with sideband data being RID[14:0]. 165 * IOMMU b, with sideband data being RID[14:0].
|
| /OK3568_Linux_fs/external/xserver/xfixes/ |
| H A D | xfixes.h | 35 #define VERIFY_REGION(pRegion, rid, client, mode) \ argument 38 err = dixLookupResourceByType((void **) &pRegion, rid, \ 41 client->errorValue = rid; \ 46 #define VERIFY_REGION_OR_NONE(pRegion, rid, client, mode) { \ argument 48 if (rid) VERIFY_REGION(pRegion, rid, client, mode); \
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/resctrl/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/psensor/ |
| H A D | ps_ap321xx.c | 144 int rid = i2c_smbus_read_byte_data(client, 0x05); in ap321xx_product_detect() local 147 (rid == 0x03 || rid == 0x04) ) in ap321xx_product_detect() 149 //printk("RevID [%d], ==> DA3212 v1.5~1.8 ...... AP3212B detected\n", rid); in ap321xx_product_detect() 151 else if ( (mid == 0x01 && pid == 0x02 && rid == 0x00) || in ap321xx_product_detect() 152 (mid == 0x02 && pid == 0x02 && rid == 0x01)) in ap321xx_product_detect() 154 //printk("RevID [%d], ==> DA3212 v2.0 ...... AP3212C/AP3216C detected\n", rid); in ap321xx_product_detect() 158 …intk("MakeID[%d] ProductID[%d] RevID[%d] .... can't detect ... bad reversion!!!\n", mid, pid, rid); in ap321xx_product_detect()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/c-family/ |
| H A D | c-common.h | 63 enum rid enum 269 #define OBJC_IS_AT_KEYWORD(rid) \ argument 270 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_AT && \ 271 (unsigned int) (rid) <= (unsigned int) RID_LAST_AT) 273 #define OBJC_IS_PQ_KEYWORD(rid) \ argument 274 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PQ && \ 275 (unsigned int) (rid) <= (unsigned int) RID_LAST_PQ) 277 #define OBJC_IS_PATTR_KEYWORD(rid) \ argument 278 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PATTR && \ 279 (unsigned int) (rid) <= (unsigned int) RID_LAST_PATTR) [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/c-family/ |
| H A D | c-common.h | 63 enum rid enum 269 #define OBJC_IS_AT_KEYWORD(rid) \ argument 270 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_AT && \ 271 (unsigned int) (rid) <= (unsigned int) RID_LAST_AT) 273 #define OBJC_IS_PQ_KEYWORD(rid) \ argument 274 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PQ && \ 275 (unsigned int) (rid) <= (unsigned int) RID_LAST_PQ) 277 #define OBJC_IS_PATTR_KEYWORD(rid) \ argument 278 ((unsigned int) (rid) >= (unsigned int) RID_FIRST_PATTR && \ 279 (unsigned int) (rid) <= (unsigned int) RID_LAST_PATTR) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/orinoco/ |
| H A 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 …]
|
| H A 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() 512 "rid (0x%04x) does not match type (0x%04x)\n", in hermes_read_ltv() 513 hw->iobase, __func__, rid, rtype); in hermes_read_ltv() 517 "(rid=0x%04x, len=0x%04x)\n", hw->iobase, 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/lsensor/ |
| H A D | ls_ap321xx.c | 209 int rid = i2c_smbus_read_byte_data(client, 0x05); in ap321xx_product_detect() local 212 (rid == 0x03 || rid == 0x04) ) in ap321xx_product_detect() 214 //printk("RevID [%d], ==> DA3212 v1.5~1.8 ...... AP3212B detected\n", rid); in ap321xx_product_detect() 216 else if ( (mid == 0x01 && pid == 0x02 && rid == 0x00) || in ap321xx_product_detect() 217 (mid == 0x02 && pid == 0x02 && rid == 0x01)) in ap321xx_product_detect() 219 //printk("RevID [%d], ==> DA3212 v2.0 ...... AP3212C/AP3216C detected\n", rid); in ap321xx_product_detect() 223 …intk("MakeID[%d] ProductID[%d] RevID[%d] .... can't detect ... bad reversion!!!\n", mid, pid, rid); in ap321xx_product_detect()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/ |
| H A 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() 739 "queue_id=%d rid=%d vp_idx=%d qos=%d.\n", in qla25xx_create_req_que() 740 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que() 742 "queue_id=%d rid=%d vp_idx=%d qos=%d.\n", 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() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | pci.h | 42 * requests aren't tagged with the RID. To work around this the PCIe-to-PCI 43 * bridge will use (secondary_bus_no << 8) | 0x00 as the RID on the PCIe side. 46 * a RID in the transaction header. The PCIe-to-X bridge is permitted to "take 74 /* Effective RID (device RID for a device PE and base bus 75 * RID with devfn 0 for a bus PE) 77 unsigned int rid; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/ |
| H A D | prism2mib.c | 77 #define MIB_TMP_MAXLEN 200 /* Max length of RID record (in bytes). */ 349 * parm1 Prism2 RID value. 350 * parm2 Number of bytes of RID data. 399 * parm1 Prism2 RID value. 446 * parm1 Prism2 RID value. 503 * parm1 Prism2 RID value. 504 * parm2 Number of bytes of RID data. 553 * parm1 Prism2 RID value. 595 * parm1 Prism2 RID value.
|
| H A D | hfa384x.h | 192 * Configuration RID lengths: Network Params, Static Config Entities 193 * This is the length of JUST the DATA part of the RID (does not 230 * Information RID Lengths: NIC Information 231 * This is the length of JUST the DATA part of the RID (does not 252 * Information RID Lengths: MAC Information 253 * This is the length of JUST the DATA part of the RID (does not 816 __le16 rid; member 823 __le16 rid; member 867 __le16 rid; member 1144 u16 rid; member [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/zydas/ |
| H A 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() 441 …dev_dbg(&zd->usb->dev, "riddatalen mismatches, expected=%u, (packet=%u) length=%u, rid=0x%04X, 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() 452 /* Receive RID record from resource packets */ in zd1201_getconfig() 483 /* Skip the 4 bytes header (RID length and RID) */ 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() [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ |
| H A D | mmu_context.h | 43 unsigned long *flushmap;/* pending rid to be flushed */ 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()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-loongson64/ |
| H A D | loongson_regs.h | 232 int rID = 0; in drdtime() local 236 "parse_r rID,%0\n\t" in drdtime() 239 ".word (0xc8090118 | (rID << 21) | (val << 11))\n\t" in drdtime() 240 :"=r"(rID),"=r"(val) in drdtime()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/ |
| H A D | TODO | 60 8) Get rid of custom function return values 83 12) Get rid of all the struct typedefs 87 13) Get rid of all non essential global structures and create a proper per
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | msi.c | 1544 * alias device or RID appears on a different bus number. We also make the 1547 * case is that of PCI->PCIe so we should always use the alias RID. This echoes 1564 * pci_msi_domain_get_msi_rid - Get the MSI requester id (RID) 1568 * The RID for a device is formed from the alias, with a firmware 1571 * Returns: The RID. 1576 u32 rid = pci_dev_id(pdev); in pci_msi_domain_get_msi_rid() local 1578 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_domain_get_msi_rid() 1581 rid = of_node ? of_msi_map_id(&pdev->dev, of_node, rid) : in pci_msi_domain_get_msi_rid() 1582 iort_msi_map_id(&pdev->dev, rid); in pci_msi_domain_get_msi_rid() 1584 return rid; in pci_msi_domain_get_msi_rid() [all …]
|