Searched refs:cfg_cmd (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.c | 406 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/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 1761 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/drivers/usb/host/ |
H A D | xhci.c | 3170 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local 3232 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset() 3233 if (!cfg_cmd) in xhci_endpoint_reset() 3250 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3258 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3272 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset() 3275 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3281 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset() 3283 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset() 3285 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset() [all …]
|