Home
last modified time | relevance | path

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

/drivers/net/ethernet/i825xx/
Dsun3_82586.c409 volatile struct configure_cmd_struct *cfg_cmd; in init586() local
418 cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ in init586()
419 cfg_cmd->cmd_status = 0; in init586()
420 cfg_cmd->cmd_cmd = swab16(CMD_CONFIGURE | CMD_LAST); in init586()
421 cfg_cmd->cmd_link = 0xffff; in init586()
423 cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ in init586()
424 cfg_cmd->fifo = fifo; /* fifo-limit (8=tx:32/rx:64) */ in init586()
425 cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ in init586()
426 cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ in init586()
427 cfg_cmd->priority = 0x00; in init586()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1760 struct wlan_pwr_cfg cfg_cmd; in rtl_hal_pwrseqcmdparsing() local
1769 cfg_cmd = pwrcfgcmd[ary_idx]; in rtl_hal_pwrseqcmdparsing()
1773 GET_PWR_CFG_OFFSET(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1774 GET_PWR_CFG_CUT_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1775 GET_PWR_CFG_FAB_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1776 GET_PWR_CFG_INTF_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1777 GET_PWR_CFG_BASE(cfg_cmd), GET_PWR_CFG_CMD(cfg_cmd), in rtl_hal_pwrseqcmdparsing()
1778 GET_PWR_CFG_MASK(cfg_cmd), GET_PWR_CFG_VALUE(cfg_cmd)); in rtl_hal_pwrseqcmdparsing()
1780 if ((GET_PWR_CFG_FAB_MASK(cfg_cmd)&faversion) && in rtl_hal_pwrseqcmdparsing()
1781 (GET_PWR_CFG_CUT_MASK(cfg_cmd)&cut_version) && in rtl_hal_pwrseqcmdparsing()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c460 struct iwl_tlc_config_cmd cfg_cmd = { in rs_fw_rate_init() local
471 u16 cmd_size = sizeof(cfg_cmd); in rs_fw_rate_init()
483 rs_fw_set_supp_rates(sta, sband, &cfg_cmd); in rs_fw_rate_init()
492 &cfg_cmd); in rs_fw_rate_init()
/drivers/usb/host/
Dxhci.c3112 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local
3158 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset()
3159 if (!cfg_cmd) in xhci_endpoint_reset()
3176 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3184 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3205 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset()
3208 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset()
3214 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset()
3216 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset()
3218 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset()
[all …]