/openbmc/u-boot/tools/patman/ |
H A D | cros_subprocess.py | 284 def _BasicCheck(self, plist, oper): argument 286 self.assertEqual(plist[0], oper.stdout_data) 287 self.assertEqual(plist[1], oper.stderr_data) 288 self.assertEqual(plist[2], oper.combined_data) 295 oper = TestSubprocess.MyOperation() 296 plist = Popen(['ps']).CommunicateFilter(oper.Output) 297 self._BasicCheck(plist, oper) 301 oper = TestSubprocess.MyOperation() 303 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output) 304 self._BasicCheck(plist, oper) [all …]
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 46 struct snd_seq_oss_callback oper; member 105 rec->oper = reg->oper; in snd_seq_oss_synth_probe() 214 if (rec->oper.open == NULL || rec->oper.close == NULL) { in snd_seq_oss_synth_setup() 227 if (!try_module_get(rec->oper.owner)) { in snd_seq_oss_synth_setup() 231 if (rec->oper.open(&info->arg, rec->private_data) < 0) { in snd_seq_oss_synth_setup() 232 module_put(rec->oper.owner); in snd_seq_oss_synth_setup() 240 rec->oper.close(&info->arg); in snd_seq_oss_synth_setup() 241 module_put(rec->oper.owner); in snd_seq_oss_synth_setup() 316 rec->oper.close(&info->arg); in snd_seq_oss_synth_cleanup() 317 module_put(rec->oper.owner); in snd_seq_oss_synth_cleanup() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_taprio.c | 204 struct sched_gate_list **oper) in switch_schedules() argument 209 if (*oper) in switch_schedules() 210 call_rcu(&(*oper)->rcu, taprio_free_sched_cb); in switch_schedules() 212 *oper = *admin; in switch_schedules() 877 static bool should_restart_cycle(const struct sched_gate_list *oper, in should_restart_cycle() argument 880 if (list_is_last(&entry->list, &oper->entries)) in should_restart_cycle() 883 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle() 890 const struct sched_gate_list *oper, in should_change_schedules() argument 911 extension_time = ktime_add_ns(end_time, oper->cycle_time_extension); in should_change_schedules() 928 struct sched_gate_list *oper, *admin; in advance_sched() local [all …]
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/ |
H A D | crypto.c | 100 static int encrypt_and_sign(u8 *key, enum security_op oper, u8 *src, in encrypt_and_sign() argument 113 aes_expand_key(oper & SECURITY_ENCRYPT ? key : zero_key, key_schedule); in encrypt_and_sign() 117 if (oper & SECURITY_ENCRYPT) { in encrypt_and_sign() 125 if (oper & SECURITY_SIGN) { in encrypt_and_sign()
|
/openbmc/u-boot/common/ |
H A D | bedbug.c | 757 struct operand *oper[MAX_OPERANDS]; in asmppc() local 801 oper[n_operands] = &operands[opc->fields[n_operands] - 1]; in asmppc() 803 if (oper[n_operands]->hint & OH_SILENT) { in asmppc() 808 oper[n_operands]->name); in asmppc() 820 oper[n_operands]->name, scratch); in asmppc() 823 if ((param = parse_operand (memaddr, opc, oper[n_operands], in asmppc() 856 struct operand *oper, char *txt, int *err) in parse_operand() argument 864 mask = (1 << oper->bits) - 1; in parse_operand() 866 if (oper->hint & OH_ADDR) { in parse_operand() 879 data |= 1 << (oper->bits - 1); in parse_operand() [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | fdtput.c | 24 enum oper_type oper; /* operation to perform */ member 232 switch (disp->oper) { in do_fdtput() 293 disp.oper = OPER_WRITE_PROP; in main() 310 disp.oper = OPER_CREATE_NODE; in main() 338 if (disp.oper == OPER_WRITE_PROP) { in main()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_printer.cpp | 73 for (const filter_ast::LogicalNot& oper : x.rest) in operator ()() local 75 out += std::format(" or ({})", (*this)(oper)); in operator ()() 92 for (const filter_ast::LogicalOr& oper : x.rest) in operator ()() local 94 out += std::format(" and ({})", (*this)(oper)); in operator ()()
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | smtdef.c | 69 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper); 337 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper) in set_min_max() argument 340 old = *oper ; in set_min_max() 342 *oper = limit ; in set_min_max() 344 *oper = mib ; in set_min_max() 345 return old != *oper; in set_min_max()
|
/openbmc/u-boot/tools/buildman/ |
H A D | board.py | 224 oper = None 227 oper = sym 228 elif oper: 230 oper = None
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_taprio.c | 178 int err, oper = -1; in lan966x_taprio_find_list() local 193 oper = list[i]; in lan966x_taprio_find_list() 203 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list() 211 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list()
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-qos.c | 117 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() argument 124 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT); in am65_cpsw_port_est_is_swapped() 129 return *admin == *oper; in am65_cpsw_port_est_is_swapped() 146 int oper, admin; in am65_cpsw_port_est_get_free_buf_num() local 150 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_port_est_get_free_buf_num() 151 return !oper; in am65_cpsw_port_est_get_free_buf_num() 156 am65_cpsw_port_est_assign_buf_num(ndev, oper); in am65_cpsw_port_est_get_free_buf_num() 160 oper, admin); in am65_cpsw_port_est_get_free_buf_num() 217 int oper, admin; in am65_cpsw_est_update_state() local 222 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_est_update_state()
|
/openbmc/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | fw.c | 35 .fw_control.oper = PDS_CORE_FW_INSTALL_ASYNC in pdsc_devcmd_fw_install() 52 .fw_control.oper = PDS_CORE_FW_ACTIVATE_ASYNC, in pdsc_devcmd_fw_activate() 68 .fw_control.oper = fw_cmd, in pdsc_fw_status_long_wait()
|
H A D | devlink.c | 102 .fw_control.oper = PDS_CORE_FW_GET_LIST, in pdsc_dl_info_get()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_fw.c | 42 .fw_control.oper = IONIC_FW_INSTALL_ASYNC in ionic_dev_cmd_firmware_install() 52 .fw_control.oper = IONIC_FW_ACTIVATE_ASYNC, in ionic_dev_cmd_firmware_activate() 67 .fw_control.oper = fw_cmd, in ionic_fw_status_long_wait()
|
/openbmc/linux/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 309 int oper; member 1001 create_hash_pad(int oper, unsigned char *dst, u64 dgstlen, u64 bitcount) in create_hash_pad() argument 1006 switch (oper) { in create_hash_pad() 1455 u32 oper; in artpec6_crypto_prepare_hash() local 1458 oper = FIELD_GET(A6_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash() 1460 oper = FIELD_GET(A7_CRY_MD_OPER, req_ctx->hash_md); in artpec6_crypto_prepare_hash() 1484 hash_pad_len = create_hash_pad(oper, req_ctx->pad_buffer, in artpec6_crypto_prepare_hash() 1674 u32 oper; in artpec6_crypto_prepare_crypto() local 1722 oper = regk_crypto_aes_ecb; in artpec6_crypto_prepare_crypto() 1727 oper = regk_crypto_aes_cbc; in artpec6_crypto_prepare_crypto() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | qt1010.c | 201 if (rd[i].oper == QT1010_WR) { in qt1010_set_params() 216 u8 oper, u8 reg, u8 reg_init_val, u8 *retval) in qt1010_init_meas1() argument 224 { QT1010_WR, 0x1e, oper }, in qt1010_init_meas1() 267 if (i2c_data[i].oper == QT1010_WR) { in qt1010_init_meas2() 328 switch (i2c_data[i].oper) { in qt1010_init()
|
H A D | qt1010_priv.h | 79 u8 oper, reg, val; member
|
/openbmc/linux/include/sound/ |
H A D | seq_oss.h | 76 struct snd_seq_oss_callback oper; member
|
/openbmc/linux/net/tipc/ |
H A D | trace.h | 408 __field(u8, oper) 417 __entry->oper = netif_oper_up(dev); 422 __get_str(b_name), (__entry->oper) ? "up" : "down",
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera.h | 99 bool oper; member 210 u8 oper; member
|
H A D | prestera_main.c | 292 state->link = smac.oper ? 1 : 0; in prestera_pcs_get_state() 294 state->an_complete = (smac.oper && port->autoneg) ? 1 : 0; in prestera_pcs_get_state() 812 smac.oper = pevt->data.mac.oper; in prestera_port_handle_event() 813 if (smac.oper) { in prestera_port_handle_event() 822 if (port->state_mac.oper) { in prestera_port_handle_event()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 678 u8 i, tc, err, sync, oper; in i40e_cee_to_dcb_config() local 720 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config() 722 if (!err && sync && oper) { in i40e_cee_to_dcb_config() 736 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config() 738 if (!err && sync && oper) { in i40e_cee_to_dcb_config() 752 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config() 754 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
|
/openbmc/linux/net/mac80211/ |
H A D | tdls.c | 1443 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument 1456 switch (oper) { in ieee80211_tdls_oper() 1472 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper() 1474 switch (oper) { in ieee80211_tdls_oper() 1543 enum nl80211_tdls_operation oper, in ieee80211_tdls_oper_request() argument 1550 oper); in ieee80211_tdls_oper_request() 1554 cfg80211_tdls_oper_request(sdata->dev, peer, oper, reason_code, gfp); in ieee80211_tdls_oper_request()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_3ad.c | 591 const struct port_params *oper = &port->partner_oper; in __update_default_selected() local 596 if (admin->port_number != oper->port_number || in __update_default_selected() 597 admin->port_priority != oper->port_priority || in __update_default_selected() 598 !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || in __update_default_selected() 599 admin->system_priority != oper->system_priority || in __update_default_selected() 600 admin->key != oper->key || in __update_default_selected() 602 != (oper->port_state & LACP_STATE_AGGREGATION)) { in __update_default_selected()
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_oss.c | 110 arg->oper = oss_callback; in snd_opl3_init_seq_oss()
|