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 | 1750 struct wlan_pwr_cfg cfg_cmd; in rtl_hal_pwrseqcmdparsing() local 1759 cfg_cmd = pwrcfgcmd[ary_idx]; in rtl_hal_pwrseqcmdparsing() 1763 GET_PWR_CFG_OFFSET(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1764 GET_PWR_CFG_CUT_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1765 GET_PWR_CFG_FAB_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1766 GET_PWR_CFG_INTF_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1767 GET_PWR_CFG_BASE(cfg_cmd), GET_PWR_CFG_CMD(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1768 GET_PWR_CFG_MASK(cfg_cmd), GET_PWR_CFG_VALUE(cfg_cmd)); in rtl_hal_pwrseqcmdparsing() 1770 if ((GET_PWR_CFG_FAB_MASK(cfg_cmd)&faversion) && in rtl_hal_pwrseqcmdparsing() 1771 (GET_PWR_CFG_CUT_MASK(cfg_cmd)&cut_version) && in rtl_hal_pwrseqcmdparsing() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | xhci.c | 3306 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local 3368 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset() 3369 if (!cfg_cmd) in xhci_endpoint_reset() 3386 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3394 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3408 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset() 3411 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3417 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset() 3419 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset() 3421 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset() [all …]
|