Home
last modified time | relevance | path

Searched refs:id (Results 451 – 475 of 15112) sorted by relevance

1...<<11121314151617181920>>...605

/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Dti-bandgap.c38 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id);
78 #define RMW_BITS(bgp, id, reg, mask, val) \ argument
83 t = bgp->conf->sensors[(id)].registers; \
158 static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) in ti_bandgap_read_temp() argument
163 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_temp()
167 RMW_BITS(bgp, id, bgap_mask_ctrl, mask_freeze_mask, 1); in ti_bandgap_read_temp()
184 RMW_BITS(bgp, id, bgap_mask_ctrl, mask_freeze_mask, 0); in ti_bandgap_read_temp()
315 static inline int ti_bandgap_validate(struct ti_bandgap *bgp, int id) in ti_bandgap_validate() argument
322 if ((id < 0) || (id >= bgp->conf->sensor_count)) { in ti_bandgap_validate()
324 __func__, id); in ti_bandgap_validate()
[all …]
/openbmc/linux/drivers/soc/mediatek/
H A Dmtk-mutex.c286 u8 id; member
734 mutex[mutex->id]); in mtk_mutex_put()
736 WARN_ON(&mtx->mutex[mutex->id] != mutex); in mtk_mutex_put()
745 mutex[mutex->id]); in mtk_mutex_prepare()
753 mutex[mutex->id]); in mtk_mutex_unprepare()
759 enum mtk_ddp_comp_id id) in mtk_mutex_add_comp() argument
762 mutex[mutex->id]); in mtk_mutex_add_comp()
767 WARN_ON(&mtx->mutex[mutex->id] != mutex); in mtk_mutex_add_comp()
769 switch (id) { in mtk_mutex_add_comp()
795 if (mtx->data->mutex_mod[id] < 32) { in mtk_mutex_add_comp()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-bd2802.c108 static inline int bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, in bd2802_is_rgb_off() argument
113 return !led->led[id].r; in bd2802_is_rgb_off()
115 return !led->led[id].g; in bd2802_is_rgb_off()
117 return !led->led[id].b; in bd2802_is_rgb_off()
124 static inline int bd2802_is_led_off(struct bd2802_led *led, enum led_ids id) in bd2802_is_led_off() argument
126 if (led->led[id].r || led->led[id].g || led->led[id].b) in bd2802_is_led_off()
143 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument
145 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset()
148 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument
151 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr()
[all …]
/openbmc/linux/drivers/reset/
H A Dreset-lpc18xx.c67 unsigned long id, bool set) in lpc18xx_rgu_setclear_reset() argument
75 stat_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset()
76 ctrl_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset()
77 rst_bit = 1 << (id % LPC18XX_RGU_RESETS_PER_REG); in lpc18xx_rgu_setclear_reset()
91 unsigned long id) in lpc18xx_rgu_assert() argument
93 return lpc18xx_rgu_setclear_reset(rcdev, id, true); in lpc18xx_rgu_assert()
97 unsigned long id) in lpc18xx_rgu_deassert() argument
99 return lpc18xx_rgu_setclear_reset(rcdev, id, false); in lpc18xx_rgu_deassert()
104 unsigned long id) in lpc18xx_rgu_reset() argument
108 lpc18xx_rgu_assert(rcdev, id); in lpc18xx_rgu_reset()
[all …]
H A Dreset-a10sr.c29 static inline int a10sr_reset_shift(unsigned long id) in a10sr_reset_shift() argument
31 switch (id) { in a10sr_reset_shift()
38 return id + 11; in a10sr_reset_shift()
45 unsigned long id, bool assert) in a10sr_reset_update() argument
48 int offset = a10sr_reset_shift(id); in a10sr_reset_update()
56 unsigned long id) in a10sr_reset_assert() argument
58 return a10sr_reset_update(rcdev, id, true); in a10sr_reset_assert()
62 unsigned long id) in a10sr_reset_deassert() argument
64 return a10sr_reset_update(rcdev, id, false); in a10sr_reset_deassert()
68 unsigned long id) in a10sr_reset_status() argument
[all …]
H A Dreset-lantiq.c36 unsigned long id) in lantiq_rcu_reset_status() argument
39 unsigned int status = (id >> 8) & 0x1f; in lantiq_rcu_reset_status()
51 unsigned long id, bool assert) in lantiq_rcu_reset_status_timeout() argument
57 ret = lantiq_rcu_reset_status(rcdev, id); in lantiq_rcu_reset_status_timeout()
69 unsigned long id, bool assert) in lantiq_rcu_reset_update() argument
72 unsigned int set = id & 0x1f; in lantiq_rcu_reset_update()
84 ret = lantiq_rcu_reset_status_timeout(rcdev, id, assert); in lantiq_rcu_reset_update()
93 unsigned long id) in lantiq_rcu_reset_assert() argument
95 return lantiq_rcu_reset_update(rcdev, id, true); in lantiq_rcu_reset_assert()
99 unsigned long id) in lantiq_rcu_reset_deassert() argument
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dzconf.y27 static bool zconf_endtoken(const struct kconf_id *id, int starttoken, int endtoken);
43 const struct kconf_id *id; member
46 %token <id>T_MAINMENU
47 %token <id>T_MENU
48 %token <id>T_ENDMENU
49 %token <id>T_SOURCE
50 %token <id>T_CHOICE
51 %token <id>T_ENDCHOICE
52 %token <id>T_COMMENT
53 %token <id>T_CONFIG
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-i3c1 What: /sys/bus/i3c/devices/i3c-<bus-id>
8 What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master
12 Expose the master that owns the bus (<bus-id>-<master-pid>) at
17 What: /sys/bus/i3c/devices/i3c-<bus-id>/mode
25 What: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency
32 What: /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency
39 What: /sys/bus/i3c/devices/i3c-<bus-id>/dynamic_address
46 What: /sys/bus/i3c/devices/i3c-<bus-id>/bcr
56 What: /sys/bus/i3c/devices/i3c-<bus-id>/dcr
66 What: /sys/bus/i3c/devices/i3c-<bus-id>/pid
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn315/
H A Ddcn315_resource.c165 #define SRI(reg_name, block, id)\ argument
166 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
167 reg ## block ## id ## _ ## reg_name
169 #define SRI2(reg_name, block, id)\ argument
173 #define SRIR(var_name, reg_name, block, id)\ argument
174 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
175 reg ## block ## id ## _ ## reg_name
177 #define SRII(reg_name, block, id)\ argument
178 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
179 reg ## block ## id ## _ ## reg_name
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_opp.h36 #define OPP_DPG_REG_LIST(id) \ argument
37 SRI(DPG_CONTROL, DPG, id), \
38 SRI(DPG_DIMENSIONS, DPG, id), \
39 SRI(DPG_OFFSET_SEGMENT, DPG, id), \
40 SRI(DPG_COLOUR_B_CB, DPG, id), \
41 SRI(DPG_COLOUR_G_Y, DPG, id), \
42 SRI(DPG_COLOUR_R_CR, DPG, id), \
43 SRI(DPG_RAMP_CONTROL, DPG, id), \
44 SRI(DPG_STATUS, DPG, id)
46 #define OPP_REG_LIST_DCN20(id) \ argument
[all …]
/openbmc/phosphor-logging/test/
H A Delog_update_ts_test.cpp52 uint32_t id = std::rand(); in TEST() local
54 if (fs::exists(fs::path{paths::error()} / std::to_string(id))) in TEST()
56 std::cerr << "Another testcase is using ID " << id << "\n"; in TEST()
57 id = std::rand(); in TEST()
68 std::string(OBJ_ENTRY) + '/' + std::to_string(id), in TEST()
69 id, in TEST()
100 fs::remove(fs::path{paths::error()} / std::to_string(id)); in TEST()
123 uint32_t id = std::rand(); in TEST() local
125 if (fs::exists(persist_path / std::to_string(id))) in TEST()
127 std::cerr << "Another testcase is using ID " << id << "\n"; in TEST()
[all …]
/openbmc/linux/tools/perf/util/
H A Dexpr.c99 int ids__insert(struct hashmap *ids, const char *id) in ids__insert() argument
105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert()
149 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id() argument
151 return ids__insert(ctx->ids, id); in expr__add_id()
155 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val() argument
157 return expr__add_id_val_source_count(ctx, id, val, /*source_count=*/1); in expr__add_id_val()
161 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, in expr__add_id_val_source_count() argument
175 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count()
222 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id() argument
225 return hashmap__find(ctx->ids, id, data) ? 0 : -1; in expr__get_id()
[all …]
/openbmc/linux/fs/nfsd/
H A Dnfs4idmap.c66 u32 id; member
83 new->id = itm->id; in ent_init()
117 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
140 snprintf(idstr, sizeof(idstr), "%u", ent->id); in idtoname_request()
153 return (a->id == b->id && a->type == b->type && in idtoname_match()
169 ent->id); in idtoname_show()
238 ent.id = simple_strtoul(buf1, &bp, 10); in idtoname_parse()
349 seq_printf(m, " %u", ent->id); in nametoid_show()
416 error = get_int(&buf, &ent.id); in nametoid_parse()
540 u32 *id) in idmap_name_to_id() argument
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Did_map.hpp82 Device& getDevice(const std::string& id) const in getDevice()
84 auto it = deviceMap.find(id); in getDevice()
88 "Unable to find device with ID \"" + id + '"'}; in getDevice()
101 Rail& getRail(const std::string& id) const in getRail()
103 auto it = railMap.find(id); in getRail()
107 "Unable to find rail with ID \"" + id + '"'}; in getRail()
120 Rule& getRule(const std::string& id) const in getRule()
122 auto it = ruleMap.find(id); in getRule()
126 "Unable to find rule with ID \"" + id + '"'}; in getRule()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c32 int ivtv_claim_stream(struct ivtv_open_id *id, int type) in ivtv_claim_stream() argument
34 struct ivtv *itv = id->itv; in ivtv_claim_stream()
41 if (s->fh == &id->fh) { in ivtv_claim_stream()
50 s->fh = &id->fh; in ivtv_claim_stream()
58 s->fh = &id->fh; in ivtv_claim_stream()
415 int ivtv_start_capture(struct ivtv_open_id *id) in ivtv_start_capture() argument
417 struct ivtv *itv = id->itv; in ivtv_start_capture()
418 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
430 if (ivtv_claim_stream(id, s->type)) in ivtv_start_capture()
495 struct ivtv_open_id *id = fh2id(filp->private_data); in ivtv_v4l2_read() local
[all …]
/openbmc/linux/arch/arm/mach-sa1100/
H A Dgeneric.c127 .id = -1,
143 .id = 1,
155 .id = 3,
170 .id = -1,
203 .id = -1,
219 .id = -1,
241 .id = -1,
261 .id = -1,
280 .id = -1,
322 struct regulator_init_data *id; in sa11x0_register_fixed_regulator() local
[all …]
/openbmc/linux/drivers/watchdog/
H A Dxen_wdt.c52 if (!wdt.id) in xen_wdt_start()
57 wdt.id = err; in xen_wdt_start()
71 if (wdt.id) in xen_wdt_stop()
74 wdt.id = 0; in xen_wdt_stop()
85 if (wdt.id) in xen_wdt_kick()
122 struct sched_watchdog wd = { .id = ~0 }; in xen_wdt_probe()
152 typeof(wdt.id) id = wdt.id; in xen_wdt_suspend()
155 wdt.id = id; in xen_wdt_suspend()
161 if (!wdt.id) in xen_wdt_resume()
163 wdt.id = 0; in xen_wdt_resume()
/openbmc/u-boot/drivers/reset/aspeed/
H A Dreset-ast2600.c26 debug("ast2600_reset_assert reset_ctl->id %ld \n", reset_ctl->id); in ast2600_reset_deassert()
28 if(reset_ctl->id >= 32) in ast2600_reset_deassert()
29 writel(BIT(reset_ctl->id - 32), &scu->sysreset_clr_ctrl2); in ast2600_reset_deassert()
31 writel(BIT(reset_ctl->id), &scu->sysreset_clr_ctrl1); in ast2600_reset_deassert()
41 debug("ast2600_reset_assert reset_ctl->id %ld \n", reset_ctl->id); in ast2600_reset_assert()
43 if(reset_ctl->id >= 32) in ast2600_reset_assert()
44 writel(BIT(reset_ctl->id - 32), &scu->sysreset_ctrl2); in ast2600_reset_assert()
46 writel(BIT(reset_ctl->id), &scu->sysreset_ctrl1); in ast2600_reset_assert()
54 reset_ctl->dev, reset_ctl->id); in ast2600_reset_request()
112 .id = UCLASS_RESET,
/openbmc/linux/lib/
H A Dtest_rhashtable.c58 int id; member
74 int id; member
83 return (obj->value.id % 10); in my_hashfn()
91 return test_obj->value.id - val->id; in my_cmpfn()
146 .id = i, in test_rht_lookup()
149 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup()
155 pr_warn("Test failed: Could not find key %u\n", key.id); in test_rht_lookup()
159 key.id); in test_rht_lookup()
162 if (obj->value.id != i) { in test_rht_lookup()
164 obj->value.id, i); in test_rht_lookup()
[all …]
/openbmc/qemu/block/export/
H A Dexport.c50 BlockExport *blk_exp_find(const char *id) in blk_exp_find() argument
55 if (strcmp(id, exp->id) == 0) { in blk_exp_find()
88 if (!id_wellformed(export->id)) { in blk_exp_add()
92 if (blk_exp_find(export->id)) { in blk_exp_add()
93 error_setg(errp, "Block export id '%s' is already in use", export->id); in blk_exp_add()
178 .id = g_strdup(export->id), in blk_exp_add()
199 g_free(exp->id); in blk_exp_add()
221 qapi_event_send_block_export_deleted(exp->id); in blk_exp_delete_bh()
222 g_free(exp->id); in blk_exp_delete_bh()
308 void qmp_block_export_del(const char *id, in qmp_block_export_del() argument
[all …]
/openbmc/qemu/net/
H A Dhub.c36 int id; member
40 int id; member
79 static NetHub *net_hub_new(int id) in net_hub_new() argument
84 hub->id = id; in net_hub_new()
149 int id = hub->num_ports++; in net_hub_port_new() local
154 "hub%dport%d", hub->id, id); in net_hub_port_new()
160 port->id = id; in net_hub_port_new()
183 if (hub->id == hub_id) { in net_hub_add_port()
205 monitor_printf(mon, "hub %d\n", hub->id); in net_hub_info()
223 int net_hub_id_for_client(NetClientState *nc, int *id) in net_hub_id_for_client() argument
[all …]
/openbmc/linux/sound/isa/
H A Dazt2320.c40 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable
53 module_param_array(id, charp, NULL, 0444);
54 MODULE_PARM_DESC(id, "ID string for azt2320 based soundcard.");
67 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } },
69 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } },
71 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } },
73 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } },
75 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } },
77 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } },
78 { .id = "" } /* end */
[all …]
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dupdate_manager.cpp35 std::string& id) in processImageFailed() argument
39 itemUpdater.updateActivationStatus(id, in processImageFailed()
57 std::string id, std::string objPath) in processImage() argument
68 processImageFailed(image, id); in processImage()
81 processImageFailed(image, id); in processImage()
95 processImageFailed(image, id); in processImage()
108 processImageFailed(image, id); in processImage()
125 processImageFailed(image, id); in processImage()
145 processImageFailed(image, id); in processImage()
164 processImageFailed(image, id); in processImage()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dga100.c38 return (chan->cgrp->runl->doorbell << 16) | chan->id; in ga100_chan_doorbell_handle()
46 nvkm_wr32(runl->fifo->engine.subdev.device, runl->chan + (chan->id * 4), 0x00000003); in ga100_chan_stop()
56 nvkm_wr32(device, runl->chan + (chan->id * 4), 0x00000002); in ga100_chan_start()
57 nvkm_wr32(device, runl->addr + 0x0090, (gfid << 16) | chan->id); /* INTERNAL_DOORBELL. */ in ga100_chan_start()
65 nvkm_wr32(runl->fifo->engine.subdev.device, runl->chan + (chan->id * 4), 0xffffffff); in ga100_chan_unbind()
81 nvkm_wo32(chan->inst, 0x0e8, chan->id); in ga100_chan_ramfc_write()
113 nvkm_wr32(runl->fifo->engine.subdev.device, runl->addr + 0x098, 0x01000000 | cgrp->id); in ga100_cgrp_preempt()
126 u32 stat = nvkm_rd32(device, runl->addr + 0x200 + engn->id * 0x40); in ga100_engn_cxid()
180 return !(nvkm_rd32(device, 0x04015c + (runq->id * 0x800)) & 0x0000e000); in ga100_runq_idle()
187 u32 inte = nvkm_rd32(device, 0x040180 + (runq->id * 0x800)); in ga100_runq_intr_1()
[all …]
/openbmc/linux/drivers/clk/pistachio/
H A Dclk.h12 unsigned int id; member
21 .id = _id, \
29 unsigned int id; member
41 .id = _id, \
51 unsigned int id; member
61 .id = _id, \
71 .id = _id, \
80 unsigned int id; member
88 .id = _id, \
110 unsigned int id; member
[all …]

1...<<11121314151617181920>>...605