Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 25 of 140) sorted by relevance

123456

/linux/drivers/regulator/
A Dmax8997-regulator.c154 if (rid < 0 || rid >= ARRAY_SIZE(reg_voltage_map)) in max8997_list_voltage()
173 switch (rid) { in max8997_get_enable_register()
293 switch (rid) { in max8997_get_voltage_register()
457 switch (rid) { in max8997_set_voltage_ldobuck()
503 switch (rid) { in max8997_set_voltage_buck_time_sel()
518 switch (rid) { in max8997_set_voltage_buck_time_sel()
553 rid = 0; in max8997_assess_side_effect()
556 rid = 1; in max8997_assess_side_effect()
559 rid = 2; in max8997_assess_side_effect()
624 if (rid < MAX8997_BUCK1 || rid > MAX8997_BUCK7) in max8997_set_voltage_buck()
[all …]
A 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()
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()
261 int data, rid = rdev_get_id(dev); in tps6507x_pmic_get_voltage_sel() local
264 switch (rid) { in tps6507x_pmic_get_voltage_sel()
307 int data, rid = rdev_get_id(dev); in tps6507x_pmic_set_voltage_sel() local
[all …]
A 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()
131 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_enable()
144 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_disable()
155 if (!tps->strobes[rid]) { in tps65218_pmic_set_suspend_disable()
156 if (rid == TPS65218_DCDC_3) in tps65218_pmic_set_suspend_disable()
[all …]
A 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 …]
A 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()
166 rid = &h->rdata; in regulator_notifier_isr()
167 num_rdevs = rid->num_states; in regulator_notifier_isr()
240 stat = &rid->states[i]; in regulator_notifier_isr()
[all …]
A Dbd9576-regulator.c738 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_renable()
744 if (rid->opaque && rid->opaque == (val & mask)) { in bd9576_renable()
753 rid->opaque = 0; in bd9576_renable()
773 return bd9576_renable(rid, BD957X_REG_INT_THERM_STAT, in bd9576_temp_renable()
781 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_uvd_handler()
789 rid->opaque = val & UVD_IRQ_VALID_MASK; in bd9576_uvd_handler()
809 stat = &rid->states[i]; in bd9576_uvd_handler()
825 struct bd957x_data *d = (struct bd957x_data *)rid->data; in bd9576_ovd_handler()
831 rid->opaque = val & OVD_IRQ_VALID_MASK; in bd9576_ovd_handler()
846 stat = &rid->states[i]; in bd9576_ovd_handler()
[all …]
A 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()
A Drt4831-regulator.c51 int rid = rdev_get_id(rdev); in rt4831_get_error_flags() local
62 if (rid == DSV_OUT_VLCM && (val & RT4831_LCMOVP_MASK)) in rt4831_get_error_flags()
65 if (rid == DSV_OUT_VPOS && (val & RT4831_VPOSSCP_MASK)) in rt4831_get_error_flags()
68 if (rid == DSV_OUT_VNEG && (val & RT4831_VNEGSCP_MASK)) in rt4831_get_error_flags()
A Drn5t618-regulator.c25 #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, \
A Dbd71815-regulator.c297 int rid = rdev_get_id(rdev); in bd7181x_buck12_get_voltage_sel() local
300 regh = BD71815_REG_BUCK1_VOLT_H + rid * 0x2; in bd7181x_buck12_get_voltage_sel()
301 regl = BD71815_REG_BUCK1_VOLT_L + rid * 0x2; in bd7181x_buck12_get_voltage_sel()
329 int rid = rdev_get_id(rdev); in bd7181x_buck12_set_voltage_sel() local
332 regh = BD71815_REG_BUCK1_VOLT_H + rid*0x2; in bd7181x_buck12_set_voltage_sel()
333 regl = BD71815_REG_BUCK1_VOLT_L + rid*0x2; in bd7181x_buck12_set_voltage_sel()
A Drtq2134-regulator.c168 int rid = rdev_get_id(rdev); in rtq2134_buck_get_error_flags() local
179 ret = regmap_read(rdev->regmap, RTQ2134_REG_FLT_RECORDBUCK(rid), in rtq2134_buck_get_error_flags()
240 int rid = desc->id; in rtq2134_buck_of_parse_cb() local
262 return regmap_update_bits(cfg->regmap, RTQ2134_REG_FLT_BUCKCTRL(rid), in rtq2134_buck_of_parse_cb()
/linux/drivers/net/wireless/intersil/orinoco/
A Dhermes.h389 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
499 #define HERMES_READ_RECORD_PR(hw, bap, rid, buf) \ argument
501 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument
502 (hw->ops->write_ltv((hw), (bap), (rid), \
511 err = HERMES_READ_RECORD(hw, bap, rid, &rec); in hermes_read_wordrec()
522 err = HERMES_READ_RECORD_PR(hw, bap, rid, &rec); in hermes_read_wordrec_pr()
[all …]
A Dhermes.c480 static int hermes_read_ltv(struct hermes *hw, int bap, u16 rid, in hermes_read_ltv() argument
491 err = hermes_docmd_wait(hw, HERMES_CMD_ACCESS, rid, NULL); in hermes_read_ltv()
495 err = hermes_bap_seek(hw, bap, rid, 0); in hermes_read_ltv()
509 if (rtype != rid) in hermes_read_ltv()
512 hw->iobase, __func__, rid, rtype); in hermes_read_ltv()
517 HERMES_RECLEN_TO_BYTES(rlength), bufsize, rid, rlength); in hermes_read_ltv()
525 static int hermes_write_ltv(struct hermes *hw, int bap, u16 rid, in hermes_write_ltv() argument
535 err = hermes_bap_seek(hw, bap, rid, 0); in hermes_write_ltv()
540 hermes_write_reg(hw, dreg, rid); in hermes_write_ltv()
547 rid, NULL); in hermes_write_ltv()
A Dorinoco_usb.c751 req->hermes_rid = cpu_to_le16(rid); in ezusb_fill_req()
971 static int __ezusb_write_ltv(struct hermes *hw, int bap, u16 rid, in __ezusb_write_ltv() argument
989 ctx = ezusb_alloc_ctx(upriv, rid, EZUSB_RID_ACK); in __ezusb_write_ltv()
993 if (rid == EZUSB_RID_TX) in __ezusb_write_ltv()
1002 static int ezusb_write_ltv(struct hermes *hw, int bap, u16 rid, in ezusb_write_ltv() argument
1005 return __ezusb_write_ltv(hw, bap, rid, length, data, in ezusb_write_ltv()
1009 static int __ezusb_read_ltv(struct hermes *hw, int bap, u16 rid, in __ezusb_read_ltv() argument
1020 ctx = ezusb_alloc_ctx(upriv, rid, rid); in __ezusb_read_ltv()
1028 static int ezusb_read_ltv(struct hermes *hw, int bap, u16 rid, in ezusb_read_ltv() argument
1031 return __ezusb_read_ltv(hw, bap, rid, bufsize, length, buf, in ezusb_read_ltv()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu.h777 ((rid == 0xE3) || \
778 (rid == 0xE4) || \
779 (rid == 0xE5) || \
780 (rid == 0xE7) || \
783 ((rid == 0xE7) || \
785 (rid == 0xFF))))
788 ((rid == 0xE1) || \
789 (rid == 0xF7)))
798 (rid == 0xFF))))
801 ((rid == 0xE2)))
[all …]
/linux/arch/x86/hyperv/
A Dirqdomain.c97 u32 rid; member
103 u8 bus = PCI_BUS_NUM(rd->rid); in get_rid_cb()
107 rd->rid = alias; in get_rid_cb()
118 .rid = PCI_DEVID(dev->bus->number, dev->devfn) in hv_build_pci_dev_id()
127 dev_id.pci.bdf.bus = PCI_BUS_NUM(data.rid); in hv_build_pci_dev_id()
128 dev_id.pci.bdf.device = PCI_SLOT(data.rid); in hv_build_pci_dev_id()
129 dev_id.pci.bdf.function = PCI_FUNC(data.rid); in hv_build_pci_dev_id()
/linux/drivers/net/ethernet/intel/ice/
A Dice_switch.c1252 tmp[0].recipe_indx = rid; in ice_get_recp_frm_fw()
1364 recps[rid].n_grp_count * sizeof(*recps[rid].root_buf), in ice_get_recp_frm_fw()
1366 if (!recps[rid].root_buf) { in ice_get_recp_frm_fw()
4269 u16 rid, i; in ice_add_sw_recipe() local
4279 buf[recps].content.rid = (u8)rid; in ice_add_sw_recipe()
4291 last_chain_entry->rid = rid; in ice_add_sw_recipe()
4329 rm->root_rid = (u8)rid; in ice_add_sw_recipe()
4704 *rid = rm->root_rid; in ice_add_adv_recipe()
5244 added_entry->rid = rid; in ice_add_adv_rule()
5357 added_entry->rid = rid; in ice_add_adv_rule()
[all …]
/linux/drivers/staging/wlan-ng/
A Dhfa384x.h803 __le16 rid; member
810 __le16 rid; member
854 __le16 rid; member
1131 u16 rid; member
1369 int hfa384x_drvr_getconfig(struct hfa384x *hw, u16 rid, void *buf, u16 len);
1377 hfa384x_drvr_getconfig16(struct hfa384x *hw, u16 rid, void *val) in hfa384x_drvr_getconfig16() argument
1381 result = hfa384x_drvr_getconfig(hw, rid, val, sizeof(u16)); in hfa384x_drvr_getconfig16()
1391 return hfa384x_drvr_setconfig(hw, rid, &value, sizeof(value)); in hfa384x_drvr_setconfig16()
1396 u16 rid,
1401 hfa384x_drvr_setconfig16_async(struct hfa384x *hw, u16 rid, u16 val) in hfa384x_drvr_setconfig16_async() argument
[all …]
A Dhfa384x_usb.c236 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 …]
/linux/Documentation/devicetree/bindings/pci/
A Dpci-msi.txt34 (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).
A Dpci-iommu.txt39 (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).
/linux/drivers/scsi/qla2xxx/
A Dqla_mid.c706 uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos, bool startqp) in qla25xx_create_req_que() argument
747 req->rid = rid; in qla25xx_create_req_que()
753 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que()
756 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que()
762 if (MSB(req->rid)) in qla25xx_create_req_que()
765 if (LSB(req->rid)) in qla25xx_create_req_que()
834 uint8_t vp_idx, uint16_t rid, struct qla_qpair *qpair, bool startqp) in qla25xx_create_rsp_que() argument
873 rsp->rid = rid; in qla25xx_create_rsp_que()
878 que_id, rsp->rid, rsp->vp_idx, rsp->hw); in qla25xx_create_rsp_que()
880 if (MSB(rsp->rid)) in qla25xx_create_rsp_que()
[all …]
/linux/arch/ia64/include/asm/
A Dmmu_context.h125 unsigned long rid; in reload_context() local
130 rid = context << 3; /* make space for encoding the region number */ in reload_context()
134 rr0 = (rid << 8) | (PAGE_SHIFT << 2) | 1; in reload_context()
/linux/arch/x86/kernel/cpu/resctrl/
A Dcore.c66 .rid = RDT_RESOURCE_L3,
83 .rid = RDT_RESOURCE_L2,
100 .rid = RDT_RESOURCE_MBA,
875 if (r->rid == RDT_RESOURCE_L3 || in rdt_init_res_defs_intel()
876 r->rid == RDT_RESOURCE_L2) { in rdt_init_res_defs_intel()
880 } else if (r->rid == RDT_RESOURCE_MBA) { in rdt_init_res_defs_intel()
895 if (r->rid == RDT_RESOURCE_L3 || in rdt_init_res_defs_amd()
896 r->rid == RDT_RESOURCE_L2) { in rdt_init_res_defs_amd()
900 } else if (r->rid == RDT_RESOURCE_MBA) { in rdt_init_res_defs_amd()
/linux/drivers/net/wireless/zydas/
A Dzd1201.c421 err = zd1201_docmd(zd, ZD1201_CMDCODE_ACCESS, rid, 0, 0); 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()
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()
597 err = zd1201_getconfig(zd, rid, &zdval, sizeof(__le16)); in zd1201_getconfig16()
607 return (zd1201_setconfig(zd, rid, &zdval, sizeof(__le16), 1)); in zd1201_setconfig16()
1394 int err, rid; in zd1201_set_encode() local
1413 rid = ZD1201_RID_CNFDEFAULTKEY0 + i; in zd1201_set_encode()
[all …]

Completed in 92 milliseconds

123456