Home
last modified time | relevance | path

Searched refs:id (Results 326 – 350 of 14988) sorted by relevance

1...<<11121314151617181920>>...600

/openbmc/qemu/block/
H A Dqapi-sysemu.c121 const char *id, in qmp_blockdev_open_tray() argument
131 rc = do_open_tray(device, id, force, &local_err); in qmp_blockdev_open_tray()
140 const char *id, in qmp_blockdev_close_tray() argument
146 blk = qmp_get_blk(device, id, errp); in qmp_blockdev_close_tray()
152 error_setg(errp, "Device '%s' is not removable", device ?: id); in qmp_blockdev_close_tray()
173 blockdev_remove_medium(const char *device, const char *id, Error **errp) in blockdev_remove_medium() argument
181 blk = qmp_get_blk(device, id, errp); in blockdev_remove_medium()
190 error_setg(errp, "Device '%s' is not removable", device ?: id); in blockdev_remove_medium()
197 error_setg(errp, "Tray of device '%s' is not open", device ?: id); in blockdev_remove_medium()
224 void qmp_blockdev_remove_medium(const char *id, Error **errp) in qmp_blockdev_remove_medium() argument
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbase.c35 nvkm_i2c_pad_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_pad_find() argument
40 if (pad->id == id) in nvkm_i2c_pad_find()
48 nvkm_i2c_bus_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_bus_find() argument
53 if (id == NVKM_I2C_BUS_PRI || id == NVKM_I2C_BUS_SEC) { in nvkm_i2c_bus_find()
58 if (id == NVKM_I2C_BUS_PRI) in nvkm_i2c_bus_find()
59 id = NVKM_I2C_BUS_CCB((auxidx & 0x0f) >> 0); in nvkm_i2c_bus_find()
61 id = NVKM_I2C_BUS_CCB((auxidx & 0xf0) >> 4); in nvkm_i2c_bus_find()
63 id = NVKM_I2C_BUS_CCB(2); in nvkm_i2c_bus_find()
68 if (bus->id == id) in nvkm_i2c_bus_find()
76 nvkm_i2c_aux_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_aux_find() argument
[all …]
/openbmc/linux/drivers/thermal/
H A Dk3_j72xx_bandgap.c277 static void get_efuse_values(int id, struct k3_thermal_data *data, int *err, in get_efuse_values() argument
298 if (ct_offsets[id][i] == -1 && i == 1) { in get_efuse_values()
303 } else if (ct_offsets[id][i] == -1 && i == 2) { in get_efuse_values()
309 tmp = readl(fuse_base + ct_offsets[id][i]); in get_efuse_values()
310 tmp &= ct_bm[id][i]; in get_efuse_values()
311 tmp = tmp >> __ffs(ct_bm[id][i]); in get_efuse_values()
314 pow = ct_bm[id][i] >> __ffs(ct_bm[id][i]); in get_efuse_values()
322 tmp = two_cmp(tmp, ct_bm[id][i] >> __ffs(ct_bm[id][i])); in get_efuse_values()
347 int ret = 0, cnt, val, id; in k3_j72xx_bandgap_probe() local
453 for (id = 0; id < cnt; id++) { in k3_j72xx_bandgap_probe()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drtnetlink.sh129 ip link add link br0 name br0.10 type vlan id 10
134 ip link add link br0 name br0.20 type vlan id 20
155 ip link add link br0 name br0.10 type vlan id 10
158 ip link add link br0 name br0.20 type vlan id 20
205 ip link add link $swp1 name $swp1.1 type vlan id 1
223 ip link add link $swp1 name $swp1.10 type vlan id 10 &> /dev/null
227 ip link add link $swp1 name $swp1.10 type vlan id 10
251 ip link add link br0 name br0.10 up type vlan id 10
295 ip link add link bond1 name bond1.10 up type vlan id 10
379 ip link add link $swp1 name $swp1.10 type vlan id 10
[all …]
/openbmc/u-boot/drivers/reset/
H A Dreset-mediatek.c35 int id = reset_ctl->id; in mediatek_reset_assert() local
37 if (id >= priv->nr_resets) in mediatek_reset_assert()
41 priv->regofs + ((id / 32) << 2), BIT(id % 32), BIT(id % 32)); in mediatek_reset_assert()
47 int id = reset_ctl->id; in mediatek_reset_deassert() local
49 if (id >= priv->nr_resets) in mediatek_reset_deassert()
53 priv->regofs + ((id / 32) << 2), BIT(id % 32), 0); in mediatek_reset_deassert()
98 .id = UCLASS_RESET,
/openbmc/linux/include/linux/
H A Dextcon-provider.h35 int extcon_sync(struct extcon_dev *edev, unsigned int id);
41 int extcon_set_state(struct extcon_dev *edev, unsigned int id,
43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
55 int extcon_set_property(struct extcon_dev *edev, unsigned int id,
58 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
62 unsigned int id, unsigned int prop);
97 static inline int extcon_set_state(struct extcon_dev *edev, unsigned int id, in extcon_set_state() argument
103 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync() argument
109 static inline int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync() argument
114 static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property() argument
[all …]
/openbmc/linux/drivers/reset/
H A Dreset-brcmstb.c26 #define SW_INIT_BIT(id) BIT((id) & 0x1f) argument
27 #define SW_INIT_BANK(id) ((id) >> 5) argument
41 unsigned long id) in brcmstb_reset_assert() argument
43 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_assert()
46 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_SET); in brcmstb_reset_assert()
52 unsigned long id) in brcmstb_reset_deassert() argument
54 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_deassert()
57 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_CLEAR); in brcmstb_reset_deassert()
68 unsigned long id) in brcmstb_reset_status() argument
70 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_status()
[all …]
/openbmc/u-boot/include/
H A Dbootstage.h255 ulong bootstage_add_record(enum bootstage_id id, const char *name,
261 ulong bootstage_mark(enum bootstage_id id);
263 ulong bootstage_error(enum bootstage_id id);
265 ulong bootstage_mark_name(enum bootstage_id id, const char *name);
291 uint32_t bootstage_start(enum bootstage_id id, const char *name);
305 uint32_t bootstage_accum(enum bootstage_id id);
356 static inline ulong bootstage_add_record(enum bootstage_id id, in bootstage_add_record() argument
372 static inline ulong bootstage_mark(enum bootstage_id id) in bootstage_mark() argument
374 show_boot_progress(id); in bootstage_mark()
378 static inline ulong bootstage_error(enum bootstage_id id) in bootstage_error() argument
[all …]
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dget-reg-list.c106 static const char *core_id_to_str(const char *prefix, __u64 id) in core_id_to_str() argument
108 __u64 core_off = id & ~REG_MASK, idx; in core_id_to_str()
145 TEST_FAIL("%s: Unknown core reg id: 0x%llx", prefix, id); in core_id_to_str()
149 static const char *sve_id_to_str(const char *prefix, __u64 id) in sve_id_to_str() argument
153 if (id == KVM_REG_ARM64_SVE_VLS) in sve_id_to_str()
156 sve_off = id & ~(REG_MASK | ((1ULL << 5) - 1)); in sve_id_to_str()
157 i = id & (KVM_ARM64_SVE_MAX_SLICES - 1); in sve_id_to_str()
159 TEST_ASSERT(i == 0, "%s: Currently we don't expect slice > 0, reg id 0x%llx", prefix, id); in sve_id_to_str()
164 n = (id >> 5) & (KVM_ARM64_SVE_NUM_ZREGS - 1); in sve_id_to_str()
165 TEST_ASSERT(id == KVM_REG_ARM64_SVE_ZREG(n, 0), in sve_id_to_str()
[all …]
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_pd.c52 int id; in hns_roce_alloc_pd() local
54 id = ida_alloc_range(&pd_ida->ida, pd_ida->min, pd_ida->max, in hns_roce_alloc_pd()
56 if (id < 0) { in hns_roce_alloc_pd()
57 ibdev_err(ib_dev, "failed to alloc pd, id = %d.\n", id); in hns_roce_alloc_pd()
60 pd->pdn = (unsigned long)id; in hns_roce_alloc_pd()
68 ida_free(&pd_ida->ida, id); in hns_roce_alloc_pd()
88 int id; in hns_roce_uar_alloc() local
91 id = ida_alloc_range(&uar_ida->ida, uar_ida->min, uar_ida->max, in hns_roce_uar_alloc()
93 if (id < 0) { in hns_roce_uar_alloc()
94 ibdev_err(&hr_dev->ib_dev, "failed to alloc uar id(%d).\n", id); in hns_roce_uar_alloc()
[all …]
/openbmc/linux/drivers/regulator/
H A Dwm831x-dcdc.c392 int id; in wm831x_buckv_probe() local
398 id = (pdata->wm831x_num * 10) + 1; in wm831x_buckv_probe()
400 id = 0; in wm831x_buckv_probe()
401 id = pdev->id - id; in wm831x_buckv_probe()
403 dev_dbg(&pdev->dev, "Probing DCDC%d\n", id + 1); in wm831x_buckv_probe()
420 snprintf(dcdc->name, sizeof(dcdc->name), "DCDC%d", id + 1); in wm831x_buckv_probe()
424 "DC%dVDD", id + 1); in wm831x_buckv_probe()
427 dcdc->desc.id = id; in wm831x_buckv_probe()
435 dcdc->desc.enable_mask = 1 << id; in wm831x_buckv_probe()
455 if (pdata && pdata->dcdc[id]) in wm831x_buckv_probe()
[all …]
/openbmc/linux/drivers/cxl/core/
H A Dhdm.c148 info->port->id, i, in should_emulate_decoders()
295 port->id, cxled->cxld.id); in __cxl_dpa_reserve()
301 port->id, cxled->cxld.id, cxled->dpa_res); in __cxl_dpa_reserve()
305 if (port->hdm_end + 1 != cxled->cxld.id) { in __cxl_dpa_reserve()
312 dev_dbg(dev, "decoder%d.%d: expected decoder%d.%d\n", port->id, in __cxl_dpa_reserve()
313 cxled->cxld.id, port->id, port->hdm_end + 1); in __cxl_dpa_reserve()
323 port->id, cxled->cxld.id); in __cxl_dpa_reserve()
331 port->id, cxled->cxld.id); in __cxl_dpa_reserve()
345 dev_dbg(dev, "decoder%d.%d: %pr mixed\n", port->id, in __cxl_dpa_reserve()
346 cxled->cxld.id, cxled->dpa_res); in __cxl_dpa_reserve()
[all …]
/openbmc/linux/drivers/usb/storage/
H A Disd200.c320 u16 *id; member
546 isd200_set_srb(info, DMA_FROM_DEVICE, info->id, in isd200_action()
1052 static void isd200_fix_driveid(u16 *id) in isd200_fix_driveid() argument
1059 id[i] = __le16_to_cpu(id[i]); in isd200_fix_driveid()
1066 static void isd200_dump_driveid(struct us_data *us, u16 *id) in isd200_dump_driveid() argument
1069 usb_stor_dbg(us, " config = 0x%x\n", id[ATA_ID_CONFIG]); in isd200_dump_driveid()
1070 usb_stor_dbg(us, " cyls = 0x%x\n", id[ATA_ID_CYLS]); in isd200_dump_driveid()
1071 usb_stor_dbg(us, " heads = 0x%x\n", id[ATA_ID_HEADS]); in isd200_dump_driveid()
1072 usb_stor_dbg(us, " track_bytes = 0x%x\n", id[4]); in isd200_dump_driveid()
1073 usb_stor_dbg(us, " sector_bytes = 0x%x\n", id[5]); in isd200_dump_driveid()
[all …]
/openbmc/linux/drivers/counter/
H A D104-quad-8.c223 if (signal->id < 16) in quad8_signal_read()
226 ret = regmap_test_bits(priv->map, QUAD8_INDEX_INPUT_LEVELS, BIT(signal->id - 16)); in quad8_signal_read()
245 ret = regmap_write(priv->map, QUAD8_CONTROL(count->id), in quad8_count_read()
249 ret = regmap_noinc_read(priv->map, QUAD8_DATA(count->id), value, sizeof(value)); in quad8_count_read()
259 static int quad8_preset_register_set(struct quad8 *const priv, const size_t id, in quad8_preset_register_set() argument
267 ret = regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_BP); in quad8_preset_register_set()
270 return regmap_noinc_write(priv->map, QUAD8_DATA(id), value, sizeof(value)); in quad8_preset_register_set()
273 static int quad8_flag_register_reset(struct quad8 *const priv, const size_t id) in quad8_flag_register_reset() argument
277 ret = regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_BT_CT_CPT_S_IDX); in quad8_flag_register_reset()
280 return regmap_write(priv->map, QUAD8_CONTROL(id), SELECT_RLD | RESET_E); in quad8_flag_register_reset()
[all …]
/openbmc/linux/drivers/ps3/
H A Dps3av.c481 static void ps3av_set_videomode_packet(u32 id) in ps3av_set_videomode_packet() argument
489 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; in ps3av_set_videomode_packet()
501 video_mode->fmt, id); in ps3av_set_videomode_packet()
504 if (id & PS3AV_MODE_DVI || id & PS3AV_MODE_RGB) in ps3av_set_videomode_packet()
516 video_mode->aspect, id); in ps3av_set_videomode_packet()
529 static void ps3av_set_videomode_cont(u32 id, u32 old_id) in ps3av_set_videomode_cont() argument
541 if (vesa == 0 && (id & PS3AV_MODE_MASK) >= PS3AV_MODE_WXGA) { in ps3av_set_videomode_cont()
548 if (id & PS3AV_MODE_HDCP_OFF) { in ps3av_set_videomode_cont()
562 ps3av_set_videomode_packet(id); in ps3av_set_videomode_cont()
581 unsigned id:4; member
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c66 { .id = 0, .pp = 0, .dspp = 0,
68 { .id = 1, .pp = 1, .dspp = 1,
70 { .id = 2, .pp = 2, .dspp = 2,
72 { .id = 3, .pp = -1, .dspp = -1,
74 { .id = 4, .pp = -1, .dspp = -1,
155 { .id = 0, .pp = 0, .dspp = 0,
157 { .id = 1, .pp = -1, .dspp = -1,
230 { .id = 0, .pp = 0, .dspp = 0,
232 { .id = 1, .pp = 1, .dspp = 1,
234 { .id = 2, .pp = 2, .dspp = 2,
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dfotg210.c34 uint id; member
66 static inline int fifo_to_ep(struct fotg210_chip *chip, int id, int in) in fifo_to_ep() argument
68 return (id < 0) ? 0 : ((id & 0x03) + 1); in fifo_to_ep()
71 static inline int ep_to_fifo(struct fotg210_chip *chip, int id) in ep_to_fifo() argument
73 return (id <= 0) ? -1 : ((id - 1) & 0x03); in ep_to_fifo()
215 int fifo = ep_to_fifo(chip, ep->id); in fotg210_dma()
244 if (ep->id == 0) { in fotg210_dma()
258 if (ep->id == 0) { in fotg210_dma()
306 printf("fotg210: ep%d dma error(code=%d)\n", ep->id, ret); in fotg210_dma()
320 int id, ret = CX_IDLE; in fotg210_setup() local
[all …]
/openbmc/u-boot/arch/arm/mach-rmobile/
H A Dcpu_info-sh73a0.c11 u32 id; in rmobile_get_cpu_type() local
15 id = readl(&hpb->cccr); in rmobile_get_cpu_type()
16 type = (id >> 8) & 0xFF; in rmobile_get_cpu_type()
23 u32 id; in rmobile_get_cpu_rev_integer() local
27 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_integer()
28 rev = ((id >> 4) & 0xF) + 1; in rmobile_get_cpu_rev_integer()
35 u32 id; in rmobile_get_cpu_rev_fraction() local
39 id = readl(&hpb->cccr); in rmobile_get_cpu_rev_fraction()
40 rev = id & 0xF; in rmobile_get_cpu_rev_fraction()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-bpmp.c21 unsigned int id; member
32 unsigned int id; member
45 unsigned int id; member
68 request.cmd_and_id = (clk->cmd << 24) | clk->id; in tegra_bpmp_clk_transfer()
102 msg.id = clk->id; in tegra_bpmp_clk_prepare()
115 msg.id = clk->id; in tegra_bpmp_clk_unprepare()
132 msg.id = clk->id; in tegra_bpmp_clk_is_prepared()
154 msg.id = clk->id; in tegra_bpmp_clk_recalc_rate()
184 msg.id = clk->id; in tegra_bpmp_clk_determine_rate()
212 msg.id = clk->id; in tegra_bpmp_clk_set_parent()
[all …]
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.c98 if (!IS_ERR_OR_NULL(clk_data->hws[rc->id])) { in mtk_clk_register_fixed_clks()
99 pr_warn("Trying to register duplicate clock ID: %d\n", rc->id); in mtk_clk_register_fixed_clks()
112 clk_data->hws[rc->id] = hw; in mtk_clk_register_fixed_clks()
121 if (IS_ERR_OR_NULL(clk_data->hws[rc->id])) in mtk_clk_register_fixed_clks()
124 clk_hw_unregister_fixed_rate(clk_data->hws[rc->id]); in mtk_clk_register_fixed_clks()
125 clk_data->hws[rc->id] = ERR_PTR(-ENOENT); in mtk_clk_register_fixed_clks()
143 if (IS_ERR_OR_NULL(clk_data->hws[rc->id])) in mtk_clk_unregister_fixed_clks()
146 clk_hw_unregister_fixed_rate(clk_data->hws[rc->id]); in mtk_clk_unregister_fixed_clks()
147 clk_data->hws[rc->id] = ERR_PTR(-ENOENT); in mtk_clk_unregister_fixed_clks()
164 if (!IS_ERR_OR_NULL(clk_data->hws[ff->id])) { in mtk_clk_register_factors()
[all …]
/openbmc/u-boot/drivers/dma/
H A Dbcm6348-iudma.c186 struct bcm6348_chan_priv *ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_disable()
189 bcm6348_iudma_chan_stop(priv, dma->id); in bcm6348_iudma_disable()
192 if (bcm6348_iudma_chan_is_rx(dma->id)) in bcm6348_iudma_disable()
194 DMA_FLOWC_ALLOC_REG(dma->id)); in bcm6348_iudma_disable()
199 if (bcm6348_iudma_chan_is_rx(dma->id)) in bcm6348_iudma_disable()
210 struct bcm6348_chan_priv *ch_priv = priv->ch_priv[dma->id]; in bcm6348_iudma_enable()
216 if (bcm6348_iudma_chan_is_rx(dma->id)) { in bcm6348_iudma_enable()
239 writel_be(0, priv->sram + DMAS_STATE_DATA_REG(dma->id)); in bcm6348_iudma_enable()
240 writel_be(0, priv->sram + DMAS_DESC_LEN_STATUS_REG(dma->id)); in bcm6348_iudma_enable()
241 writel_be(0, priv->sram + DMAS_DESC_BASE_BUFPTR_REG(dma->id)); in bcm6348_iudma_enable()
[all …]
/openbmc/u-boot/board/micronas/vct/
H A Dscc.c460 static void scc_takeover_dma(enum scc_id id, u32 dma_id, u32 drs) in scc_takeover_dma() argument
468 dma_cmd.bits.id = dma_id; in scc_takeover_dma()
473 reg_write(SCC_CMD(scc_descriptor_table[id].base_address), dma_cmd.reg); in scc_takeover_dma()
476 int scc_dma_cmd(enum scc_id id, u32 cmd, u32 dma_id, u32 drs) in scc_dma_cmd() argument
481 if ((id >= SCC_MAX) || (id < 0)) in scc_dma_cmd()
488 dma_cmd.bits.id = dma_id; in scc_dma_cmd()
491 dma_state = &scc_state_wr[id][dma_id]; in scc_dma_cmd()
493 dma_state = &scc_state_rd[id][dma_id]; in scc_dma_cmd()
496 dma_state->scc_id = id; in scc_dma_cmd()
500 reg_write(SCC_CMD(scc_descriptor_table[id].base_address), dma_cmd.reg); in scc_dma_cmd()
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Devent_service_manager.hpp73 uint64_t id; member
128 std::string id = subValue->userSub->id; in initConfig() local
129 subValue->deleter = [id]() { in initConfig()
130 EventServiceManager::getInstance().deleteSubscription(id); in initConfig()
133 subscriptionsMap.emplace(id, subValue); in initConfig()
197 std::string id; in loadOldBehavior() local
202 id = std::to_string(dist(gen)); in loadOldBehavior()
208 newSub.id = id; in loadOldBehavior()
212 id, std::make_shared< in loadOldBehavior()
404 std::shared_ptr<Subscription> getSubscription(const std::string& id) in getSubscription() argument
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-ports.c25 .id = did, \
43 .id = did, \
61 .id = did, \
79 .id = did, \
96 .id = did, \
113 .id = HDMI_RX,
117 .id = SLIMBUS_0_RX,
132 .id = SLIMBUS_0_TX,
159 .id = SLIMBUS_1_RX,
162 .id = SLIMBUS_1_TX,
[all …]
/openbmc/linux/drivers/ipack/
H A Dipack.c23 kfree(device->id); in ipack_device_release()
28 ipack_match_one_device(const struct ipack_device_id *id, in ipack_match_one_device() argument
31 if ((id->format == IPACK_ANY_FORMAT || in ipack_match_one_device()
32 id->format == device->id_format) && in ipack_match_one_device()
33 (id->vendor == IPACK_ANY_ID || id->vendor == device->id_vendor) && in ipack_match_one_device()
34 (id->device == IPACK_ANY_ID || id->device == device->id_device)) in ipack_match_one_device()
35 return id; in ipack_match_one_device()
128 sprintf(&buf[c], "%02x", idev->id[i]); in id_show()
174 static DEVICE_ATTR_RO(id);
287 c = (i != 11) ? dev->id[i] : 0; in ipack_calc_crc1()
[all …]

1...<<11121314151617181920>>...600