| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_relay.c | 88 u32 rid; in relay_get_next_rid() local 91 rid = ++relay->last_rid; in relay_get_next_rid() 94 return rid; in relay_get_next_rid() 136 /** @rid: identifier of the VF/PF relay message. */ 137 u32 rid; member 196 static u32 prepare_pf2guc(u32 *msg, u32 target, u32 rid) in prepare_pf2guc() argument 202 msg[2] = FIELD_PREP(PF2GUC_RELAY_TO_VF_REQUEST_MSG_2_RELAY_ID, rid); in prepare_pf2guc() 207 static u32 prepare_vf2guc(u32 *msg, u32 rid) in prepare_vf2guc() argument 212 msg[1] = FIELD_PREP(VF2GUC_RELAY_TO_PF_REQUEST_MSG_1_RELAY_ID, rid); in prepare_vf2guc() 218 __relay_get_transaction(struct xe_guc_relay *relay, bool incoming, u32 remote, u32 rid, in __relay_get_transaction() argument [all …]
|
| /linux/drivers/regulator/ |
| H A D | tps6507x-regulator.c | 208 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 …]
|
| H A D | rt5190a-regulator.c | 29 #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 …]
|
| H A D | tps65218-regulator.c | 70 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_voltage_sel() local 77 switch (rid) { in tps65218_pmic_set_voltage_sel() 93 int rid = rdev_get_id(dev); in tps65218_pmic_enable() local 95 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_enable() 107 int rid = rdev_get_id(dev); in tps65218_pmic_disable() local 109 if (rid < TPS65218_DCDC_1 || rid > TPS65218_LDO_1) in tps65218_pmic_disable() 120 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_enable() local 122 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_enable() 133 unsigned int rid = rdev_get_id(dev); in tps65218_pmic_set_suspend_disable() local 135 if (rid > TPS65218_LDO_1) in tps65218_pmic_set_suspend_disable() [all …]
|
| H A D | tps65217-regulator.c | 67 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 …]
|
| H A D | mt6370-regulator.c | 76 int rid = rdev_get_id(rdev), ret; in mt6370_get_error_flags() local 78 if (rid == MT6370_IDX_VIBLDO) in mt6370_get_error_flags() 87 switch (rid) { in mt6370_get_error_flags() 291 int rid; in mt6370_regulator_irq_register() member 307 rdev = priv->rdev[mt6370_irqs[i].rid]; in mt6370_regulator_irq_register()
|
| 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, \
|
| H A D | max5970-regulator.c | 400 static int max597x_irq_handler(int irq, struct regulator_irq_data *rid, in max597x_irq_handler() argument 404 struct max5970_regulator *d = (struct max5970_regulator *)rid->data; in max597x_irq_handler() 413 stat = &rid->states[i]; in max597x_irq_handler() 419 stat = &rid->states[i]; in max597x_irq_handler() 437 stat = &rid->states[i]; in max597x_irq_handler() 455 stat = &rid->states[i]; in max597x_irq_handler() 469 stat = &rid->states[i]; in max597x_irq_handler()
|
| H A D | rtq2134-regulator.c | 168 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/gpu/drm/xe/abi/ |
| H A D | guc_relay_communication_abi.h | 23 * relay message identifier (RID) as additional parameter. 33 * and the relay message identifier (RID) also takes the target VF identifier. 42 * [ ] { rid, msg } [ ] | 45 * [ ] | { VFID, rid, msg } [ ] 49 * [ ] [ ] { VFID, rid, reply } | 52 * | { rid, reply } | | 62 * | [ ] { VFID, rid, msg } [ ] 65 * [ ] { rid, msg } | [ ] 69 * | { rid, reply } [ ] [ ] 72 * | | { VFID, rid, reply } |
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | tc.c | 694 struct efx_tc_recirc_id *rid, *old; in efx_tc_get_recirc_id() local 697 rid = kzalloc_obj(*rid, GFP_USER); in efx_tc_get_recirc_id() 698 if (!rid) in efx_tc_get_recirc_id() 700 rid->chain_index = chain_index; in efx_tc_get_recirc_id() 705 rid->net_dev = net_dev; in efx_tc_get_recirc_id() 707 &rid->linkage, in efx_tc_get_recirc_id() 711 kfree(rid); in efx_tc_get_recirc_id() 717 rid = old; in efx_tc_get_recirc_id() 722 &rid->linkage, in efx_tc_get_recirc_id() 724 kfree(rid); in efx_tc_get_recirc_id() [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci.h | 38 * requests aren't tagged with the RID. To work around this the PCIe-to-PCI 39 * bridge will use (secondary_bus_no << 8) | 0x00 as the RID on the PCIe side. 42 * a RID in the transaction header. The PCIe-to-X bridge is permitted to "take 70 /* Effective RID (device RID for a device PE and base bus 71 * RID with devfn 0 for a bus PE) 73 unsigned int rid; member
|
| H A D | pci-ioda.c | 73 (pe->rid & 0xff00) >> 8, in pe_level_printk() 74 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk() 729 long rid_end, rid; in pnv_ioda_deconfigure_pe() local 756 rid_end = pe->rid + (count << 8); in pnv_ioda_deconfigure_pe() 767 rid_end = pe->rid + 1; in pnv_ioda_deconfigure_pe() 771 for (rid = pe->rid; rid < rid_end; rid++) in pnv_ioda_deconfigure_pe() 772 phb->ioda.pe_rmap[rid] = IODA_INVALID_PE; in pnv_ioda_deconfigure_pe() 781 rc = opal_pci_set_pe(phb->opal_id, pe->pe_number, pe->rid, in pnv_ioda_deconfigure_pe() 798 long rc, rid_end, rid; in pnv_ioda_configure_pe() local 824 rid_end = pe->rid + (count << 8); in pnv_ioda_configure_pe() [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_solver.h | 54 u64 rid; member 63 u32 rid; member 152 * @rid: The Request ID to identify the requesting context 154 int xrs_release_resource(void *hdl, u64 rid);
|
| /linux/include/linux/ |
| H A D | pci-ide.h | 35 * address and RID association registers 59 * @rid1: IDE RID Association Register 1 60 * @rid2: IDE RID Association Register 2
|
| /linux/arch/mips/include/asm/mach-loongson64/ |
| H A D | loongson_regs.h | 252 int rID = 0; in drdtime() local 257 "parse_r rID,%0\n\t" in drdtime() 261 ".word (0xc8090118 | (rID << 21) | (val << 11))\n\t" in drdtime() 262 :"=r"(rID),"=r"(val) in drdtime()
|
| /linux/Documentation/arch/s390/ |
| H A D | pci.rst | 26 Ignore the RID field and force use of one PCI domain per PCI function. 167 * For a PCI function for which the platform does not expose the RID, the 169 which does have RID information but is used without its parent Physical 178 * For a PCI function for which the platform exposes the RID and which
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vlan_mode.c | 207 .rid = ICE_SW_LKUP_VLAN, 219 .rid = ICE_SW_LKUP_VLAN, 230 .rid = ICE_SW_LKUP_PROMISC_VLAN, 255 …ice_debug(hw, ICE_DBG_INIT, "Failed to update RID %d lkup_idx %d fv_idx %d mask_valid %s mask 0x%0… in ice_dvm_update_dflt_recipes() 256 params->rid, params->lkup_idx, params->fv_idx, in ice_dvm_update_dflt_recipes()
|
| H A D | ice_tc_lib.c | 821 .rid = vsi->vf->lldp_recipe_id, in ice_pass_vf_tx_lldp() 879 vsi->vf->lldp_recipe_id = rule_added.rid; in ice_drop_vf_tx_lldp() 1013 fltr->rid = rule_added.rid; in ice_eswitch_add_tc_fltr() 1247 tc_fltr->rid = rule_added.rid; in ice_add_tc_flower_adv_fltr() 1266 …dev_dbg(dev, "added switch rule (lkups_cnt %u, flags 0x%x), action is forward to TC %u, rid %u, ru… in ice_add_tc_flower_adv_fltr() 1268 tc_fltr->action.fwd.tc.tc_class, rule_added.rid, in ice_add_tc_flower_adv_fltr() 1272 …kups_cnt %u, flags 0x%x), action is forward to queue: %u (HW queue %u) , rid %u, rule_id %u\n", in ice_add_tc_flower_adv_fltr() 1274 tc_fltr->action.fwd.q.hw_queue, rule_added.rid, in ice_add_tc_flower_adv_fltr() 1278 dev_dbg(dev, "added switch rule (lkups_cnt %u, flags 0x%x), action is drop, rid %u, rule_id %u\n", in ice_add_tc_flower_adv_fltr() 1279 lkups_cnt, flags, rule_added.rid, rule_added.rule_id); in ice_add_tc_flower_adv_fltr() [all …]
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_resource.c | 48 u32 rid = r->handle.resource; in vmci_resource_lookup() local 51 rid == handle.resource && in vmci_resource_lookup() 78 * in the RID space. in vmci_resource_find_id()
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A 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 …]
|
| /linux/fs/resctrl/ |
| H A D | rdtgroup.c | 1212 if (mevt->rid != r->rid || !mevt->enabled) in rdt_mon_features_show() 1462 if (!resctrl_arch_get_cdp_enabled(r->rid)) in rdtgroup_cbm_overlaps() 1494 if (r->rid == RDT_RESOURCE_MBA || r->rid == RDT_RESOURCE_SMBA) in rdtgroup_mode_test_exclusive() 1633 if (r->rid != RDT_RESOURCE_MBA) in is_mba_sc() 1699 if (r->rid == RDT_RESOURCE_MBA || in rdtgroup_size_show() 1700 r->rid == RDT_RESOURCE_SMBA) in rdtgroup_size_show() 2430 if (mevt->rid != r->rid || !mevt->enabled || !resctrl_is_mbm_event(mevt->evtid)) in resctrl_mkdir_event_configs() 2491 switch (r->rid) { in fflags_from_resource() 2869 if (resctrl_arch_get_cdp_enabled(r->rid)) in schemata_list_add() 2898 if (r->cdp_capable && !resctrl_arch_get_cdp_enabled(r->rid)) in schemata_list_add() [all …]
|
| /linux/drivers/leds/ |
| H A D | TODO | 4 * Get rid of enum led_brightness 6 It is really an integer, as maximum is configurable. Get rid of it, or
|
| /linux/arch/s390/include/asm/ |
| H A D | pci.h | 164 u16 rid; /* RID as supplied by firmware */ member 165 u16 tid; /* Topology for which RID is valid */ 178 unsigned int devfn; /* DEVFN part of the RID*/
|
| /linux/arch/parisc/include/asm/ |
| H A D | cmpxchg.h | 23 /* optimizer better get rid of switch since size is a constant */ 65 /* don't worry...optimizer will get rid of most of this */
|