Home
last modified time | relevance | path

Searched full:rid (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/kernel/linux/linux-6.6/drivers/regulator/
Drt5120-regulator.c23 #define RT5120_OUTPG_MASK(rid) BIT(rid + 1) argument
24 #define RT5120_OUTUV_MASK(rid) BIT(rid + 9) argument
25 #define RT5120_OUTOV_MASK(rid) BIT(rid + 16) argument
27 #define RT5120_RIDEN_MASK(rid) BIT(rid + 1) argument
28 #define RT5120_RADEN_MASK(rid) BIT(rid) argument
29 #define RT5120_FPWM_MASK(rid) BIT(rid + 1) argument
61 int rid = rdev_get_id(rdev); in rt5120_buck_set_mode() local
62 unsigned int mask = RT5120_FPWM_MASK(rid), val; in rt5120_buck_set_mode()
69 val = RT5120_FPWM_MASK(rid); in rt5120_buck_set_mode()
81 int ret, rid = rdev_get_id(rdev); in rt5120_buck_get_mode() local
[all …]
Dmax8997-regulator.c128 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 …]
Dtps6507x-regulator.c208 int data, rid = rdev_get_id(dev); in tps6507x_pmic_is_enabled() local
211 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_is_enabled()
214 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_is_enabled()
226 int rid = rdev_get_id(dev); in tps6507x_pmic_enable() local
229 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_enable()
232 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_enable()
239 int rid = rdev_get_id(dev); in tps6507x_pmic_disable() local
242 if (rid < TPS6507X_DCDC_1 || rid > TPS6507X_LDO_2) in tps6507x_pmic_disable()
245 shift = TPS6507X_MAX_REG_ID - rid; in tps6507x_pmic_disable()
253 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() local
[all …]
Dirq_helpers.c53 struct regulator_irq_data *rid; in regulator_notifier_isr_work() local
61 rid = &h->rdata; in regulator_notifier_isr_work()
62 num_rdevs = rid->num_states; in regulator_notifier_isr_work()
69 ret = d->die(rid); in regulator_notifier_isr_work()
86 ret = d->renable(rid); in regulator_notifier_isr_work()
107 stat = &rid->states[i]; in regulator_notifier_isr_work()
132 stat = &rid->states[i]; in regulator_notifier_isr_work()
160 struct regulator_irq_data *rid; in regulator_notifier_isr() local
166 rid = &h->rdata; in regulator_notifier_isr()
167 num_rdevs = rid->num_states; in regulator_notifier_isr()
[all …]
Drt5190a-regulator.c29 #define RT5190A_RID_BITMASK(rid) BIT(rid + 1) argument
62 int rid = rdev_get_id(rdev); in rt5190a_get_error_flags() local
70 if (!(pgood_stat & RT5190A_RID_BITMASK(rid))) in rt5190a_get_error_flags()
82 int rid = rdev_get_id(rdev); in rt5190a_fixed_buck_set_mode() local
83 unsigned int mask = RT5190A_RID_BITMASK(rid), val; in rt5190a_fixed_buck_set_mode()
102 int rid = rdev_get_id(rdev); in rt5190a_fixed_buck_get_mode() local
112 if (val & RT5190A_RID_BITMASK(rid)) in rt5190a_fixed_buck_get_mode()
218 static int rt5190a_of_parse_cb(struct rt5190a_priv *priv, int rid, in rt5190a_of_parse_cb() argument
221 struct regulator_desc *desc = priv->rdesc + rid; in rt5190a_of_parse_cb()
225 unsigned int mask = RT5190A_RID_BITMASK(rid), val; in rt5190a_of_parse_cb()
[all …]
Dtps65218-regulator.c71 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_voltage_sel() local
78 switch (rid) { in tps65218_pmic_set_voltage_sel()
94 int rid = rdev_get_id(dev); in tps65218_pmic_enable() local
96 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_enable()
108 int rid = rdev_get_id(dev); in tps65218_pmic_disable() local
110 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_disable()
121 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_enable() local
123 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_enable()
134 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_disable() local
136 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_disable()
[all …]
Dtps65217-regulator.c67 int rid = rdev_get_id(dev); in tps65217_pmic_enable() local
69 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) in tps65217_pmic_enable()
81 int rid = rdev_get_id(dev); in tps65217_pmic_disable() local
83 if (rid < TPS65217_DCDC_1 || rid > TPS65217_LDO_4) in tps65217_pmic_disable()
96 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_voltage_sel() local
103 switch (rid) { in tps65217_pmic_set_voltage_sel()
117 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_enable() local
119 if (rid > TPS65217_LDO_4) in tps65217_pmic_set_suspend_enable()
130 unsigned int rid = rdev_get_id(dev); in tps65217_pmic_set_suspend_disable() local
132 if (rid > TPS65217_LDO_4) in tps65217_pmic_set_suspend_disable()
[all …]
Dbd9576-regulator.c736 static int bd9576_renable(struct regulator_irq_data *rid, int reg, int mask) in bd9576_renable() argument
739 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_renable()
745 if (rid->opaque && rid->opaque == (val & mask)) { in bd9576_renable()
754 rid->opaque = 0; in bd9576_renable()
762 static int bd9576_uvd_renable(struct regulator_irq_data *rid) in bd9576_uvd_renable() argument
764 return bd9576_renable(rid, BD957X_REG_INT_UVD_STAT, UVD_IRQ_VALID_MASK); in bd9576_uvd_renable()
767 static int bd9576_ovd_renable(struct regulator_irq_data *rid) in bd9576_ovd_renable() argument
769 return bd9576_renable(rid, BD957X_REG_INT_OVD_STAT, OVD_IRQ_VALID_MASK); in bd9576_ovd_renable()
772 static int bd9576_temp_renable(struct regulator_irq_data *rid) in bd9576_temp_renable() argument
774 return bd9576_renable(rid, BD957X_REG_INT_THERM_STAT, in bd9576_temp_renable()
[all …]
Drtq6752-regulator.c54 int rid = rdev_get_id(rdev), ret; in rtq6752_set_vdd_enable() local
73 priv->enable_flag |= BIT(rid); in rtq6752_set_vdd_enable()
82 int rid = rdev_get_id(rdev), ret; in rtq6752_set_vdd_disable() local
89 priv->enable_flag &= ~BIT(rid); in rtq6752_set_vdd_disable()
110 int rid = rdev_get_id(rdev), ret; in rtq6752_get_error_flags() local
116 if (val & fault_mask[rid]) in rtq6752_get_error_flags()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dpci-msi.txt5 (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 …]
Dpci-iommu.txt5 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].
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dpci-msi.txt5 (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 …]
Dpci-iommu.txt5 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].
/kernel/linux/linux-5.10/drivers/regulator/
Dmax8997-regulator.c128 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 …]
Dtps6507x-regulator.c216 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 …]
Dtps65218-regulator.c79 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 …]
Dtps65217-regulator.c75 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Drenesas,rz-ssi.yaml62 The second cell specifies the encoded MID/RID values of the SSI port
65 bits[0:9] - Specifies MID/RID value of a SSI channel as below
66 MID/RID value of SSI rx0 = 0x256
67 MID/RID value of SSI tx0 = 0x255
68 MID/RID value of SSI rx1 = 0x25a
69 MID/RID value of SSI tx1 = 0x259
70 MID/RID value of SSI rt2 = 0x25f
71 MID/RID value of SSI rx3 = 0x262
72 MID/RID value of SSI tx3 = 0x261
/kernel/linux/linux-6.6/drivers/pci/msi/
Dirqdomain.c422 * alias device or RID appears on a different bus number. We also make the
425 * case is that of PCI->PCIe so we should always use the alias RID. This echoes
442 * pci_msi_domain_get_msi_rid - Get the MSI requester id (RID)
446 * The RID for a device is formed from the alias, with a firmware
449 * Returns: The RID.
454 u32 rid = pci_dev_id(pdev); in pci_msi_domain_get_msi_rid() local
456 pci_for_each_dma_alias(pdev, get_msi_id_cb, &rid); in pci_msi_domain_get_msi_rid()
459 rid = of_node ? of_msi_map_id(&pdev->dev, of_node, rid) : in pci_msi_domain_get_msi_rid()
460 iort_msi_map_id(&pdev->dev, rid); in pci_msi_domain_get_msi_rid()
462 return rid; in pci_msi_domain_get_msi_rid()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
Dhermes.h387 int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen,
389 int (*read_ltv_pr)(struct hermes *hw, int bap, u16 rid,
391 int (*write_ltv)(struct hermes *hw, int bap, u16 rid,
461 static inline int hermes_inquire(struct hermes *hw, u16 rid) in hermes_inquire() argument
463 return hw->ops->cmd_wait(hw, HERMES_CMD_INQUIRE, rid, NULL); in hermes_inquire()
497 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ argument
498 (hw->ops->read_ltv((hw), (bap), (rid), sizeof(*buf), NULL, (buf)))
499 #define HERMES_READ_RECORD_PR(hw, bap, rid, buf) \ argument
500 (hw->ops->read_ltv_pr((hw), (bap), (rid), sizeof(*buf), NULL, (buf)))
501 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument
[all …]
/kernel/liteos_a/security/vid/
Dvid.c90 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()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
Dcore.c65 .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-6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h700 #define ASICID_IS_P20(did, rid) (((did == 0x67DF) && \ argument
701 ((rid == 0xE3) || \
702 (rid == 0xE4) || \
703 (rid == 0xE5) || \
704 (rid == 0xE7) || \
705 (rid == 0xEF))) || \
707 ((rid == 0xE7) || \
708 (rid == 0xEF) || \
709 (rid == 0xFF))))
711 #define ASICID_IS_P30(did, rid) ((did == 0x67DF) && \ argument
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
Dtc.c689 struct efx_tc_recirc_id *rid, *old; in efx_tc_get_recirc_id() local
692 rid = kzalloc(sizeof(*rid), GFP_USER); in efx_tc_get_recirc_id()
693 if (!rid) in efx_tc_get_recirc_id()
695 rid->chain_index = chain_index; in efx_tc_get_recirc_id()
700 rid->net_dev = net_dev; in efx_tc_get_recirc_id()
702 &rid->linkage, in efx_tc_get_recirc_id()
706 kfree(rid); in efx_tc_get_recirc_id()
712 rid = old; in efx_tc_get_recirc_id()
717 &rid->linkage, in efx_tc_get_recirc_id()
719 kfree(rid); in efx_tc_get_recirc_id()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dhermes.h387 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 …]

12345678910>>...37