Home
last modified time | relevance | path

Searched full:ini (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-brcm-usb-init.h106 static inline void brcm_usb_init_ipp(struct brcm_usb_init_params *ini) in brcm_usb_init_ipp() argument
108 if (ini->ops->init_ipp) in brcm_usb_init_ipp()
109 ini->ops->init_ipp(ini); in brcm_usb_init_ipp()
112 static inline void brcm_usb_init_common(struct brcm_usb_init_params *ini) in brcm_usb_init_common() argument
114 if (ini->ops->init_common) in brcm_usb_init_common()
115 ini->ops->init_common(ini); in brcm_usb_init_common()
118 static inline void brcm_usb_init_eohci(struct brcm_usb_init_params *ini) in brcm_usb_init_eohci() argument
120 if (ini->ops->init_eohci) in brcm_usb_init_eohci()
121 ini->ops->init_eohci(ini); in brcm_usb_init_eohci()
124 static inline void brcm_usb_init_xhci(struct brcm_usb_init_params *ini) in brcm_usb_init_xhci() argument
[all …]
Dphy-brcm-usb.c63 struct brcm_usb_init_params ini; member
129 brcm_usb_init_common(&priv->ini); in brcm_usb_phy_init()
133 brcm_usb_init_eohci(&priv->ini); in brcm_usb_phy_init()
135 brcm_usb_init_xhci(&priv->ini); in brcm_usb_phy_init()
154 brcm_usb_uninit_eohci(&priv->ini); in brcm_usb_phy_exit()
156 brcm_usb_uninit_xhci(&priv->ini); in brcm_usb_phy_exit()
161 brcm_usb_uninit_common(&priv->ini); in brcm_usb_phy_exit()
235 priv->ini.mode)); in dr_mode_show()
251 brcm_usb_set_dual_select(&priv->ini, value); in dual_select_store()
266 value = brcm_usb_get_dual_select(&priv->ini); in dual_select_show()
[all …]
/kernel/linux/linux-6.6/drivers/phy/broadcom/
Dphy-brcm-usb-init.h115 static inline void brcm_usb_init_ipp(struct brcm_usb_init_params *ini) in brcm_usb_init_ipp() argument
117 if (ini->ops->init_ipp) in brcm_usb_init_ipp()
118 ini->ops->init_ipp(ini); in brcm_usb_init_ipp()
121 static inline void brcm_usb_init_common(struct brcm_usb_init_params *ini) in brcm_usb_init_common() argument
123 if (ini->ops->init_common) in brcm_usb_init_common()
124 ini->ops->init_common(ini); in brcm_usb_init_common()
127 static inline void brcm_usb_init_eohci(struct brcm_usb_init_params *ini) in brcm_usb_init_eohci() argument
129 if (ini->ops->init_eohci) in brcm_usb_init_eohci()
130 ini->ops->init_eohci(ini); in brcm_usb_init_eohci()
133 static inline void brcm_usb_init_xhci(struct brcm_usb_init_params *ini) in brcm_usb_init_xhci() argument
[all …]
Dphy-brcm-usb.c63 struct brcm_usb_init_params ini; member
129 brcm_usb_init_common(&priv->ini); in brcm_usb_phy_init()
133 brcm_usb_init_eohci(&priv->ini); in brcm_usb_phy_init()
135 brcm_usb_init_xhci(&priv->ini); in brcm_usb_phy_init()
154 brcm_usb_uninit_eohci(&priv->ini); in brcm_usb_phy_exit()
156 brcm_usb_uninit_xhci(&priv->ini); in brcm_usb_phy_exit()
161 brcm_usb_uninit_common(&priv->ini); in brcm_usb_phy_exit()
235 priv->ini.supported_port_modes)); in dr_mode_show()
251 priv->ini.port_mode = value; in dual_select_store()
252 brcm_usb_set_dual_select(&priv->ini); in dual_select_store()
[all …]
/kernel/linux/linux-6.6/net/smc/
Daf_smc.c732 struct smc_init_info *ini) in smc_link_save_peer_info() argument
735 memcpy(link->peer_gid, ini->peer_gid, SMC_GID_SIZE); in smc_link_save_peer_info()
736 memcpy(link->peer_mac, ini->peer_mac, sizeof(link->peer_mac)); in smc_link_save_peer_info()
991 static int smc_find_rdma_device(struct smc_sock *smc, struct smc_init_info *ini) in smc_find_rdma_device() argument
997 smc_pnet_find_roce_resource(smc->clcsock->sk, ini); in smc_find_rdma_device()
998 if (!ini->check_smcrv2 && !ini->ib_dev) in smc_find_rdma_device()
1000 if (ini->check_smcrv2 && !ini->smcrv2.ib_dev_v2) in smc_find_rdma_device()
1007 static int smc_find_ism_device(struct smc_sock *smc, struct smc_init_info *ini) in smc_find_ism_device() argument
1010 smc_pnet_find_ism_resource(smc->clcsock->sk, ini); in smc_find_ism_device()
1011 if (!ini->ism_dev[0]) in smc_find_ism_device()
[all …]
Dsmc_clc.c442 struct smc_init_info *ini) in smc_clc_fill_fce_v2x() argument
448 fce_v2x->fce_v2_base.release = ini->release_nr; in smc_clc_fill_fce_v2x()
451 if (ini->is_smcd && ini->release_nr < SMC_RELEASE_1) { in smc_clc_fill_fce_v2x()
456 if (ini->release_nr >= SMC_RELEASE_1) { in smc_clc_fill_fce_v2x()
457 if (!ini->is_smcd) { in smc_clc_fill_fce_v2x()
458 fce_v2x->max_conns = ini->max_conns; in smc_clc_fill_fce_v2x()
459 fce_v2x->max_links = ini->max_links; in smc_clc_fill_fce_v2x()
844 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini) in smc_clc_send_proposal() argument
875 pclc_base->hdr.typev1 = ini->smc_type_v1; in smc_clc_send_proposal()
876 pclc_base->hdr.typev2 = ini->smc_type_v2; in smc_clc_send_proposal()
[all …]
Dsmc_core.c746 u8 link_idx, struct smc_init_info *ini) in smcr_link_init() argument
753 lnk->smcibdev = ini->smcrv2.ib_dev_v2; in smcr_link_init()
754 lnk->ibport = ini->smcrv2.ib_port_v2; in smcr_link_init()
756 lnk->smcibdev = ini->ib_dev; in smcr_link_init()
757 lnk->ibport = ini->ib_port; in smcr_link_init()
783 ini->vlan_id, lnk->gid, &lnk->sgid_index, in smcr_link_init()
785 &ini->smcrv2 : NULL); in smcr_link_init()
827 static int smc_lgr_create(struct smc_sock *smc, struct smc_init_info *ini) in smc_lgr_create() argument
838 if (ini->is_smcd && ini->vlan_id) { in smc_lgr_create()
839 if (smc_ism_get_vlan(ini->ism_dev[ini->ism_selected], in smc_lgr_create()
[all …]
Dsmc_pnet.c981 struct smc_init_info *ini) in smc_pnet_determine_gid() argument
983 if (!ini->check_smcrv2 && in smc_pnet_determine_gid()
984 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->ib_gid, NULL, in smc_pnet_determine_gid()
986 ini->ib_dev = ibdev; in smc_pnet_determine_gid()
987 ini->ib_port = i; in smc_pnet_determine_gid()
990 if (ini->check_smcrv2 && in smc_pnet_determine_gid()
991 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, ini->smcrv2.ib_gid_v2, in smc_pnet_determine_gid()
992 NULL, &ini->smcrv2)) { in smc_pnet_determine_gid()
993 ini->smcrv2.ib_dev_v2 = ibdev; in smc_pnet_determine_gid()
994 ini->smcrv2.ib_port_v2 = i; in smc_pnet_determine_gid()
[all …]
Dsmc_llc.c942 struct smc_init_info *ini, in smc_llc_cli_conf_link() argument
1035 struct smc_init_info *ini = NULL; in smc_llc_cli_add_link() local
1042 ini = kzalloc(sizeof(*ini), GFP_KERNEL); in smc_llc_cli_add_link()
1043 if (!ini) { in smc_llc_cli_add_link()
1053 ini->vlan_id = lgr->vlan_id; in smc_llc_cli_add_link()
1055 ini->check_smcrv2 = true; in smc_llc_cli_add_link()
1056 ini->smcrv2.saddr = lgr->saddr; in smc_llc_cli_add_link()
1057 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(llc->sender_gid); in smc_llc_cli_add_link()
1059 smc_pnet_find_alt_roce(lgr, ini, link->smcibdev); in smc_llc_cli_add_link()
1063 if (!ini->ib_dev && !ini->smcrv2.ib_dev_v2) in smc_llc_cli_add_link()
[all …]
Dsmc_pnet.h61 void smc_pnet_find_roce_resource(struct sock *sk, struct smc_init_info *ini);
62 void smc_pnet_find_ism_resource(struct sock *sk, struct smc_init_info *ini);
66 struct smc_init_info *ini,
Dsmc_clc.h434 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini);
436 u8 version, u8 *eid, struct smc_init_info *ini);
438 u8 version, u8 *negotiated_eid, struct smc_init_info *ini);
440 struct smc_init_info *ini);
442 struct smc_init_info *ini);
444 struct smc_init_info *ini);
/kernel/linux/linux-5.10/net/smc/
Daf_smc.c596 static int smc_find_rdma_device(struct smc_sock *smc, struct smc_init_info *ini) in smc_find_rdma_device() argument
602 smc_pnet_find_roce_resource(smc->clcsock->sk, ini); in smc_find_rdma_device()
603 if (!ini->ib_dev) in smc_find_rdma_device()
610 static int smc_find_ism_device(struct smc_sock *smc, struct smc_init_info *ini) in smc_find_ism_device() argument
613 smc_pnet_find_ism_resource(smc->clcsock->sk, ini); in smc_find_ism_device()
614 if (!ini->ism_dev[0]) in smc_find_ism_device()
617 ini->ism_chid[0] = smc_ism_get_chid(ini->ism_dev[0]); in smc_find_ism_device()
622 static bool smc_find_ism_v2_is_unique_chid(u16 chid, struct smc_init_info *ini, in smc_find_ism_v2_is_unique_chid() argument
625 int i = (!ini->ism_dev[0]) ? 1 : 0; in smc_find_ism_v2_is_unique_chid()
628 if (ini->ism_chid[i] == chid) in smc_find_ism_v2_is_unique_chid()
[all …]
Dsmc_core.c304 u8 link_idx, struct smc_init_info *ini) in smcr_link_init() argument
309 get_device(&ini->ib_dev->ibdev->dev); in smcr_link_init()
310 atomic_inc(&ini->ib_dev->lnk_cnt); in smcr_link_init()
314 lnk->smcibdev = ini->ib_dev; in smcr_link_init()
315 lnk->ibport = ini->ib_port; in smcr_link_init()
316 lnk->path_mtu = ini->ib_dev->pattr[ini->ib_port - 1].active_mtu; in smcr_link_init()
319 if (!ini->ib_dev->initialized) { in smcr_link_init()
320 rc = (int)smc_ib_setup_per_ibdev(ini->ib_dev); in smcr_link_init()
328 ini->vlan_id, lnk->gid, &lnk->sgid_index); in smcr_link_init()
358 put_device(&ini->ib_dev->ibdev->dev); in smcr_link_init()
[all …]
Dsmc_clc.c480 int smc_clc_send_proposal(struct smc_sock *smc, struct smc_init_info *ini) in smc_clc_send_proposal() argument
510 pclc_base->hdr.typev1 = ini->smc_type_v1; in smc_clc_send_proposal()
511 pclc_base->hdr.typev2 = ini->smc_type_v2; in smc_clc_send_proposal()
515 if (ini->smc_type_v1 != SMC_TYPE_N) { in smc_clc_send_proposal()
518 if (ini->smc_type_v2 == SMC_TYPE_N) { in smc_clc_send_proposal()
535 if (smcr_indicated(ini->smc_type_v1)) { in smc_clc_send_proposal()
539 memcpy(pclc_base->lcl.gid, ini->ib_gid, SMC_GID_SIZE); in smc_clc_send_proposal()
540 memcpy(pclc_base->lcl.mac, &ini->ib_dev->mac[ini->ib_port - 1], in smc_clc_send_proposal()
543 if (smcd_indicated(ini->smc_type_v1)) { in smc_clc_send_proposal()
545 if (ini->ism_dev[0]) { in smc_clc_send_proposal()
[all …]
Dsmc_pnet.c958 struct smc_init_info *ini, in _smc_pnet_find_roce_by_pnetid() argument
964 ini->ib_dev = NULL; in _smc_pnet_find_roce_by_pnetid()
975 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, in _smc_pnet_find_roce_by_pnetid()
976 ini->ib_gid, NULL)) { in _smc_pnet_find_roce_by_pnetid()
977 ini->ib_dev = ibdev; in _smc_pnet_find_roce_by_pnetid()
978 ini->ib_port = i; in _smc_pnet_find_roce_by_pnetid()
989 struct smc_init_info *ini, in smc_pnet_find_alt_roce() argument
992 _smc_pnet_find_roce_by_pnetid(lgr->pnet_id, ini, known_dev); in smc_pnet_find_alt_roce()
999 struct smc_init_info *ini) in smc_pnet_find_rdma_dev() argument
1020 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, in smc_pnet_find_rdma_dev()
[all …]
Dsmc_pnet.h61 void smc_pnet_find_roce_resource(struct sock *sk, struct smc_init_info *ini);
62 void smc_pnet_find_ism_resource(struct sock *sk, struct smc_init_info *ini);
66 struct smc_init_info *ini,
Dsmc_llc.c800 struct smc_init_info *ini, in smc_llc_cli_conf_link() argument
874 struct smc_init_info ini; in smc_llc_cli_add_link() local
880 ini.vlan_id = lgr->vlan_id; in smc_llc_cli_add_link()
881 smc_pnet_find_alt_roce(lgr, &ini, link->smcibdev); in smc_llc_cli_add_link()
884 if (!ini.ib_dev) in smc_llc_cli_add_link()
888 if (!ini.ib_dev) { in smc_llc_cli_add_link()
890 ini.ib_dev = link->smcibdev; in smc_llc_cli_add_link()
891 ini.ib_port = link->ibport; in smc_llc_cli_add_link()
897 rc = smcr_link_init(lgr, lnk_new, lnk_idx, &ini); in smc_llc_cli_add_link()
913 lnk_new->smcibdev->mac[ini.ib_port - 1], in smc_llc_cli_add_link()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
Dcore_linecards.c594 err = devlink_info_version_running_put(req, "ini.version", buf); in mlxsw_linecard_devlink_info_get()
632 * driver initialization. Due to a missing INI bundle file in mlxsw_linecard_provision_set()
853 NL_SET_ERR_MSG_MOD(extack, "Failed to query linecard INI status"); in mlxsw_linecard_query_ini_status()
890 NL_SET_ERR_MSG_MOD(extack, "Failed to issue linecard INI data transfer"); in mlxsw_linecard_ini_transfer()
897 NL_SET_ERR_MSG_MOD(extack, "Failed to transfer linecard INI data"); in mlxsw_linecard_ini_transfer()
922 NL_SET_ERR_MSG_MOD(extack, "Failed to issue linecard INI erase"); in mlxsw_linecard_ini_erase()
933 NL_SET_ERR_MSG_MOD(extack, "Failed to erase linecard INI"); in mlxsw_linecard_ini_erase()
936 NL_SET_ERR_MSG_MOD(extack, "Failed to erase linecard INI while being used"); in mlxsw_linecard_ini_erase()
961 dev_err(linecards->bus_info->dev, "linecard %u: Failed to activate INI", in mlxsw_linecard_bct_process()
987 NL_SET_ERR_MSG_MOD(extack, "Failed to issue linecard INI activation"); in mlxsw_linecard_ini_activate()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h323 * struct iwl_fw_ini_error_dump_header - ini region dump header
339 * struct iwl_fw_ini_error_dump - ini region dump
353 * struct iwl_fw_ini_error_dump_register - ini register dump
379 /* struct iwl_fw_ini_dump_info - ini dump information
429 * struct iwl_fw_ini_err_table_dump - ini error table dump
456 * struct iwl_fw_ini_monitor_dump - ini monitor dump
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c483 struct scb_ampdu_tid_ini *ini; in brcms_c_ampdu_tx_operational() local
494 ini = &scb_ampdu->ini[tid]; in brcms_c_ampdu_tx_operational()
495 ini->tid = tid; in brcms_c_ampdu_tx_operational()
496 ini->scb = scb_ampdu->scb; in brcms_c_ampdu_tx_operational()
497 ini->ba_wsize = ba_wsize; in brcms_c_ampdu_tx_operational()
840 struct scb_ampdu_tid_ini *ini; in brcms_c_ampdu_dotxstatus_complete() local
863 ini = &scb_ampdu->ini[tid]; in brcms_c_ampdu_dotxstatus_complete()
953 ini->txretry[index] = 0; in brcms_c_ampdu_dotxstatus_complete()
978 if (retry && (ini->txretry[index] < (int)retry_limit)) { in brcms_c_ampdu_dotxstatus_complete()
980 ini->txretry[index]++; in brcms_c_ampdu_dotxstatus_complete()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dani.h52 /* values here are relative to the INI */
70 /* INI default values for ANI registers */
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dscb.h49 * This could easily be a ini[] pointer and we keep this info in wl
54 struct scb_ampdu_tid_ini ini[AMPDU_MAX_SCB_TID]; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
Dani.h52 /* values here are relative to the INI */
70 /* INI default values for ANI registers */
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h347 * struct iwl_fw_ini_error_dump_header - ini region dump header
363 * struct iwl_fw_ini_error_dump - ini region dump
376 * struct iwl_fw_ini_error_dump_register - ini register dump
406 /* struct iwl_fw_ini_dump_info - ini dump information
456 * struct iwl_fw_ini_err_table_dump - ini error table dump
482 * struct iwl_fw_ini_monitor_dump - ini monitor dump
/kernel/linux/linux-6.6/Documentation/networking/devlink/
Dmlxsw.rst75 * - ``ini.version``
77 - Version of line card INI loaded

123456