/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | powergate.c | 22 static int tegra_powergate_set(enum tegra_powergate id, bool state) in tegra_powergate_set() argument 24 u32 value, mask = state ? (1 << id) : 0, old_mask; in tegra_powergate_set() 28 old_mask = value & (1 << id); in tegra_powergate_set() 33 writel(PWRGATE_TOGGLE_START | id, NV_PA_PMC_BASE + PWRGATE_TOGGLE); in tegra_powergate_set() 39 if ((value & (1 << id)) == mask) in tegra_powergate_set() 46 int tegra_powergate_power_on(enum tegra_powergate id) in tegra_powergate_power_on() argument 48 return tegra_powergate_set(id, true); in tegra_powergate_power_on() 51 int tegra_powergate_power_off(enum tegra_powergate id) in tegra_powergate_power_off() argument 53 return tegra_powergate_set(id, false); in tegra_powergate_power_off() 56 static int tegra_powergate_remove_clamping(enum tegra_powergate id) in tegra_powergate_remove_clamping() argument [all …]
|
/openbmc/linux/kernel/printk/ |
H A D | printk_ringbuffer.c | 333 #define DESC_ID_PREV_WRAP(desc_ring, id) \ argument 334 DESC_ID((id) - DESCS_COUNT(desc_ring)) 347 unsigned long id; member 384 size = ALIGN(size, sizeof(db->id)); in to_blk_size() 407 if (size > DATA_SIZE(data_ring) - sizeof(db->id)) in data_check_size() 414 static enum desc_state get_desc_state(unsigned long id, in get_desc_state() argument 417 if (id != DESC_ID(state_val)) in get_desc_state() 433 unsigned long id, struct prb_desc *desc_out, in desc_read() argument 436 struct printk_info *info = to_info(desc_ring, id); in desc_read() 437 struct prb_desc *desc = to_desc(desc_ring, id); in desc_read() [all …]
|
/openbmc/linux/include/linux/ |
H A D | reset.h | 24 const char *id; member 45 const char *id, int index, bool shared, 47 struct reset_control *__reset_control_get(struct device *dev, const char *id, 58 const char *id, int index, bool shared, 119 const char *id, int index, bool shared, in __of_reset_control_get() argument 126 struct device *dev, const char *id, in __reset_control_get() argument 176 struct device *dev, const char *id, in __devm_reset_control_get() argument 237 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive() argument 239 return __reset_control_get(dev, id, 0, false, false, true); in reset_control_get_exclusive() 275 const char *id) in reset_control_get_exclusive_released() argument [all …]
|
H A D | kernel_read_file.h | 9 #define __kernel_read_file_id(id) \ argument 10 id(UNKNOWN, unknown) \ 11 id(FIRMWARE, firmware) \ 12 id(MODULE, kernel-module) \ 13 id(KEXEC_IMAGE, kexec-image) \ 14 id(KEXEC_INITRAMFS, kexec-initramfs) \ 15 id(POLICY, security-policy) \ 16 id(X509_CERTIFICATE, x509-certificate) \ 17 id(MAX_ID, ) 30 static inline const char *kernel_read_file_id_str(enum kernel_read_file_id id) in kernel_read_file_id_str() argument [all …]
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-config.c | 411 void set_isst_id(struct isst_id *id, int cpu) in set_isst_id() argument 413 id->cpu = cpu; in set_isst_id() 415 id->pkg = get_physical_package_id(cpu); in set_isst_id() 416 if (id->pkg >= MAX_PACKAGE_COUNT) in set_isst_id() 417 id->pkg = -1; in set_isst_id() 419 id->die = get_physical_die_id(cpu); in set_isst_id() 420 if (id->die >= MAX_DIE_PER_PACKAGE) in set_isst_id() 421 id->die = -1; in set_isst_id() 423 id->punit = get_physical_punit_id(cpu); in set_isst_id() 424 if (id->punit >= MAX_PUNIT_PER_DIE) in set_isst_id() [all …]
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | psc.c | 33 static void lpsc_transition(unsigned int id, unsigned int state) in lpsc_transition() argument 41 if (id >= DAVINCI_LPSC_GEM) in lpsc_transition() 44 mdstat = REG_P(PSC_MDSTAT_BASE + (id * 4)); in lpsc_transition() 45 mdctl = REG_P(PSC_MDCTL_BASE + (id * 4)); in lpsc_transition() 49 if (id < DAVINCI_LPSC_PSC1_BASE) { in lpsc_transition() 50 if (id >= PSC_PSC0_MODULE_ID_CNT) in lpsc_transition() 53 mdstat = &psc_regs->psc0.mdstat[id]; in lpsc_transition() 54 mdctl = &psc_regs->psc0.mdctl[id]; in lpsc_transition() 56 id -= DAVINCI_LPSC_PSC1_BASE; in lpsc_transition() 57 if (id >= PSC_PSC1_MODULE_ID_CNT) in lpsc_transition() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | ddc_regs.h | 34 #define DDC_GPIO_REG_LIST_ENTRY(type, cd, id) \ argument 35 .type ## _reg = REG(DC_GPIO_DDC ## id ## _ ## type),\ 36 ….type ## _mask = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## _MAS… 37 ….type ## _shift = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## __SH… 39 #define DDC_GPIO_REG_LIST(cd, id) \ argument 41 DDC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\ 42 DDC_GPIO_REG_LIST_ENTRY(A, cd, id),\ 43 DDC_GPIO_REG_LIST_ENTRY(EN, cd, id),\ 44 DDC_GPIO_REG_LIST_ENTRY(Y, cd, id)\ 47 #define DDC_REG_LIST(cd, id) \ argument [all …]
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra20.c | 93 .id = 0x00, 96 .id = 0x01, 99 .id = 0x02, 102 .id = 0x03, 105 .id = 0x04, 108 .id = 0x05, 111 .id = 0x06, 114 .id = 0x07, 117 .id = 0x08, 120 .id = 0x09, [all …]
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | msm8996.c | 42 .id = MSM8996_MASTER_PCIE_0, 57 .id = MSM8996_MASTER_PCIE_1, 72 .id = MSM8996_MASTER_PCIE_2, 91 .id = MSM8996_MASTER_CNOC_A1NOC, 103 .id = MSM8996_MASTER_CRYPTO_CORE0, 118 .id = MSM8996_MASTER_PNOC_A1NOC, 137 .id = MSM8996_MASTER_USB3, 152 .id = MSM8996_MASTER_IPA, 167 .id = MSM8996_MASTER_UFS, 188 .id = MSM8996_MASTER_AMPSS_M0, [all …]
|
H A D | sdx55.c | 24 .id = SDX55_MASTER_LLCC, 33 .id = SDX55_MASTER_TCU_0, 45 .id = SDX55_MASTER_SNOC_GC_MEM_NOC, 54 .id = SDX55_MASTER_AMPSS_M0, 66 .id = SDX55_MASTER_AUDIO, 75 .id = SDX55_MASTER_BLSP_1, 84 .id = SDX55_MASTER_QDSS_BAM, 121 .id = SDX55_MASTER_QPIC, 135 .id = SDX55_MASTER_SNOC_CFG, 144 .id = SDX55_MASTER_SPMI_FETCHER, [all …]
|
H A D | msm8916.c | 113 .id = MSM8916_BIMC_SNOC_MAS, 130 .id = MSM8916_BIMC_SNOC_SLV, 148 .id = MSM8916_MASTER_AMPSS_M0, 167 .id = MSM8916_MASTER_LPASS, 181 .id = MSM8916_MASTER_BLSP_1, 195 .id = MSM8916_MASTER_DEHR, 211 .id = MSM8916_MASTER_GRAPHICS_3D, 231 .id = MSM8916_MASTER_JPEG, 251 .id = MSM8916_MASTER_MDP_PORT0, 270 .id = MSM8916_MASTER_CRYPTO_CORE0, [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_sandbox.c | 21 if (clk->id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_get_rate() 24 return priv->rate[clk->id]; in sandbox_clk_get_rate() 32 if (clk->id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_set_rate() 38 old_rate = priv->rate[clk->id]; in sandbox_clk_set_rate() 39 priv->rate[clk->id] = rate; in sandbox_clk_set_rate() 48 if (clk->id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_enable() 51 priv->enabled[clk->id] = true; in sandbox_clk_enable() 60 if (clk->id >= SANDBOX_CLK_ID_COUNT) in sandbox_clk_disable() 63 priv->enabled[clk->id] = false; in sandbox_clk_disable() 82 .id = UCLASS_CLK, [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 240 | 44 self.vm.qmp_log('object-add', qom_type='iothread', id="iothread0") 45 …self.vm.qmp_log('device_add', id='scsi0', driver='virtio-scsi', iothread='iothread0', filters=[iot… 46 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0') 47 self.vm.qmp_log('device_del', id='scsi-hd0') 49 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0') 50 self.vm.qmp_log('device_del', id='scsi-hd0') 57 self.vm.qmp_log('object-add', qom_type='iothread', id="iothread0") 58 …self.vm.qmp_log('device_add', id='scsi0', driver='virtio-scsi', iothread='iothread0', filters=[iot… 60 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0') 61 self.vm.qmp_log('device_add', id='scsi-hd1', driver='scsi-hd', drive='hd0') [all …]
|
H A D | 212.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 5 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 12 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 21 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 23 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 26 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 1048576,… 28 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 39 {"execute": "job-dismiss", "arguments": {"id": "job0"}} [all …]
|
/openbmc/linux/drivers/pnp/ |
H A D | card.c | 24 while (*drv_id->id) { in match_card() 25 if (compare_pnp_id(card->id, drv_id->id)) { in match_card() 33 !*drv_id->devs[i].id) in match_card() 37 if (compare_pnp_id(dev->id, in match_card() 38 drv_id->devs[i].id)) { in match_card() 73 const struct pnp_card_device_id *id; in card_probe() local 79 id = match_card(drv, card); in card_probe() 80 if (!id) in card_probe() 90 if (drv->probe(clink, id) >= 0) in card_probe() 107 static struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id) in pnp_add_card_id() argument [all …]
|
/openbmc/linux/lib/ |
H A D | idr.c | 39 unsigned int id = *nextid; in idr_alloc_u32() local 44 id = (id < base) ? 0 : id - base; in idr_alloc_u32() 45 radix_tree_iter_init(&iter, id); in idr_alloc_u32() 81 u32 id = start; in idr_alloc() local 87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc() 91 return id; in idr_alloc() 119 u32 id = idr->idr_next; in idr_alloc_cyclic() local 122 if ((int)id < start) in idr_alloc_cyclic() 123 id = start; in idr_alloc_cyclic() 125 err = idr_alloc_u32(idr, ptr, &id, max, gfp); in idr_alloc_cyclic() [all …]
|
/openbmc/linux/drivers/soc/renesas/ |
H A D | renesas-soc.c | 91 u32 id; member 100 .id = 0x3b, 105 .id = 0x3f, 110 .id = 0x40, 115 .id = 0x847c447, 120 .id = 0x45, 125 .id = 0x47, 130 .id = 0x4b, 135 .id = 0x4c, 140 .id = 0x53, [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_9_0_sm8550.h | 44 .name = "ctl_0", .id = CTL_0, 49 .name = "ctl_1", .id = CTL_1, 54 .name = "ctl_2", .id = CTL_2, 59 .name = "ctl_3", .id = CTL_3, 64 .name = "ctl_4", .id = CTL_4, 69 .name = "ctl_5", .id = CTL_5, 78 .name = "sspp_0", .id = SSPP_VIG0, 86 .name = "sspp_1", .id = SSPP_VIG1, 94 .name = "sspp_2", .id = SSPP_VIG2, 102 .name = "sspp_3", .id = SSPP_VIG3, [all …]
|
H A D | dpu_8_0_sc8280xp.h | 42 .name = "ctl_0", .id = CTL_0, 47 .name = "ctl_1", .id = CTL_1, 52 .name = "ctl_2", .id = CTL_2, 57 .name = "ctl_3", .id = CTL_3, 62 .name = "ctl_4", .id = CTL_4, 67 .name = "ctl_5", .id = CTL_5, 76 .name = "sspp_0", .id = SSPP_VIG0, 84 .name = "sspp_1", .id = SSPP_VIG1, 92 .name = "sspp_2", .id = SSPP_VIG2, 100 .name = "sspp_3", .id = SSPP_VIG3, [all …]
|
H A D | dpu_8_1_sm8450.h | 43 .name = "ctl_0", .id = CTL_0, 48 .name = "ctl_1", .id = CTL_1, 53 .name = "ctl_2", .id = CTL_2, 58 .name = "ctl_3", .id = CTL_3, 63 .name = "ctl_4", .id = CTL_4, 68 .name = "ctl_5", .id = CTL_5, 77 .name = "sspp_0", .id = SSPP_VIG0, 85 .name = "sspp_1", .id = SSPP_VIG1, 93 .name = "sspp_2", .id = SSPP_VIG2, 101 .name = "sspp_3", .id = SSPP_VIG3, [all …]
|
H A D | dpu_5_1_sc8180x.h | 42 .name = "ctl_0", .id = CTL_0, 47 .name = "ctl_1", .id = CTL_1, 52 .name = "ctl_2", .id = CTL_2, 57 .name = "ctl_3", .id = CTL_3, 62 .name = "ctl_4", .id = CTL_4, 67 .name = "ctl_5", .id = CTL_5, 76 .name = "sspp_0", .id = SSPP_VIG0, 84 .name = "sspp_1", .id = SSPP_VIG1, 92 .name = "sspp_2", .id = SSPP_VIG2, 100 .name = "sspp_3", .id = SSPP_VIG3, [all …]
|
H A D | dpu_6_0_sm8250.h | 42 .name = "ctl_0", .id = CTL_0, 47 .name = "ctl_1", .id = CTL_1, 52 .name = "ctl_2", .id = CTL_2, 57 .name = "ctl_3", .id = CTL_3, 62 .name = "ctl_4", .id = CTL_4, 67 .name = "ctl_5", .id = CTL_5, 76 .name = "sspp_0", .id = SSPP_VIG0, 84 .name = "sspp_1", .id = SSPP_VIG1, 92 .name = "sspp_2", .id = SSPP_VIG2, 100 .name = "sspp_3", .id = SSPP_VIG3, [all …]
|
/openbmc/u-boot/cmd/ |
H A D | mtdparts.c | 279 sprintf(buf, "%s%d,%d", MTD_DEV_TYPE(current_mtd_dev->id->type), in current_save() 280 current_mtd_dev->id->num, current_mtd_partnum); in current_save() 328 static int part_validate_eraseblock(struct mtdids *id, struct part_info *part) in part_validate_eraseblock() argument 335 if (get_mtd_info(id->type, id->num, &mtd)) in part_validate_eraseblock() 349 MTD_DEV_TYPE(id->type), id->num, part->name); in part_validate_eraseblock() 356 MTD_DEV_TYPE(id->type), id->num, part->name); in part_validate_eraseblock() 376 MTD_DEV_TYPE(id->type), id->num, part->name); in part_validate_eraseblock() 395 MTD_DEV_TYPE(id->type), id->num, part->name); in part_validate_eraseblock() 415 static int part_validate(struct mtdids *id, struct part_info *part) in part_validate() argument 418 part->size = id->size - part->offset; in part_validate() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_ipp.h | 34 #define IPP_REG_LIST_DCN(id) \ argument 35 SRI(FORMAT_CONTROL, CNVC_CFG, id), \ 36 SRI(CNVC_SURFACE_PIXEL_FORMAT, CNVC_CFG, id), \ 37 SRI(CURSOR0_CONTROL, CNVC_CUR, id), \ 38 SRI(CURSOR0_COLOR0, CNVC_CUR, id), \ 39 SRI(CURSOR0_COLOR1, CNVC_CUR, id) 41 #define IPP_REG_LIST_DCN10(id) \ argument 42 IPP_REG_LIST_DCN(id), \ 43 SRI(CURSOR_SETTINS, HUBPREQ, id), \ 44 SRI(CURSOR_SURFACE_ADDRESS_HIGH, CURSOR, id), \ [all …]
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16.c | 47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 71 module_param_array(id, charp, NULL, 0444); 72 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard."); 128 { .id = "CTL0024", .devs = { { "CTL0031" } } }, 130 { .id = "CTL0025", .devs = { { "CTL0031" } } }, 132 { .id = "CTL0026", .devs = { { "CTL0031" } } }, 134 { .id = "CTL0027", .devs = { { "CTL0031" } } }, 136 { .id = "CTL0028", .devs = { { "CTL0031" } } }, 138 { .id = "CTL0029", .devs = { { "CTL0031" } } }, 140 { .id = "CTL002a", .devs = { { "CTL0031" } } }, [all …]
|