/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/mtjade/ |
H A D | events.json | 30 "target": 255 number 35 // Hold fans at the given target when a number of sensors are nonfunctional. 103 "target": 255 number 207 { "value": 10.0, "target": 38.0 }, number 208 { "value": 18.0, "target": 38.0 }, number 209 { "value": 20.0, "target": 41.0 }, number 210 { "value": 21.0, "target": 43.0 }, number 211 { "value": 22.0, "target": 46.0 }, number 212 { "value": 24.0, "target": 48.0 }, number 213 { "value": 28.0, "target": 51.0 }, number [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/ |
H A D | events.json | 3 // Hold fans at the given target when a number of fans are missing. 31 "target": 255 number 36 // Hold fans at the given target when a number of rotors are nonfunctional. 89 "target": 255 number 129 "target": 255 number 197 "target": 255 number 202 "name": "Target mapping from CPU Temps", 243 { "value": 1.0, "target": 77.0 }, number 244 { "value": 50.0, "target": 89.0 }, number 245 { "value": 60.0, "target": 102.0 }, number [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/ |
H A D | op-proc-control-systemd-links.bb | 15 mkdir -p $D$systemd_system_unitdir/obmc-host-stop@0.target.wants 16 mkdir -p $D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires 17 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.requires 18 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants 19 mkdir -p $D$systemd_system_unitdir/obmc-host-diagnostic-mode@0.target.requires 20 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires 21 mkdir -p $D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants 23 LINK="$D$systemd_system_unitdir/obmc-host-stop@0.target.wants/op-stop-instructions@0.service" 24 TARGET="../op-stop-instructions@.service" 25 ln -s $TARGET $LINK [all …]
|
/openbmc/phosphor-state-manager/target_files/ |
H A D | meson.build | 2 'obmc-bmc-service-quiesce@.target', 3 'obmc-chassis-blackout@.target', 4 'obmc-chassis-hard-poweroff@.target', 5 'obmc-chassis-powered-off@.target', 6 'obmc-chassis-poweroff@.target', 7 'obmc-chassis-poweron@.target', 8 'obmc-chassis-powerreset@.target', 9 'obmc-chassis-powercycle@.target', 10 'obmc-fan-control-ready@.target', 11 'obmc-fan-control.target', [all …]
|
/openbmc/docs/architecture/ |
H A D | openbmc-systemd.md | 4 manage all processes. It has its own set of target and service units to control 13 [Target](https://www.freedesktop.org/software/systemd/man/systemd.target.html) - 17 2. Define the services that get run for a given target. 31 When an OpenBMC system first has power applied, it starts the "default.target" 32 unless an alternate target is specified on the kernel command line. In Phosphor 33 OpenBMC, there is a link from `default.target` to `multi-user.target`. 35 You'll find all the phosphor services associated with `multi-user.target`. 40 [obmc-host-start@.target](https://github.com/openbmc/phosphor-state-manager/blob/master/target_file… 43 To start it you would run `systemctl start obmc-host-start@0.target`. 49 ls -1 /lib/systemd/system/obmc-host-start@0.target.requires/ [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | Makefile | 28 +TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_tests 29 …+TARGET=sampling_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET … 30 …+TARGET=event_code_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGE… 38 …+TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARGET emit_tes… 39 …+TARGET=sampling_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TARG… 40 …+TARGET=event_code_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -s -C $$TA… 45 +TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET install 46 …+TARGET=sampling_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET … 47 …+TARGET=event_code_tests; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGE… 54 +TARGET=ebb; BUILD_TARGET=$$OUTPUT/$$TARGET; $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean [all …]
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 52 * @target: The target task. 58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument 63 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_active() 71 * @target: The target task. 86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument 97 if (!MSR_TM_ACTIVE(target->thread.regs->msr)) in tm_cgpr_get() 100 flush_tmregs_to_thread(target); in tm_cgpr_get() 101 flush_fp_to_thread(target); in tm_cgpr_get() 102 flush_altivec_to_thread(target); in tm_cgpr_get() 104 membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs)); in tm_cgpr_get() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | target.h | 8 struct target { struct 55 enum target_errno target__validate(struct target *target); 56 enum target_errno target__parse_uid(struct target *target); 58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen); 60 static inline bool target__has_task(struct target *target) in target__has_task() argument 62 return target->tid || target->pid || target->uid_str; in target__has_task() 65 static inline bool target__has_cpu(struct target *target) in target__has_cpu() argument 67 return target->system_wide || target->cpu_list; in target__has_cpu() 70 static inline bool target__none(struct target *target) in target__none() argument 72 return !target__has_task(target) && !target__has_cpu(target); in target__none() [all …]
|
H A D | target.c | 3 * Helper functions for handling target threads/cpus 8 #include "target.h" 17 enum target_errno target__validate(struct target *target) in target__validate() argument 21 if (target->pid) in target__validate() 22 target->tid = target->pid; in target__validate() 25 if (target->tid && target->cpu_list) { in target__validate() 26 target->cpu_list = NULL; in target__validate() 32 if (target->tid && target->uid_str) { in target__validate() 33 target->uid_str = NULL; in target__validate() 39 if (target->uid_str && target->cpu_list) { in target__validate() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/ |
H A D | phosphor-state-manager-systemd-links.inc | 2 multi-user.target.wants/obmc-host-reset@{}.target \ 3 multi-user.target.wants/phosphor-discover-system-state@{}.service \ 4 obmc-host-start@{}.target.requires/obmc-host-startmin@{}.target \ 5 obmc-host-start@{}.target.requires/phosphor-reset-host-reboot-attempts@{}.service \ 6 obmc-host-startmin@{}.target.wants/phosphor-set-host-transition-to-running@{}.service \ 7 obmc-host-stop@{}.target.wants/phosphor-set-host-transition-to-off@{}.service \ 8 obmc-host-reset@{}.target.requires/phosphor-reset-host-running@{}.service \ 9 obmc-host-stop@{}.target.wants/phosphor-reset-sensor-states@{}.service \ 10 obmc-host-shutdown@{}.target.requires/obmc-host-stop@{}.target \ 11 obmc-host-graceful-quiesce@{}.target.wants/obmc-host-quiesce@{}.target \ [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | htc-ops.h | 28 static inline int ath6kl_htc_wait_target(struct htc_target *target) in ath6kl_htc_wait_target() argument 30 return target->dev->ar->htc_ops->wait_target(target); in ath6kl_htc_wait_target() 33 static inline int ath6kl_htc_start(struct htc_target *target) in ath6kl_htc_start() argument 35 return target->dev->ar->htc_ops->start(target); in ath6kl_htc_start() 38 static inline int ath6kl_htc_conn_service(struct htc_target *target, in ath6kl_htc_conn_service() argument 42 return target->dev->ar->htc_ops->conn_service(target, req, resp); in ath6kl_htc_conn_service() 45 static inline int ath6kl_htc_tx(struct htc_target *target, in ath6kl_htc_tx() argument 48 return target->dev->ar->htc_ops->tx(target, packet); in ath6kl_htc_tx() 51 static inline void ath6kl_htc_stop(struct htc_target *target) in ath6kl_htc_stop() argument 53 return target->dev->ar->htc_ops->stop(target); in ath6kl_htc_stop() [all …]
|
H A D | htc_mbox.c | 28 static void ath6kl_htc_mbox_cleanup(struct htc_target *target); 29 static void ath6kl_htc_mbox_stop(struct htc_target *target); 30 static int ath6kl_htc_mbox_add_rxbuf_multiple(struct htc_target *target, 32 static void ath6kl_htc_set_credit_dist(struct htc_target *target, 375 static void htc_reclaim_txctrl_buf(struct htc_target *target, in htc_reclaim_txctrl_buf() argument 378 spin_lock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 379 list_add_tail(&pkt->list, &target->free_ctrl_txbuf); in htc_reclaim_txctrl_buf() 380 spin_unlock_bh(&target->htc_lock); in htc_reclaim_txctrl_buf() 383 static struct htc_packet *htc_get_control_buf(struct htc_target *target, in htc_get_control_buf() argument 389 buf_list = tx ? &target->free_ctrl_txbuf : &target->free_ctrl_rxbuf; in htc_get_control_buf() [all …]
|
H A D | htc_pipe.c | 56 ep->ep_cb.tx_comp_multi(ep->target, queue_to_indicate); in do_send_completion() 72 ep->ep_cb.tx_complete(ep->target, packet); in do_send_completion() 77 static void send_packet_completion(struct htc_target *target, in send_packet_completion() argument 80 struct htc_endpoint *ep = &target->endpoint[packet->endpoint]; in send_packet_completion() 91 static void get_htc_packet_credit_based(struct htc_target *target, in get_htc_packet_credit_based() argument 118 if (transfer_len <= target->tgt_cred_sz) { in get_htc_packet_credit_based() 122 credits_required = transfer_len / target->tgt_cred_sz; in get_htc_packet_credit_based() 123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based() 146 /* check if we need credits back from the target */ in get_htc_packet_credit_based() 149 /* tell the target we need credits ASAP! */ in get_htc_packet_credit_based() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 111 static void test_tc_opts_before_target(int target) in test_tc_opts_before_target() argument 139 assert_mprog_count(target, 0); in test_tc_opts_before_target() 141 err = bpf_prog_attach_opts(fd1, loopback, target, &opta); in test_tc_opts_before_target() 145 assert_mprog_count(target, 1); in test_tc_opts_before_target() 147 err = bpf_prog_attach_opts(fd2, loopback, target, &opta); in test_tc_opts_before_target() 151 assert_mprog_count(target, 2); in test_tc_opts_before_target() 158 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 181 err = bpf_prog_attach_opts(fd3, loopback, target, &opta); in test_tc_opts_before_target() 188 err = bpf_prog_query_opts(loopback, target, &optq); in test_tc_opts_before_target() 204 err = bpf_prog_attach_opts(fd4, loopback, target, &opta); in test_tc_opts_before_target() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 90 "Enable workarounds for Topspin/Cisco SRP target bugs if != 0"); 137 …"Number of RDMA channels to use for communication with an SRP target. Using more than one channel … 211 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin() argument 217 (!memcmp(&target->ioc_guid, topspin_oui, sizeof topspin_oui) || in srp_target_is_topspin() 218 !memcmp(&target->ioc_guid, cisco_oui, sizeof cisco_oui)); in srp_target_is_topspin() 270 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp() argument 280 ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev, in srp_init_ib_qp() 281 target->srp_host->port, in srp_init_ib_qp() 282 be16_to_cpu(target->ib_cm.pkey), in srp_init_ib_qp() 290 attr->port_num = target->srp_host->port; in srp_init_ib_qp() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | test-reexec | 26 target=$1 28 sstate_dir=`bitbake $target -e | grep "^SSTATE_DIR=" | cut -d "\"" -f 2` 29 sstate_pkgspec=`bitbake $target -e | grep "^SSTATE_PKGSPEC=" | cut -d "\"" -f 2` 30 sstasks=`bitbake $target -e | grep "^SSTATETASKS=" | cut -d "\"" -f 2` 54 echo "Removing ${sstate_dir}/${sstate_pkgspec}*_${sstask}.tgz* for $target" 61 target=$1 66 if [ -f $LOGS/force.$target.$task ]; then 75 echo "Attempting target $target, task $task" 77 bitbake $target -c cleansstate > $LOGS/initial.$target.$task 78 bitbake $target >> $LOGS/initial.$target.$task [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | pdbg.hpp | 23 /** Chip target types. */ 46 /** @return The target associated with the given chip. */ 49 /** @return The target associated with the given devtree path. */ 52 /** @return A string representing the given target's devtree path. */ 58 /** @return The absolute position of the given target. */ 64 /** @return The unit position of a target within a chip. */ 67 /** @return The target type of the given target. */ 70 /** @return The target type of the given chip. */ 73 /** @return The parent chip target of the given unit target. */ 76 /** @return The parent processor chip target of the given target. */ [all …]
|
/openbmc/linux/tools/perf/arch/loongarch/annotate/ |
H A D | instructions.c | 12 struct addr_map_symbol target = { in loongarch_call__parse() local 20 ops->target.addr = strtoull(c, &endptr, 16); in loongarch_call__parse() 34 ops->target.name = strdup(name); in loongarch_call__parse() 37 if (ops->target.name == NULL) in loongarch_call__parse() 40 target.addr = map__objdump_2mem(map, ops->target.addr); in loongarch_call__parse() 42 if (maps__find_ams(ms->maps, &target) == 0 && in loongarch_call__parse() 43 map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr) in loongarch_call__parse() 44 ops->target.sym = target.ms.sym; in loongarch_call__parse() 58 struct addr_map_symbol target = { in loongarch_jump__parse() local 71 ops->target.addr = strtoull(c, NULL, 16); in loongarch_jump__parse() [all …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_io.c | 16 enum ocelot_target target; in __ocelot_bulk_read_ix() local 19 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_bulk_read_ix() 20 WARN_ON(!target); in __ocelot_bulk_read_ix() 22 return regmap_bulk_read(ocelot->targets[target], addr + offset, in __ocelot_bulk_read_ix() 29 enum ocelot_target target; in __ocelot_read_ix() local 32 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_read_ix() 33 WARN_ON(!target); in __ocelot_read_ix() 35 regmap_read(ocelot->targets[target], addr + offset, &val); in __ocelot_read_ix() 43 enum ocelot_target target; in __ocelot_write_ix() local 46 ocelot_reg_to_target_addr(ocelot, reg, &target, &addr); in __ocelot_write_ix() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 21 static int htc_issue_send(struct htc_target *target, struct sk_buff* skb, in htc_issue_send() argument 26 struct htc_endpoint *endpoint = &target->endpoint[epid]; in htc_issue_send() 35 status = target->hif->send(target->hif_dev, endpoint->ul_pipeid, skb); in htc_issue_send() 88 static void htc_process_target_rdy(struct htc_target *target, in htc_process_target_rdy() argument 94 target->credit_size = be16_to_cpu(htc_ready_msg->credit_size); in htc_process_target_rdy() 96 endpoint = &target->endpoint[ENDPOINT0]; in htc_process_target_rdy() 99 atomic_inc(&target->tgt_ready); in htc_process_target_rdy() 100 complete(&target->target_wait); in htc_process_target_rdy() 103 static void htc_process_conn_rsp(struct htc_target *target, in htc_process_conn_rsp() argument 128 endpoint = &target->endpoint[epid]; in htc_process_conn_rsp() [all …]
|
/openbmc/linux/Documentation/target/ |
H A D | tcm_mod_builder.rst | 13 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD 15 This script will create a new drivers/target/$TCM_NEW_MOD/, and will do the following 17 1) Generate new API callers for drivers/target/target_core_fabric_configs.c logic 23 the TransportID / Initiator and Target WWPN related handlers for 25 using drivers/target/target_core_fabric_lib.c logic. 32 …target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_n… 33 tcm_dir: /mnt/sdb/lio-core-2.6.git/Documentation/target/../../ 36 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 39 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000 41 /mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h [all …]
|
/openbmc/linux/drivers/acpi/numa/ |
H A D | hmat.c | 94 struct memory_target *target; in find_mem_target() local 96 list_for_each_entry(target, &targets, node) in find_mem_target() 97 if (target->memory_pxm == mem_pxm) in find_mem_target() 98 return target; in find_mem_target() 125 struct memory_target *target; in alloc_memory_target() local 127 target = find_mem_target(mem_pxm); in alloc_memory_target() 128 if (!target) { in alloc_memory_target() 129 target = kzalloc(sizeof(*target), GFP_KERNEL); in alloc_memory_target() 130 if (!target) in alloc_memory_target() 132 target->memory_pxm = mem_pxm; in alloc_memory_target() [all …]
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit.h | 99 #define hppa_ldo(im14, reg, target) \ argument 100 hppa_t1_insn(0x0d, reg, target, im14) /* ldo val14(reg),target */ 103 #define hppa_or(reg1, reg2, target) \ argument 104 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x09, target) /* or reg1,reg2,target */ 105 #define hppa_or_cond(reg1, reg2, cond, f, target) \ argument 106 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x09, target) 107 #define hppa_and(reg1, reg2, target) \ argument 108 hppa_t6_insn(0x02, reg2, reg1, 0, 0, 0x08, target) /* and reg1,reg2,target */ 109 #define hppa_and_cond(reg1, reg2, cond, f, target) \ argument 110 hppa_t6_insn(0x02, reg2, reg1, cond, f, 0x08, target) [all …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | Util.pm | 10 #Returns the BMC target for a system. 16 for my $target (keys %{$targetObj->getAllTargets()}) { 17 if ($targetObj->getType($target) eq "BMC") { 18 return $target; 22 die "Could not find BMC target in the MRW XML\n"; 26 #Returns an array of child units based on their Target Type. 28 # param[in] $unitTargetType = The target type of the units to find 29 # param[in] $chip = The chip target to find the units on 49 # param[in] $chip = The chip target to find the units on 64 # Returns OBMC name corresponding to a Target name [all …]
|
/openbmc/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 17 # TEST_ID:TEST_COUNT:ENABLED:TARGET:SKIP_NO_TARGET 22 # TARGET: test target file required on the test_sysctl module 23 # SKIP_NO_TARGET: 1 skip if TARGET not there 24 # 0 run eventhough TARGET not there 128 TRIGGER=$(basename ${TARGET}) 148 echo -n $VAL > $TARGET 153 if [ ! -z $TARGET ] && [ ! -z $ORIG ]; then 154 if [ -f ${TARGET} ]; then 155 echo "${ORIG}" > "${TARGET}" 162 echo "${TEST_STR}" > "${TARGET}" [all …]
|