/openbmc/qemu/docs/devel/ |
H A D | s390-cpu-topology.rst | 16 -device z14-s390x-cpu,core-id=19,entitlement=high \ 17 -device z14-s390x-cpu,core-id=11,entitlement=low \ 18 -device z14-s390x-cpu,core-id=12,entitlement=high \ 34 "thread-id": 536993, 36 "core-id": 0, 37 "socket-id": 0, 38 "drawer-id": 0, 39 "book-id": 0 49 "thread-id": 537003, 51 "core-id": 19, [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | twl4030-audio.c | 44 static int twl4030_audio_set_resource(enum twl4030_audio_res id, int enable) in twl4030_audio_set_resource() argument 50 audio->resource[id].reg); in twl4030_audio_set_resource() 53 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 55 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 58 val, audio->resource[id].reg); in twl4030_audio_set_resource() 63 static inline int twl4030_audio_get_resource(enum twl4030_audio_res id) in twl4030_audio_get_resource() argument 69 audio->resource[id].reg); in twl4030_audio_get_resource() 78 int twl4030_audio_enable_resource(enum twl4030_audio_res id) in twl4030_audio_enable_resource() argument 83 if (id >= TWL4030_AUDIO_RES_MAX) { in twl4030_audio_enable_resource() 85 "Invalid resource ID (%u)\n", id); in twl4030_audio_enable_resource() [all …]
|
/openbmc/linux/drivers/soundwire/ |
H A D | bus_type.c | 24 const struct sdw_device_id *id; in sdw_get_device_id() local 26 for (id = drv->id_table; id && id->mfg_id; id++) in sdw_get_device_id() 27 if (slave->id.mfg_id == id->mfg_id && in sdw_get_device_id() 28 slave->id.part_id == id->part_id && in sdw_get_device_id() 29 (!id->sdw_version || in sdw_get_device_id() 30 slave->id.sdw_version == id->sdw_version) && in sdw_get_device_id() 31 (!id->class_id || in sdw_get_device_id() 32 slave->id.class_id == id->class_id)) in sdw_get_device_id() 33 return id; in sdw_get_device_id() 58 slave->id.mfg_id, slave->id.part_id, in sdw_slave_modalias() [all …]
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos.h | 54 #define EXYNOS_PIN_BANK_EINTN(pins, reg, id) \ argument 60 .name = id \ 63 #define EXYNOS_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 70 .name = id \ 73 #define EXYNOS_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 80 .name = id \ 83 #define EXYNOS5433_PIN_BANK_EINTG(pins, reg, id, offs) \ argument 90 .name = id \ 93 #define EXYNOS5433_PIN_BANK_EINTW(pins, reg, id, offs) \ argument 100 .name = id \ [all …]
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_cmd.c | 25 int id; in pfe_command_pe() local 39 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 44 val = pe_pmem_read(id, addr, size); in pfe_command_pe() 59 int id; in pfe_command_pe() local 73 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 78 val = pe_dmem_read(id, addr, size); in pfe_command_pe() 87 int id; in pfe_command_pe() local 97 id = simple_strtoul(argv[4], NULL, 0); in pfe_command_pe() 102 pe_dmem_write(id, val, addr, size); in pfe_command_pe() 242 static void gpi(int id, void *base) in gpi() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chid.c | 25 nvkm_chid_put(struct nvkm_chid *chid, int id, spinlock_t *data_lock) in nvkm_chid_put() argument 27 if (id >= 0) { in nvkm_chid_put() 30 chid->data[id] = NULL; in nvkm_chid_put() 32 clear_bit(id, chid->used); in nvkm_chid_put() 40 int id = -1, cid; in nvkm_chid_get() local 47 id = cid; in nvkm_chid_get() 50 return id; in nvkm_chid_get() 90 int id; in nvkm_chid_new() local 105 for (id = 0; id < first; id++) in nvkm_chid_new() 106 __set_bit(id, chid->used); in nvkm_chid_new() [all …]
|
/openbmc/linux/scripts/coccinelle/free/ |
H A D | put_device.cocci | 13 local idexpression id; 19 id = of_find_device_by_node@p1(x) 20 ... when != e = id 21 if (id == NULL || ...) { ... return ...; } 22 ... when != put_device(&id->dev) 23 when != platform_device_put(id) 24 when != if (id) { ... put_device(&id->dev) ... } 25 when != e1 = (T)id 26 when != e1 = (T)(&id->dev) 27 when != e1 = get_device(&id->dev) [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 295.out | 1 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 3 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 5 {"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}} 7 .{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 9 {"execute": "job-dismiss", "arguments": {"id": "job_erase_key"}} 12 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 14 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 16 .{"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 18 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} 21 {"execute": "job-dismiss", "arguments": {"id": "job_add_key"}} [all …]
|
H A D | 185.out | 39 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} 40 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} 44 …croseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}} 45 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} 46 …croseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}} 47 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} 48 …oseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "disk"}} 50 …seconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "disk"}} 51 …microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "disk"}} 62 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | btf_dump.c | 258 static int btf_dump_order_type(struct btf_dump *d, __u32 id, bool through_ptr); 259 static void btf_dump_emit_type(struct btf_dump *d, __u32 id, __u32 cont_id); 277 int btf_dump__dump_type(struct btf_dump *d, __u32 id) in btf_dump__dump_type() argument 281 if (id >= btf__type_cnt(d->btf)) in btf_dump__dump_type() 289 err = btf_dump_order_type(d, id, false); in btf_dump__dump_type() 377 static int btf_dump_add_emit_queue_id(struct btf_dump *d, __u32 id) in btf_dump_add_emit_queue_id() argument 391 d->emit_queue[d->emit_queue_cnt++] = id; in btf_dump_add_emit_queue_id() 469 static int btf_dump_order_type(struct btf_dump *d, __u32 id, bool through_ptr) in btf_dump_order_type() argument 482 struct btf_dump_type_aux_state *tstate = &d->type_states[id]; in btf_dump_order_type() 491 t = btf__type_by_id(d->btf, id); in btf_dump_order_type() [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
H A D | cpu.c | 38 u16 id = 0; in print_cpuinfo() local 46 id = 54455; in print_cpuinfo() 49 id = 54454; in print_cpuinfo() 52 id = 54453; in print_cpuinfo() 55 id = 54452; in print_cpuinfo() 58 id = 54451; in print_cpuinfo() 61 id = 54450; in print_cpuinfo() 64 id = 54410; in print_cpuinfo() 67 id = 54415; in print_cpuinfo() 70 id = 54416; in print_cpuinfo() [all …]
|
/openbmc/linux/drivers/pnp/ |
H A D | driver.c | 29 int compare_pnp_id(struct pnp_id *pos, const char *id) in compare_pnp_id() argument 31 if (!pos || !id || (strlen(id) != 7)) in compare_pnp_id() 33 if (memcmp(id, "ANYDEVS", 7) == 0) in compare_pnp_id() 36 if (memcmp(pos->id, id, 3) == 0) in compare_pnp_id() 37 if (compare_func(pos->id, id) == 1) in compare_pnp_id() 52 while (*drv_id->id) { in match_device() 53 if (compare_pnp_id(dev->id, drv_id->id)) in match_device() 289 struct pnp_id *pnp_add_id(struct pnp_dev *dev, const char *id) in pnp_add_id() argument 297 dev_id->id[0] = id[0]; in pnp_add_id() 298 dev_id->id[1] = id[1]; in pnp_add_id() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | lp8788-buck.c | 149 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument 151 switch (id) { in lp8788_set_dvs() 164 lp8788_get_buck_dvs_ctrl_mode(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_get_buck_dvs_ctrl_mode() argument 168 switch (id) { in lp8788_get_buck_dvs_ctrl_mode() 202 enum lp8788_buck_id id) in lp8788_select_buck_vout_addr() argument 204 enum lp8788_dvs_mode mode = lp8788_get_buck_dvs_ctrl_mode(buck, id); in lp8788_select_buck_vout_addr() 210 switch (id) { in lp8788_select_buck_vout_addr() 260 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck12_set_voltage_sel() local 264 lp8788_set_dvs(buck, id); in lp8788_buck12_set_voltage_sel() 266 addr = lp8788_select_buck_vout_addr(buck, id); in lp8788_buck12_set_voltage_sel() [all …]
|
H A D | rt4801-regulator.c | 42 int id = desc->id; in rt4801_of_parse_cb() local 44 if (priv->enable_gpios[id]) { in rt4801_of_parse_cb() 48 priv->enable_gpios[id] = devm_fwnode_gpiod_get_index(priv->dev, in rt4801_of_parse_cb() 53 if (IS_ERR(priv->enable_gpios[id])) in rt4801_of_parse_cb() 54 priv->enable_gpios[id] = NULL; in rt4801_of_parse_cb() 62 int id = rdev_get_id(rdev), ret; in rt4801_set_voltage_sel() local 64 if (priv->enable_flag & BIT(id)) { in rt4801_set_voltage_sel() 70 priv->volt_sel[id] = selector; in rt4801_set_voltage_sel() 77 int id = rdev_get_id(rdev); in rt4801_get_voltage_sel() local 79 if (priv->enable_flag & BIT(id)) in rt4801_get_voltage_sel() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | id_map.cpp | 28 const std::string& id = device.getID(); in addDevice() local 29 if (deviceMap.count(id) != 0) in addDevice() 32 "Unable to add device: Duplicate ID \"" + id + '"'}; in addDevice() 34 deviceMap[id] = &device; in addDevice() 39 const std::string& id = rail.getID(); in addRail() local 40 if (railMap.count(id) != 0) in addRail() 43 "Unable to add rail: Duplicate ID \"" + id + '"'}; in addRail() 45 railMap[id] = &rail; in addRail() 50 const std::string& id = rule.getID(); in addRule() local 51 if (ruleMap.count(id) != 0) in addRule() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | sfp-bus.c | 49 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_port() argument 55 switch (id->base.connector) { in sfp_parse_port() 76 if (id->base.e1000_base_t) { in sfp_parse_port() 89 id->base.connector); in sfp_parse_port() 118 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id) in sfp_may_have_phy() argument 120 if (id->base.e1000_base_t) in sfp_may_have_phy() 123 if (id->base.phys_id != SFF8024_ID_DWDM_SFP) { in sfp_may_have_phy() 124 switch (id->base.extended_cc) { in sfp_may_have_phy() 148 void sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, in sfp_parse_support() argument 156 if (id->base.br_nominal) { in sfp_parse_support() [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_sandbox_test.c | 44 ulong sandbox_clk_test_get_rate(struct udevice *dev, int id) in sandbox_clk_test_get_rate() argument 48 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_get_rate() 51 return clk_get_rate(&sbct->clks[id]); in sandbox_clk_test_get_rate() 54 ulong sandbox_clk_test_set_rate(struct udevice *dev, int id, ulong rate) in sandbox_clk_test_set_rate() argument 58 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_set_rate() 61 return clk_set_rate(&sbct->clks[id], rate); in sandbox_clk_test_set_rate() 64 int sandbox_clk_test_enable(struct udevice *dev, int id) in sandbox_clk_test_enable() argument 68 if (id < 0 || id >= SANDBOX_CLK_TEST_ID_COUNT) in sandbox_clk_test_enable() 71 return clk_enable(&sbct->clks[id]); in sandbox_clk_test_enable() 81 int sandbox_clk_test_disable(struct udevice *dev, int id) in sandbox_clk_test_disable() argument [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | passthru.c | 85 struct nvme_id_ctrl *id; in nvmet_passthru_override_id_ctrl() local 89 id = kzalloc(sizeof(*id), GFP_KERNEL); in nvmet_passthru_override_id_ctrl() 90 if (!id) in nvmet_passthru_override_id_ctrl() 93 status = nvmet_copy_from_sgl(req, 0, id, sizeof(*id)); in nvmet_passthru_override_id_ctrl() 97 id->cntlid = cpu_to_le16(ctrl->cntlid); in nvmet_passthru_override_id_ctrl() 98 id->ver = cpu_to_le32(ctrl->subsys->ver); in nvmet_passthru_override_id_ctrl() 117 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl() 119 id->acl = 3; in nvmet_passthru_override_id_ctrl() 124 id->aerl = NVMET_ASYNC_EVENTS - 1; in nvmet_passthru_override_id_ctrl() 127 id->kas = cpu_to_le16(NVMET_KAS); in nvmet_passthru_override_id_ctrl() [all …]
|
/openbmc/linux/drivers/rapidio/ |
H A D | rio-driver.c | 27 *id, in rio_match_device() 30 while (id->vid || id->asm_vid) { in rio_match_device() 31 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && in rio_match_device() 32 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) && in rio_match_device() 33 ((id->asm_vid == RIO_ANY_ID) in rio_match_device() 34 || (id->asm_vid == rdev->asm_vid)) in rio_match_device() 35 && ((id->asm_did == RIO_ANY_ID) in rio_match_device() 36 || (id->asm_did == rdev->asm_did))) in rio_match_device() 37 return id; in rio_match_device() 38 id++; in rio_match_device() [all …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | sandbox-dma-test.c | 23 u32 id; member 58 dma->id = args->args[0]; in sandbox_dma_of_xlate() 60 uc = &ud->channels[dma->id]; in sandbox_dma_of_xlate() 62 if (dma->id == 1) in sandbox_dma_of_xlate() 64 else if (dma->id == 2) in sandbox_dma_of_xlate() 68 debug("%s(dma id=%lu dir=%d)\n", __func__, dma->id, uc->dir); in sandbox_dma_of_xlate() 78 if (dma->id >= SANDBOX_DMA_CH_CNT) in sandbox_dma_request() 81 uc = &ud->channels[dma->id]; in sandbox_dma_request() 86 debug("%s(dma id=%lu in_use=%d)\n", __func__, dma->id, uc->in_use); in sandbox_dma_request() 96 if (dma->id >= SANDBOX_DMA_CH_CNT) in sandbox_dma_free() [all …]
|
/openbmc/u-boot/drivers/core/ |
H A D | uclass.c | 34 if (uc->uc_drv->id == key) in uclass_find() 50 static int uclass_add(enum uclass_id id, struct uclass **ucp) in uclass_add() argument 57 uc_drv = lists_uclass_lookup(id); in uclass_add() 60 id); in uclass_add() 138 int uclass_get(enum uclass_id id, struct uclass **ucp) in uclass_get() argument 143 uc = uclass_find(id); in uclass_get() 145 return uclass_add(id, ucp); in uclass_get() 151 const char *uclass_get_name(enum uclass_id id) in uclass_get_name() argument 155 if (uclass_get(id, &uc)) in uclass_get_name() 195 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp) in uclass_find_device() argument [all …]
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm80xx_tracepoints.h | 19 TP_PROTO(u32 id, u32 phy_id, u32 htag, u32 ctlr_opcode, 22 TP_ARGS(id, phy_id, htag, ctlr_opcode, ata_opcode, running_req), 25 __field(u32, id) 34 __entry->id = id; 43 __entry->id, __entry->phy_id, __entry->htag, 49 TP_PROTO(u32 id, u32 phy_id, u32 htag, u32 ctlr_opcode, 52 TP_ARGS(id, phy_id, htag, ctlr_opcode, ata_opcode, running_req), 55 __field(u32, id) 64 __entry->id = id; 73 __entry->id, __entry->phy_id, __entry->htag, [all …]
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm-lpass-dais.c | 32 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_set_channel_map() 35 switch (dai->id) { in q6dma_set_channel_map() 86 __func__, dai->id); in q6dma_set_channel_map() 99 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6hdmi_hw_params() 107 switch (dai->id) { in q6hdmi_hw_params() 112 cfg->dp_idx = dai->id - DISPLAY_PORT_RX_1 + 1; in q6hdmi_hw_params() 129 struct audioreach_module_config *cfg = &dai_data->module_config[dai->id]; in q6dma_hw_params() 143 if (dai_data->is_port_started[dai->id]) { in q6apm_lpass_dai_shutdown() 144 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown() 145 dai_data->is_port_started[dai->id] = false; in q6apm_lpass_dai_shutdown() [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 14 v4l2_std_id id; member 123 v4l2_std_id id = 0; in pvr2_std_str_to_id() local 143 cmsk = sp->id; in pvr2_std_str_to_id() 159 t = sp->id & cmsk; in pvr2_std_str_to_id() 161 id |= t; in pvr2_std_str_to_id() 167 if (idPtr) *idPtr = id; in pvr2_std_str_to_id() 173 v4l2_std_id id) in pvr2_std_id_to_str() argument 186 if (!(gp->id & ip->id & id)) continue; in pvr2_std_id_to_str() 219 .id = (TSTD_B|TSTD_B1| 236 .id = (TSTD_M| [all …]
|
/openbmc/qemu/docs/system/ |
H A D | cpu-hotplug.rst | 37 "core-id": 1, 38 "socket-id": 0, 39 "thread-id": 0 46 "core-id": 0, 47 "socket-id": 0, 48 "thread-id": 0 65 (QEMU) device_add id=cpu-2 driver=IvyBridge-IBRS-x86_64-cpu socket-id=0 core-id=1 thread-id=0 69 "core-id": 1, 71 "id": "cpu-2", 72 "socket-id": 0, [all …]
|