Home
last modified time | relevance | path

Searched refs:cfg_cmd (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c603 struct iwl_tlc_config_cmd_v4 cfg_cmd = { in iwl_mvm_rs_fw_rate_init() local
629 cfg_cmd.flags |= in iwl_mvm_rs_fw_rate_init()
640 cfg_cmd.sta_id = mvm_link_sta->sta_id; in iwl_mvm_rs_fw_rate_init()
652 &cfg_cmd); in iwl_mvm_rs_fw_rate_init()
661 cfg_cmd.max_tx_op = cpu_to_le16(mvmvif->max_tx_op); in iwl_mvm_rs_fw_rate_init()
665 cfg_cmd.sta_id, cfg_cmd.max_ch_width, cfg_cmd.mode); in iwl_mvm_rs_fw_rate_init()
667 cfg_cmd.chains, cfg_cmd.sgi_ch_width_supp, cfg_cmd.flags); in iwl_mvm_rs_fw_rate_init()
669 cfg_cmd.max_mpdu_len, cfg_cmd.non_ht_rates, cfg_cmd.max_tx_op); in iwl_mvm_rs_fw_rate_init()
671 cfg_cmd.ht_rates[0][0], cfg_cmd.ht_rates[1][0]); in iwl_mvm_rs_fw_rate_init()
673 cfg_cmd.ht_rates[0][1], cfg_cmd.ht_rates[1][1]); in iwl_mvm_rs_fw_rate_init()
[all …]
/linux-6.12.1/drivers/net/ethernet/i825xx/
Dsun3_82586.c406 volatile struct configure_cmd_struct *cfg_cmd; in init586() local
415 cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ in init586()
416 cfg_cmd->cmd_status = 0; in init586()
417 cfg_cmd->cmd_cmd = swab16(CMD_CONFIGURE | CMD_LAST); in init586()
418 cfg_cmd->cmd_link = 0xffff; in init586()
420 cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ in init586()
421 cfg_cmd->fifo = fifo; /* fifo-limit (8=tx:32/rx:64) */ in init586()
422 cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ in init586()
423 cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ in init586()
424 cfg_cmd->priority = 0x00; in init586()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1761 struct wlan_pwr_cfg cfg_cmd; in rtl_hal_pwrseqcmdparsing() local
1770 cfg_cmd = pwrcfgcmd[ary_idx]; in rtl_hal_pwrseqcmdparsing()
1774 GET_PWR_CFG_OFFSET(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1775 GET_PWR_CFG_CUT_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1776 GET_PWR_CFG_FAB_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1777 GET_PWR_CFG_INTF_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1778 GET_PWR_CFG_BASE(cfg_cmd), GET_PWR_CFG_CMD(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1779 GET_PWR_CFG_MASK(cfg_cmd), GET_PWR_CFG_VALUE(cfg_cmd)); in rtl_hal_pwrseqcmdparsing()
1781 if ((GET_PWR_CFG_FAB_MASK(cfg_cmd)&faversion) && in rtl_hal_pwrseqcmdparsing()
1782 (GET_PWR_CFG_CUT_MASK(cfg_cmd)&cut_version) && in rtl_hal_pwrseqcmdparsing()
[all …]
/linux-6.12.1/drivers/usb/host/
Dxhci.c3120 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local
3182 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset()
3183 if (!cfg_cmd) in xhci_endpoint_reset()
3200 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3208 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3222 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset()
3225 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3231 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset()
3233 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset()
3235 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset()
[all …]