Searched refs:command (Results 76 - 100 of 654) sorted by relevance

1234567891011>>

/drivers/char/agp/
H A Dsis-agp.c78 u32 command; local
84 pci_read_config_dword(agp_bridge->dev, agp_bridge->capndx + PCI_AGP_STATUS, &command);
85 command = agp_collect_device_status(bridge, mode, command);
86 command |= AGPSTAT_AGP_ENABLE;
87 rate = (command & 0x7) << 2;
97 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command);
101 * command register triggers a 5ms screwup during which the master
/drivers/scsi/aic7xxx/
H A Daic79xx_osm_pci.c311 uint32_t command; local
319 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4);
320 command &= ~(PCIM_CMD_PORTEN|PCIM_CMD_MEMEN);
331 command | PCIM_CMD_MEMEN, 4);
346 command |= PCIM_CMD_MEMEN;
365 command |= PCIM_CMD_PORTEN;
376 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, 4);
H A Daic7xxx_osm_pci.c388 uint32_t command; local
396 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4);
397 command &= ~(PCIM_CMD_PORTEN|PCIM_CMD_MEMEN);
406 command | PCIM_CMD_MEMEN, 4);
425 command |= PCIM_CMD_MEMEN;
444 command |= PCIM_CMD_PORTEN;
454 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, 4);
/drivers/mtd/nand/
H A Dcafe_nand.c158 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, argument
167 command, column, page_addr);
169 if (command == NAND_CMD_ERASE2 || command == NAND_CMD_PAGEPROG) {
170 /* Second half of a command we already calculated */
171 cafe_writel(cafe, cafe->ctl2 | 0x100 | command, NAND_CTRL2);
174 cafe_dev_dbg(&cafe->pdev->dev, "Continue command, ctl1 %08x, #data %d\n",
183 command == NAND_CMD_READOOB) {
185 command = NAND_CMD_READ0;
188 /* FIXME: Do we need to send read command befor
[all...]
H A Dau1550nd.c189 /* Select the command latch by setting CLE to high */
191 /* Deselect the command latch by setting CLE to low */
262 * au1550_command - Send command to NAND device
264 * @command: the command to be sent
265 * @column: the column address for this command, -1 if none
266 * @page_addr: the page address for this command, -1 if none
268 static void au1550_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) argument
275 /* Begin command latch cycle */
278 * Write out the command t
[all...]
/drivers/usb/host/
H A Dehci-dbg.c218 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) argument
223 label, label [0] ? " " : "", command,
224 (command & CMD_HIRD) ? " HIRD" : "",
225 (command & CMD_PPCEE) ? " PPCEE" : "",
226 (command & CMD_FSP) ? " FSP" : "",
227 (command & CMD_ASPE) ? " ASPE" : "",
228 (command & CMD_PSPE) ? " PSPE" : "",
229 (command & CMD_PARK) ? " park" : "(park)",
230 CMD_PARK_CNT (command),
231 (command >> 1
293 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command) argument
[all...]
/drivers/acpi/
H A Dec.c58 #define ACPI_EC_FLAG_CMD 0x08 /* Input buffer contains a command */
85 #define ACPI_EC_COMMAND_POLL 0x01 /* Available for command byte */
91 MODULE_PARM_DESC(ec_delay, "Timeout(ms) waited until an EC command completes");
114 u8 command; member in struct:transaction
158 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command) argument
160 pr_debug("EC_SC(W) = 0x%2.2x\n", command);
161 outb(command, ec->command_addr);
226 if (t->command == ACPI_EC_COMMAND_QUERY)
228 acpi_ec_cmd_string(t->command));
242 (t->command
469 ec_transaction(u8 command, const u8 *wdata, unsigned wdata_len, u8 *rdata, unsigned rdata_len) argument
[all...]
H A Dsbshc.c83 ACPI_SMB_COMMAND = 3, /* command */
124 u8 address, u8 command, u8 *data, u8 length)
141 smb_hc_write(hc, ACPI_SMB_COMMAND, command);
180 u8 command, u8 *data)
182 return acpi_smbus_transaction(hc, protocol, address, command, data, 0);
188 u8 command, u8 *data, u8 length)
190 return acpi_smbus_transaction(hc, protocol, address, command, data, length);
123 acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data, u8 length) argument
179 acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data) argument
187 acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data, u8 length) argument
/drivers/i2c/busses/
H A Di2c-isch.c148 u8 command, int size, union i2c_smbus_data *data)
181 outb(command, SMBHSTCMD);
186 outb(command, SMBHSTCMD);
193 outb(command, SMBHSTCMD);
202 outb(command, SMBHSTCMD);
146 sch_access(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument
H A Di2c-amd8111.c51 #define AMD_EC_CMD 0x04 /* command register */
57 #define AMD_EC_SC_CMD 0x08 /* byte in data reg is command */
156 #define AMD_SMB_CMD 0x03 /* command */
193 unsigned short flags, char read_write, u8 command, int size,
213 command);
221 status = amd_ec_write(smbus, AMD_SMB_CMD, command);
234 status = amd_ec_write(smbus, AMD_SMB_CMD, command);
251 status = amd_ec_write(smbus, AMD_SMB_CMD, command);
274 status = amd_ec_write(smbus, AMD_SMB_CMD, command);
292 status = amd_ec_write(smbus, AMD_SMB_CMD, command);
192 amd8111_access(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument
[all...]
/drivers/isdn/pcbit/
H A Dcallbacks.c104 ictl.command = ISDN_STAT_DCONN;
139 ictl.command = ISDN_STAT_ICALL;
260 ictl.command = ISDN_STAT_BHUP;
300 ictl.command = ISDN_STAT_BHUP;
341 ictl.command = ISDN_STAT_BCONN;
/drivers/staging/line6/
H A Dmidibuf.c143 int command; local
162 /* check MIDI command length */
163 command = this->buf[this->pos_read];
165 if (command & 0x80) {
166 midi_length = midibuf_message_length(command);
167 this->command_prev = command;
216 return 0; /* command is not yet complete */
219 return 0; /* command is not yet complete */
/drivers/net/wireless/mwifiex/
H A Dcmdevt.c30 * This function initializes a command node.
54 * This function returns a command node from the free queue depending upon
78 * This function cleans up a command node.
107 * This function sends a host command to the firmware.
109 * The function copies the host command into the driver command
117 /* Copy the HOST command to command buffer */
124 * This function downloads a command to the firmware.
126 * The function performs sanity tests, sets the command sequenc
654 u16 command; local
1225 uint16_t command = le16_to_cpu(cmd->command); local
[all...]
/drivers/ata/
H A Data_generic.c165 u16 command; local
196 pci_read_config_word(dev, PCI_COMMAND, &command);
197 if (!(command & PCI_COMMAND_IO))
/drivers/ide/
H A Dide-pci-generic.c139 u16 command; local
140 pci_read_config_word(dev, PCI_COMMAND, &command);
141 if (!(command & PCI_COMMAND_IO)) {
/drivers/isdn/hardware/eicon/
H A Ddi_defs.h49 word command; /* command = 0x0100 */ member in struct:get_name_s
53 word command; /* command = 0x0300 */ member in struct:postcall_s
58 #define REQ_PARA 0x0600 /* request command line parameters */
60 #define L1_STARTUP_DOWN_POS 0 /* '-y' command line parameter in......*/
63 word command; /* command = 0x0600 */ member in struct:get_para_s
/drivers/media/rc/
H A Dir-sharp-decoder.c49 u32 msg, echo, address, command, scancode; local
149 /* Validate - command, ext, chk should be inverted in 2nd */
160 command = bitrev8((msg >> 2) & 0xff);
162 scancode = address << 8 | command;
/drivers/net/wireless/libertas/
H A Dcmd.h17 /* command response */
22 /* command data */
31 the size of the target of the pointer. Since the command to be sent
42 void lbs_cmd_async(struct lbs_private *priv, uint16_t command,
45 int __lbs_cmd(struct lbs_private *priv, uint16_t command,
51 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size,
H A Dcmd.c2 * This file contains the handling of command.
3 * It prepares command and sends it to firmware when it is ready.
21 * lbs_cmd_copyback - Simple callback that copies response back into command
24 * @extra: A pointer to the original command structure for which
26 * @resp: A pointer to the command response
44 * Use this if you just want to send a command to the hardware, but don't
61 * is_command_allowed_in_ps - tests if a command is allowed in Power Save mode
63 * @cmd: the command ID
190 * Certain firmware versions do not support EHS_REMOVE_WAKEUP command
834 /* Set command heade
993 uint16_t command; local
1618 __lbs_cmd_async(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument
1676 lbs_cmd_async(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size) argument
1685 __lbs_cmd(struct lbs_private *priv, uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *), unsigned long callback_arg) argument
[all...]
/drivers/atm/
H A Dambassador.h305 /* PLX/etc. memory map including command structure */
351 __be32 command; member in struct:__anon97
361 /* command queue */
408 } command; typedef in typeref:struct:__anon99
544 command * start;
545 command * in;
546 command * out;
547 command * limit;
/drivers/media/common/b2c2/
H A Dflexcop-sram.c78 u32 command;
81 command = bank | addr | 0x04000000 | (*buf << 0x10);
93 write_reg_dw(adapter, 0x700, command);
103 u32 command, value;
106 command = bank | addr | 0x04008000;
118 write_reg_dw(adapter, 0x700, command);
/drivers/rtc/
H A Drtc-rx8581.c58 s32 (*read_block_data)(const struct i2c_client *client, u8 command,
60 s32 (*write_block_data)(const struct i2c_client *client, u8 command,
66 static int rx8581_read_block_data(const struct i2c_client *client, u8 command, argument
72 data = i2c_smbus_read_byte_data(client, command + i);
80 static int rx8581_write_block_data(const struct i2c_client *client, u8 command, argument
86 ret = i2c_smbus_write_byte_data(client, command + i,
/drivers/infiniband/core/
H A Duverbs_main.c609 flags = (hdr.command &
613 __u32 command; local
615 if (hdr.command & ~(__u32)(IB_USER_VERBS_CMD_FLAGS_MASK |
619 command = hdr.command & IB_USER_VERBS_CMD_COMMAND_MASK;
621 if (command >= ARRAY_SIZE(uverbs_cmd_table) ||
622 !uverbs_cmd_table[command])
626 command != IB_USER_VERBS_CMD_GET_CONTEXT)
629 if (!(file->device->ib_dev->uverbs_cmd_mask & (1ull << command)))
635 return uverbs_cmd_table[command](fil
641 __u32 command; local
[all...]
/drivers/media/i2c/soc_camera/
H A Dmt9t112.c148 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) argument
154 command = swab16(command);
159 msg[0].buf = (u8 *)&command;
180 u16 command, u16 data)
186 command = swab16(command);
189 memcpy(buf + 0, &command, 2);
209 u16 command,
213 int val = __mt9t112_reg_read(client, command);
179 __mt9t112_reg_write(const struct i2c_client *client, u16 command, u16 data) argument
208 __mt9t112_reg_mask_set(const struct i2c_client *client, u16 command, u16 mask, u16 set) argument
224 __mt9t112_mcu_read(const struct i2c_client *client, u16 command) argument
235 __mt9t112_mcu_write(const struct i2c_client *client, u16 command, u16 data) argument
247 __mt9t112_mcu_mask_set(const struct i2c_client *client, u16 command, u16 mask, u16 set) argument
[all...]
/drivers/net/ethernet/i825xx/
H A D82596.c140 * The MPU_PORT command allows direct access to the 82596. With PORT access
141 * the following commands are available (p5-18). The 32-bit port command
172 #define CMD_EOL 0x8000 /* The last command of the list, stop. */
216 /* The command structure has two 'next' pointers; v_next is the address of
217 * the next command as seen by the CPU, b_next is the address of the next
218 * command as seen by the 82596. The b_next pointer, as used by the 82596
219 * always references the status field of the next command, rather than the
222 * because the 82596 expects other fields to be there, depending on command
229 unsigned short command; member in struct:i596_cmd
292 unsigned short command; member in struct:i596_scb
[all...]

Completed in 7102 milliseconds

1234567891011>>