Home
last modified time | relevance | path

Searched refs:oper (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c114 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() argument
121 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT); in am65_cpsw_port_est_is_swapped()
126 return *admin == *oper; in am65_cpsw_port_est_is_swapped()
143 int oper, admin; in am65_cpsw_port_est_get_free_buf_num() local
147 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_port_est_get_free_buf_num()
148 return !oper; in am65_cpsw_port_est_get_free_buf_num()
153 am65_cpsw_port_est_assign_buf_num(ndev, oper); in am65_cpsw_port_est_get_free_buf_num()
157 oper, admin); in am65_cpsw_port_est_get_free_buf_num()
215 int oper, admin; in am65_cpsw_est_update_state() local
220 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin)) in am65_cpsw_est_update_state()
/drivers/net/fddi/skfp/
Dsmtdef.c69 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()
/drivers/crypto/axis/
Dartpec6_crypto.c309 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 …]
/drivers/net/ethernet/pensando/ionic/
Dionic_fw.c42 .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()
Dionic_if.h1167 u8 oper; member
2280 u8 oper; member
Dionic_lif.c268 .oper = IONIC_Q_ENABLE, in ionic_qcq_enable()
309 .oper = IONIC_Q_DISABLE, in ionic_qcq_disable()
/drivers/media/tuners/
Dqt1010.c201 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()
Dqt1010_priv.h79 u8 oper, reg, val; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.h42 u32 oper; member
Dport.c126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
208 *speed = mlx5e_port_ptys2speed(mdev, eproto.oper, force_legacy); in mlx5e_port_linkspeed()
/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c676 u8 i, tc, err, sync, oper; in i40e_cee_to_dcb_config() local
718 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
720 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
734 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
736 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
750 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; in i40e_cee_to_dcb_config()
752 if (!err && sync && oper) { in i40e_cee_to_dcb_config()
/drivers/net/bonding/
Dbond_3ad.c584 const struct port_params *oper = &port->partner_oper; in __update_default_selected() local
589 if (admin->port_number != oper->port_number || in __update_default_selected()
590 admin->port_priority != oper->port_priority || in __update_default_selected()
591 !MAC_ADDRESS_EQUAL(&admin->system, &oper->system) || in __update_default_selected()
592 admin->system_priority != oper->system_priority || in __update_default_selected()
593 admin->key != oper->key || in __update_default_selected()
595 != (oper->port_state & LACP_STATE_AGGREGATION)) { in __update_default_selected()
/drivers/net/ethernet/intel/ice/
Dice_dcb.c751 u8 i, err, sync, oper, app_index, ice_app_sel_type; in ice_cee_to_dcb_cfg() local
842 oper = (status & ICE_TLV_STATUS_OPER) ? 1 : 0; in ice_cee_to_dcb_cfg()
846 if (!err && sync && oper) { in ice_cee_to_dcb_cfg()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c481 mt7915_tm_rf_switch_mode(struct mt7915_dev *dev, u32 oper) in mt7915_tm_rf_switch_mode() argument
484 .op.op_mode = cpu_to_le32(oper), in mt7915_tm_rf_switch_mode()
/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c1740 struct mwifiex_ds_tdls_oper *oper = data_buf; in mwifiex_cmd_tdls_oper() local
1758 memcpy(tdls_oper->peer_mac, oper->peer_mac, ETH_ALEN); in mwifiex_cmd_tdls_oper()
1762 switch (oper->tdls_action) { in mwifiex_cmd_tdls_oper()
1775 oper->peer_mac); in mwifiex_cmd_tdls_oper()
/drivers/scsi/qla2xxx/
Dqla_bsg.c150 uint32_t oper; in qla24xx_proc_fcp_prio_cfg_cmd() local
158 oper = bsg_request->rqst_data.h_vendor.vendor_cmd[1]; in qla24xx_proc_fcp_prio_cfg_cmd()
161 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
165 switch (oper) { in qla24xx_proc_fcp_prio_cfg_cmd()
/drivers/scsi/csiostor/
Dcsio_scsi.c458 #define CSIO_SCSI_DATA_WRSZ(req, oper, sz, imm) \ argument
460 (sz) = sizeof(struct fw_scsi_##oper##_wr) + /* WR size */ \
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c5406 static int brcmf_convert_nl80211_tdls_oper(enum nl80211_tdls_operation oper) in brcmf_convert_nl80211_tdls_oper() argument
5410 switch (oper) { in brcmf_convert_nl80211_tdls_oper()
5421 brcmf_err("unsupported operation: %d\n", oper); in brcmf_convert_nl80211_tdls_oper()
5429 enum nl80211_tdls_operation oper) in brcmf_cfg80211_tdls_oper() argument
5437 ret = brcmf_convert_nl80211_tdls_oper(oper); in brcmf_cfg80211_tdls_oper()
/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h10303 mlxsw_reg_mtutc_pack(char *payload, enum mlxsw_reg_mtutc_operation oper, in mlxsw_reg_mtutc_pack() argument
10307 mlxsw_reg_mtutc_operation_set(payload, oper); in mlxsw_reg_mtutc_pack()