/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-vchiq.c | 25 static void bcm2835_audio_lock(struct bcm2835_audio_instance *instance) in bcm2835_audio_lock() argument 27 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock() 28 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 29 instance->service_handle); in bcm2835_audio_lock() 32 static void bcm2835_audio_unlock(struct bcm2835_audio_instance *instance) in bcm2835_audio_unlock() argument 34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 35 instance->service_handle); in bcm2835_audio_unlock() 36 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock() 39 static int bcm2835_audio_send_msg_locked(struct bcm2835_audio_instance *instance, in bcm2835_audio_send_msg_locked() argument 45 instance->result = -1; in bcm2835_audio_send_msg_locked() [all …]
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 135 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 136 static int megasas_get_pd_list(struct megasas_instance *instance); 137 static int megasas_ld_list_query(struct megasas_instance *instance, 139 static int megasas_issue_init_mfi(struct megasas_instance *instance); 140 static int megasas_register_aen(struct megasas_instance *instance, 142 static void megasas_get_pd_info(struct megasas_instance *instance, 145 megasas_set_ld_removed_by_fw(struct megasas_instance *instance); 224 megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, 227 megasas_read_fw_status_reg_gen2(struct megasas_instance *instance); 229 megasas_adp_reset_gen2(struct megasas_instance *instance, [all …]
|
H A D | megaraid_sas_fusion.c | 52 megasas_complete_cmd(struct megasas_instance *instance, 55 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, 59 megasas_clear_intr_fusion(struct megasas_instance *instance); 61 int megasas_transition_to_ready(struct megasas_instance *instance, int ocr); 64 int megasas_sriov_start_heartbeat(struct megasas_instance *instance, 69 static void megasas_free_rdpq_fusion(struct megasas_instance *instance); 70 static void megasas_free_reply_fusion(struct megasas_instance *instance); 72 void megasas_configure_queue_sizes(struct megasas_instance *instance); 73 static void megasas_fusion_crash_dump(struct megasas_instance *instance); 78 * @instance: adapter's soft state [all …]
|
/openbmc/linux/drivers/usb/atm/ |
H A D | usbatm.c | 73 static int usbatm_print_packet(struct usbatm_data *instance, const unsigned char *data, int len); 280 static inline struct usbatm_vcc_data *usbatm_find_vcc(struct usbatm_data *instance, in usbatm_find_vcc() argument 285 list_for_each_entry(vcc_data, &instance->vcc_list, list) in usbatm_find_vcc() 291 static void usbatm_extract_one_cell(struct usbatm_data *instance, unsigned char *source) in usbatm_extract_one_cell() argument 299 if ((vci != instance->cached_vci) || (vpi != instance->cached_vpi)) { in usbatm_extract_one_cell() 300 instance->cached_vpi = vpi; in usbatm_extract_one_cell() 301 instance->cached_vci = vci; in usbatm_extract_one_cell() 303 instance->cached_vcc = usbatm_find_vcc(instance, vpi, vci); in usbatm_extract_one_cell() 305 if (!instance->cached_vcc) in usbatm_extract_one_cell() 306 atm_rldbg(instance, "%s: unknown vpi/vci (%hd/%d)!\n", __func__, vpi, vci); in usbatm_extract_one_cell() [all …]
|
H A D | cxacru.c | 193 static int cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, 211 struct cxacru_data *instance = to_usbatm_driver_data(\ 214 if (instance == NULL) \ 217 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \ 306 struct cxacru_data *instance = to_usbatm_driver_data( in mac_address_show() local 309 if (instance == NULL || instance->usbatm->atm_dev == NULL) in mac_address_show() 312 return sprintf(buf, "%pM\n", instance->usbatm->atm_dev->esi); in mac_address_show() 319 struct cxacru_data *instance = to_usbatm_driver_data( in adsl_state_show() local 323 if (instance == NULL) in adsl_state_show() 326 value = instance->card_info[CXINF_LINE_STARTABLE]; in adsl_state_show() [all …]
|
H A D | speedtch.c | 144 static void speedtch_set_swbuff(struct speedtch_instance_data *instance, int state) in speedtch_set_swbuff() argument 146 struct usbatm_data *usbatm = instance->usbatm; in speedtch_set_swbuff() 160 static void speedtch_test_sequence(struct speedtch_instance_data *instance) in speedtch_test_sequence() argument 162 struct usbatm_data *usbatm = instance->usbatm; in speedtch_test_sequence() 164 unsigned char *buf = instance->scratch_buffer; in speedtch_test_sequence() 204 buf[0] = instance->params.ModemMode; in speedtch_test_sequence() 216 instance->params.ModemOption, in speedtch_test_sequence() 222 buf[0] = instance->params.BMaxDSL & 0xff; in speedtch_test_sequence() 223 buf[1] = instance->params.BMaxDSL >> 8; in speedtch_test_sequence() 230 static int speedtch_upload_firmware(struct speedtch_instance_data *instance, in speedtch_upload_firmware() argument [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-config/ibm-ac-server/ |
H A D | dcmi_sensors.json | 4 "instance": 1, number 11 "instance": 1, number 18 "instance": 1, number 23 "instance": 2, number 28 "instance": 3, number 33 "instance": 4, number 38 "instance": 5, number 43 "instance": 6, number 48 "instance": 7, number 53 "instance": 8, number [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/ipmi/phosphor-ipmi-config/ |
H A D | dcmi_sensors.json | 3 … {"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/inlet_cpu", "record_id": 254} number 6 {"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/outlet", "record_id": 253} number 10 "instance": 1, number 15 "instance": 2, number 20 "instance": 3, number 25 "instance": 4, number 30 "instance": 5, number 35 "instance": 6, number 40 "instance": 7, number 45 "instance": 8, number [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | boottime-trace.rst | 56 Ftrace Per-instance Options 59 These options can be used for each instance including global ftrace node. 61 ftrace.[instance.INSTANCE.]options = OPT1[, OPT2[...]] 64 ftrace.[instance.INSTANCE.]tracing_on = 0|1 65 Enable/Disable tracing on this instance when starting boot-time tracing. 68 ftrace.[instance.INSTANCE.]trace_clock = CLOCK 71 ftrace.[instance.INSTANCE.]buffer_size = SIZE 75 ftrace.[instance.INSTANCE.]alloc_snapshot 78 ftrace.[instance.INSTANCE.]cpumask = CPUMASK 81 ftrace.[instance.INSTANCE.]events = EVENT[, EVENT2[...]] [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-system/kudo-entity-association-map/ |
H A D | kudo_entity_association_map.json | 3 {"instance": 1, "name": "/"} number 6 {"instance": 1, "name": "/"} number 9 {"instance": 1, "name": "/"} number 12 {"instance": 3, "name": "/PE0"}, number 13 {"instance": 5, "name": "/PE1"}, number 14 {"instance": 6, "name": "/PE2"}, number 15 {"instance": 7, "name": "/PE3"}, number 16 {"instance": 8, "name": "/PE4"}, number 17 {"instance": 9, "name": "/PE5"}, number 18 {"instance": 10, "name": "/PE6"}, number [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | gov_step_wise.c | 28 * equals lower limit, deactivate the thermal instance 30 static unsigned long get_target_state(struct thermal_instance *instance, in get_target_state() argument 33 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state() 38 * We keep this instance the way it is by default. in get_target_state() 43 next_target = instance->target; in get_target_state() 46 if (!instance->initialized) { in get_target_state() 48 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state() 58 next_target = clamp((cur_state + 1), instance->lower, instance->upper); in get_target_state() 61 if (cur_state <= instance->lower) in get_target_state() 64 next_target = clamp((cur_state - 1), instance->lower, instance->upper); in get_target_state() [all …]
|
H A D | gov_bang_bang.c | 19 struct thermal_instance *instance; in thermal_zone_trip_update() local 29 list_for_each_entry(instance, &tz->thermal_instances, tz_node) { in thermal_zone_trip_update() 30 if (instance->trip != trip) in thermal_zone_trip_update() 34 if (instance->target == THERMAL_NO_TARGET) in thermal_zone_trip_update() 35 instance->target = 0; in thermal_zone_trip_update() 38 if (instance->target != 0 && instance->target != 1) { in thermal_zone_trip_update() 39 pr_warn("Thermal instance %s controlled by bang-bang has unexpected state: %ld\n", in thermal_zone_trip_update() 40 instance->name, instance->target); in thermal_zone_trip_update() 41 instance->target = 1; in thermal_zone_trip_update() 48 if (instance->target == 0 && tz->temperature >= trip->temperature) in thermal_zone_trip_update() [all …]
|
/openbmc/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-tphy.c | 695 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() argument 697 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate() 709 if (instance->eye_src) in hs_slew_rate_calibrate() 724 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate() 753 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate() 765 struct mtk_phy_instance *instance) in u3_phy_instance_init() argument 767 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init() 793 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init() 797 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() argument 799 struct u2phy_banks *u2_banks = &instance->u2_banks; in u2_phy_pll_26m_set() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | server.hpp | 18 template <typename Instance, template <typename, typename> typename... Types> 21 public Types<Instance, server<Instance, Types...>>... 24 using Self = server<Instance, Types...>; 29 context_ref(ctx), Types<Instance, Self>(path)... in server() 35 template <typename Instance, template <typename, typename> typename... Types> 36 using server_t = server::server<Instance, Types...>; 55 template <typename Tag, typename Instance> 57 requires(const Instance& i) { i.get_property(Tag{}); }; 60 template <typename Tag, typename Instance> 62 requires(const Instance& i, sdbusplus::message_t& m) { [all …]
|
/openbmc/linux/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 120 struct vchiq_mmal_instance *instance; member 133 /* mmal instance */ 134 struct vchiq_mmal_instance *instance; member 180 /* handle for a vchiq instance */ 185 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument 200 mutex_lock(&instance->context_map_lock); in get_msg_context() 201 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 203 mutex_unlock(&instance->context_map_lock); in get_msg_context() 210 msg_context->instance = instance; in get_msg_context() 217 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) in lookup_msg_context() argument [all …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | mailbox-sti.c | 49 * Each instance is currently composed of 32 channels 66 * @num_chan: Maximum number of channel per instance 77 * @instance: Instance number channel resides in 82 unsigned int instance; member 90 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled() local 93 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled() 98 unsigned int instance, in sti_mbox_to_channel() argument 107 chan_info->instance == instance && in sti_mbox_to_channel() 113 "Channel not registered: instance: %d channel: %d\n", in sti_mbox_to_channel() 114 instance, channel); in sti_mbox_to_channel() [all …]
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/ipmi/phosphor-ipmi-config/ |
H A D | dcmi_sensors.json | 3 … {"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/PSU0_TEMP", "record_id": 243}, number 4 … {"instance": 2, "dbus": "/xyz/openbmc_project/sensors/temperature/PSU1_TEMP", "record_id": 244} number 7 … {"instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/TS1_Temp", "record_id": 1}, number 8 … {"instance": 2, "dbus": "/xyz/openbmc_project/sensors/temperature/TS2_Temp", "record_id": 2}, number 9 … {"instance": 3, "dbus": "/xyz/openbmc_project/sensors/temperature/TS3_Temp", "record_id": 3}, number 10 … {"instance": 4, "dbus": "/xyz/openbmc_project/sensors/temperature/TS4_Temp", "record_id": 4}, number 11 … {"instance": 5, "dbus": "/xyz/openbmc_project/sensors/temperature/TS5_Temp", "record_id": 5}, number 12 {"instance": 6, "dbus": "/xyz/openbmc_project/sensors/temperature/TS6_Temp", "record_id": 6} number 15 …{ "instance": 1, "dbus": "/xyz/openbmc_project/sensors/temperature/S0_SOC_Temp", "record_id": 107 … number 16 …{ "instance": 2, "dbus": "/xyz/openbmc_project/sensors/temperature/S0_SOC_VRD_Temp", "record_id": … number [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 281 * struct vdec_vp9_slice_init_vsi - VSI used to initialize instance 418 * struct vdec_vp9_slice_instance - represent one vp9 instance 421 * @vpu: VPU instance 438 * @init_vsi: vsi used for initialized VP9 instance 504 static int vdec_vp9_slice_init_default_frame_ctx(struct vdec_vp9_slice_instance *instance) in vdec_vp9_slice_init_default_frame_ctx() argument 512 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx() 513 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx() 542 static int vdec_vp9_slice_alloc_working_buffer(struct vdec_vp9_slice_instance *instance, in vdec_vp9_slice_alloc_working_buffer() argument 545 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer() 576 if (level == instance->level) in vdec_vp9_slice_alloc_working_buffer() [all …]
|
H A D | vdec_av1_req_lat_if.c | 89 * struct vdec_av1_slice_init_vsi - VSI used to initialize instance 605 * struct vdec_av1_slice_slot - slot info that needs to be saved in the global instance 684 * struct vdec_av1_slice_instance - represent one av1 instance 686 * @vpu: VPU instance 702 * @init_vsi: vsi used for initialized AV1 instance 768 static int vdec_av1_slice_init_cdf_table(struct vdec_av1_slice_instance *instance) in vdec_av1_slice_init_cdf_table() argument 775 ctx = instance->ctx; in vdec_av1_slice_init_cdf_table() 776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table() 786 if (instance->cdf_table.va) in vdec_av1_slice_init_cdf_table() 787 mtk_vcodec_mem_free(ctx, &instance->cdf_table); in vdec_av1_slice_init_cdf_table() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-config/p10bmc/ |
H A D | dcmi_sensors.json | 4 "instance": 1, number 9 "instance": 2, number 14 "instance": 3, number 21 "instance": 1, number 26 "instance": 2, number 33 "instance": 1, number 38 "instance": 2, number 43 "instance": 3, number 48 "instance": 4, number 53 "instance": 5, number [all …]
|
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_dev.c | 111 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() argument 130 status = vchiq_queue_message(instance, handle, vchiq_ioc_copy_element_data, in vchiq_ioc_queue_message() 140 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() argument 149 if (args->is_open && !instance->connected) in vchiq_ioc_create_service() 159 srvstate = instance->connected ? in vchiq_ioc_create_service() 170 service = vchiq_add_service_internal(instance->state, ¶ms, in vchiq_ioc_create_service() 171 srvstate, instance, in vchiq_ioc_create_service() 180 user_service->instance = instance; in vchiq_ioc_create_service() 184 user_service->message_available_pos = instance->completion_remove - 1; in vchiq_ioc_create_service() 192 status = vchiq_open_service_internal(service, instance->pid); in vchiq_ioc_create_service() [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-ipmi-entity-association-map/files/ |
H A D | entity_association_map.json | 3 {"instance": 1, "name": "/"}, number 4 {"instance": 28, "name": "/i2cool_0"}, number 5 {"instance": 29, "name": "/i2cool_1"}, number 6 {"instance": 30, "name": "/i2cool_2"} number 9 {"instance": 1, "name": "/"} number 12 {"instance": 1, "name": "/"} number 15 {"instance": 0, "name": "/PE0"}, number 16 {"instance": 1, "name": "/PE1"} number 19 {"instance": 0, "name": "/fan0"}, number 20 {"instance": 1, "name": "/fan1"}, number [all …]
|
/openbmc/phosphor-host-ipmid/test/ |
H A D | entitymap_json_unittest.cpp | 30 {"id" : 1, "instance" : 2}, in TEST() 31 {"id" : 1, "instance" : 3}, in TEST() 32 {"id" : 1, "instance" : 4}, in TEST() 33 {"id" : 1, "instance" : 5} in TEST() 54 {"id" : 1, "instance" : 2}, in TEST() 55 {"id" : 1, "instance" : 3}, in TEST() 56 {"id" : 1, "instance" : 4}, in TEST() 57 {"id" : 1, "instance" : 5} in TEST() 80 {"id" : 1, "instance" : 2}, in TEST() 81 {"id" : 1, "instance" : 3}, in TEST() [all …]
|
/openbmc/phosphor-net-ipmid/command/ |
H A D | payload_cmds.hpp | 36 uint8_t payloadInstance:4; //!< Payload instance. 42 uint8_t payloadInstance:4; //!< Payload instance. 135 uint8_t payloadInstance:4; //!< Payload instance. 141 uint8_t payloadInstance:4; //!< Payload instance. 197 uint8_t capacity; //!< Instance capacity. 201 uint8_t instance1:1; //!< If true, Instance 1 is activated. 202 uint8_t instance2:1; //!< If true, Instance 2 is activated. 203 uint8_t instance3:1; //!< If true, Instance 3 is activated. 204 uint8_t instance4:1; //!< If true, Instance 4 is activated. 205 uint8_t instance5:1; //!< If true, Instance 5 is activated. [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.c | 76 * the command structure is placed into the per instance disconnected 115 * The generic driver is initialized by calling NCR5380_init(instance), 289 * @instance: adapter state to dump 294 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 296 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 338 * @instance: adapter to dump 343 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument 345 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase() 351 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase() 356 shost_printk(KERN_DEBUG, instance, "phase %s\n", phases[i].name); in NCR5380_print_phase() [all …]
|