Home
last modified time | relevance | path

Searched refs:cmd (Results 2226 – 2250 of 6838) sorted by relevance

1...<<81828384858687888990>>...274

/openbmc/linux/drivers/net/ppp/
H A Dppp_synctty.c91 static int ppp_sync_ioctl(struct ppp_channel *chan, unsigned int cmd,
276 ppp_synctty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) in ppp_synctty_ioctl() argument
285 switch (cmd) { in ppp_synctty_ioctl()
304 err = n_tty_ioctl_helper(tty, cmd, arg); in ppp_synctty_ioctl()
315 err = tty_mode_ioctl(tty, cmd, arg); in ppp_synctty_ioctl()
386 ppp_sync_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg) in ppp_sync_ioctl() argument
395 switch (cmd) { in ppp_sync_ioctl()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-hisi.c272 u32 cmd, fifo_state; in hisi_i2c_xfer_msg() local
285 cmd = 0; in hisi_i2c_xfer_msg()
288 cmd |= HISI_I2C_CMD_TXDATA_SR_EN; in hisi_i2c_xfer_msg()
294 cmd |= HISI_I2C_CMD_TXDATA_P_EN; in hisi_i2c_xfer_msg()
297 cmd |= HISI_I2C_CMD_TXDATA_RW; in hisi_i2c_xfer_msg()
299 cmd |= FIELD_PREP(HISI_I2C_CMD_TXDATA_DATA, in hisi_i2c_xfer_msg()
302 writel(cmd, ctlr->iobase + HISI_I2C_CMD_TXDATA); in hisi_i2c_xfer_msg()
/openbmc/linux/arch/powerpc/kernel/
H A Deeh_pe.c733 u32 cmd; in eeh_restore_device_bars() local
752 eeh_ops->read_config(edev, PCI_COMMAND, 4, &cmd); in eeh_restore_device_bars()
754 cmd |= PCI_COMMAND_PARITY; in eeh_restore_device_bars()
756 cmd &= ~PCI_COMMAND_PARITY; in eeh_restore_device_bars()
758 cmd |= PCI_COMMAND_SERR; in eeh_restore_device_bars()
760 cmd &= ~PCI_COMMAND_SERR; in eeh_restore_device_bars()
761 eeh_ops->write_config(edev, PCI_COMMAND, 4, cmd); in eeh_restore_device_bars()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1822 cmd->link_modes.supported); in get_link_ksettings()
1881 u32 speed = cmd->base.speed; in set_link_ksettings()
1890 u32 speed = cmd->base.speed; in set_link_ksettings()
2137 int cmd) in cxgb_siocdevprivate() argument
2143 if (cmd != SIOCCHIOCTL) in cxgb_siocdevprivate()
2146 if (copy_from_user(&cmd, useraddr, sizeof(cmd))) in cxgb_siocdevprivate()
2149 switch (cmd) { in cxgb_siocdevprivate()
2352 if (t.cmd != CHELSIO_LOAD_FW) in cxgb_siocdevprivate()
2420 if (m.cmd != CHELSIO_SET_PM) in cxgb_siocdevprivate()
2457 if (t.cmd != CHELSIO_GET_MEM) in cxgb_siocdevprivate()
[all …]
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c400 u8 cmd; in set_4byte() local
543 u8 cmd, bank_sel = 0; in clean_bar() local
547 cmd = nor->bank_write_cmd; in clean_bar()
556 u8 cmd, bank_sel; in write_bar() local
563 cmd = nor->bank_write_cmd; in write_bar()
712 op.cmd.opcode = opcode_4k; in spansion_erase_non_uniform()
2156 int i, cmd, err; in spi_nor_parse_bfpt() local
2222 read = &params->reads[cmd]; in spi_nor_parse_bfpt()
2607 if (cmd < 0) in spi_nor_select_read()
2610 read = &params->reads[cmd]; in spi_nor_select_read()
[all …]
/openbmc/linux/include/linux/
H A Datmdev.h183 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg);
185 int (*compat_ioctl)(struct atm_dev *dev,unsigned int cmd,
201 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg);
299 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg);
/openbmc/linux/sound/firewire/tascam/
H A Dtascam-hwdep.c223 unsigned int cmd, unsigned long arg) in hwdep_ioctl() argument
227 switch (cmd) { in hwdep_ioctl()
243 unsigned int cmd, unsigned long arg) in hwdep_compat_ioctl() argument
245 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c105 send_seeprom_cmd(struct seeprom_descriptor *sd, const struct seeprom_cmd *cmd) in send_seeprom_cmd() argument
115 for (i = 0; i < cmd->len; i++) { in send_seeprom_cmd()
116 if (cmd->bits[i] != 0) in send_seeprom_cmd()
122 if (cmd->bits[i] != 0) in send_seeprom_cmd()
/openbmc/linux/include/net/nfc/
H A Dhci.h44 void (*cmd_received)(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
250 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd,
265 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
267 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd,
/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c24 char cmd[32]; in dump_maps() local
26 snprintf(cmd, sizeof(cmd), "cat /proc/%d/maps", getpid()); in dump_maps()
27 system(cmd); in dump_maps()
/openbmc/linux/drivers/input/serio/
H A Dserport.c210 static int serport_ldisc_ioctl(struct tty_struct *tty, unsigned int cmd, in serport_ldisc_ioctl() argument
213 if (cmd == SPIOCSTYPE) { in serport_ldisc_ioctl()
229 unsigned int cmd, unsigned long arg) in serport_ldisc_compat_ioctl() argument
231 if (cmd == COMPAT_SPIOCSTYPE) { in serport_ldisc_compat_ioctl()
/openbmc/linux/arch/arm64/kernel/
H A Dkgdb.c277 static int __kgdb_notify(struct die_args *args, unsigned long cmd) in __kgdb_notify() argument
281 if (kgdb_handle_exception(1, args->signr, cmd, regs)) in __kgdb_notify()
287 kgdb_notify(struct notifier_block *self, unsigned long cmd, void *ptr) in kgdb_notify() argument
293 ret = __kgdb_notify(ptr, cmd); in kgdb_notify()
/openbmc/qemu/chardev/
H A Dchar-parallel.c73 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument
79 switch (cmd) { in pp_ioctl()
188 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument
193 switch (cmd) { in pp_ioctl()
/openbmc/linux/drivers/md/
H A Ddm-cache-target.c308 struct dm_cache_metadata *cmd; member
901 dm_cache_metadata_set_read_only(cache->cmd); in set_cache_mode()
905 dm_cache_metadata_set_read_write(cache->cmd); in set_cache_mode()
923 if (dm_cache_metadata_abort(cache->cmd)) { in abort_transaction()
1932 if (cache->cmd) in __destroy()
1933 dm_cache_metadata_close(cache->cmd); in __destroy()
2389 struct dm_cache_metadata *cmd; in cache_create() local
2459 if (IS_ERR(cmd)) { in cache_create()
2461 r = PTR_ERR(cmd); in cache_create()
2464 cache->cmd = cmd; in cache_create()
[all …]
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_fcp.c50 return scsi_cmd_priv(cmd); in libfc_priv()
324 scsi_sg_count(fsp->cmd))) in fc_fcp_ddp_setup()
474 struct scsi_cmnd *sc = fsp->cmd; in fc_fcp_recv_data()
637 sc = fsp->cmd; in fc_fcp_send_data()
919 (scsi_bufflen(fsp->cmd) - in fc_fcp_resp()
1032 if (fsp->cmd) in fc_fcp_complete_locked()
1070 sc_cmd = fsp->cmd; in fc_fcp_cleanup_each_cmd()
1135 libfc_priv(fsp->cmd)->fsp = fsp; in fc_fcp_pkt_send()
1140 memcpy(fsp->cdb_cmd.fc_cdb, fsp->cmd->cmnd, fsp->cmd->cmd_len); in fc_fcp_pkt_send()
1698 if (!fsp->cmd) in fc_fcp_recovery()
[all …]
/openbmc/linux/drivers/net/wireless/atmel/
H A Datmel.c2590 .cmd = ATMELFWL,
2602 .cmd = ATMELRD,
2628 switch (cmd) { in atmel_ioctl()
2732 } cmd; in atmel_scan() local
2748 cmd.options = 0; in atmel_scan()
2758 atmel_send_command(priv, CMD_Scan, &cmd, sizeof(cmd)); in atmel_scan()
2775 } cmd; in join() local
2784 atmel_send_command(priv, CMD_Join, &cmd, sizeof(cmd)); in join()
2796 } cmd; in start() local
2804 atmel_send_command(priv, CMD_Start, &cmd, sizeof(cmd)); in start()
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-mtp.c1846 MTPControl cmd; in usb_mtp_handle_data() local
1956 if (cmd.argc > ARRAY_SIZE(cmd.argv)) { in usb_mtp_handle_data()
1957 cmd.argc = ARRAY_SIZE(cmd.argv); in usb_mtp_handle_data()
1965 for (i = 0; i < cmd.argc; i++) { in usb_mtp_handle_data()
1968 trace_usb_mtp_command(s->dev.addr, cmd.code, cmd.trans, in usb_mtp_handle_data()
1969 (cmd.argc > 0) ? cmd.argv[0] : 0, in usb_mtp_handle_data()
1970 (cmd.argc > 1) ? cmd.argv[1] : 0, in usb_mtp_handle_data()
1971 (cmd.argc > 2) ? cmd.argv[2] : 0, in usb_mtp_handle_data()
1972 (cmd.argc > 3) ? cmd.argv[3] : 0, in usb_mtp_handle_data()
1973 (cmd.argc > 4) ? cmd.argv[4] : 0); in usb_mtp_handle_data()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c506 struct ieee80211_hdr *out_hdr = cmd; in iwl_mvm_copy_hdr()
508 memcpy(cmd, hdr, hdrlen); in iwl_mvm_copy_hdr()
531 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params()
580 cmd->flags = cpu_to_le16(flags); in iwl_mvm_set_tx_params()
595 cmd->flags = cpu_to_le32(flags); in iwl_mvm_set_tx_params()
625 skb_info->driver_data[1] = cmd; in iwl_mvm_skb_prepare_status()
2287 struct iwl_host_cmd cmd = { in iwl_mvm_flush_sta_tids() local
2301 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_flush_sta_tids()
2308 if (cmd.flags & CMD_WANT_SKB) { in iwl_mvm_flush_sta_tids()
2317 rsp = (void *)cmd.resp_pkt->data; in iwl_mvm_flush_sta_tids()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dusbnet.c975 struct ethtool_link_ksettings *cmd) in usbnet_get_link_ksettings_mii() argument
982 mii_ethtool_get_link_ksettings(&dev->mii, cmd); in usbnet_get_link_ksettings_mii()
989 struct ethtool_link_ksettings *cmd) in usbnet_get_link_ksettings_internal() argument
999 cmd->base.speed = dev->rx_speed / 1000000; in usbnet_get_link_ksettings_internal()
1001 cmd->base.speed = dev->tx_speed / 1000000; in usbnet_get_link_ksettings_internal()
1003 cmd->base.speed = SPEED_UNKNOWN; in usbnet_get_link_ksettings_internal()
2030 cmd, reqtype, value, index, size); in __usbnet_read_cmd()
2039 cmd, reqtype, value, index, buf, size, in __usbnet_read_cmd()
2062 cmd, reqtype, value, index, size); in __usbnet_write_cmd()
2173 cmd, reqtype, value, index, size); in usbnet_write_cmd_async()
[all …]
/openbmc/u-boot/drivers/net/
H A Deepro100.c256 int cmd; in get_phyreg() local
260 cmd = (2 << 26) | ((addr & 0x1f) << 21) | ((reg & 0x1f) << 16); in get_phyreg()
261 OUTL (dev, cmd, SCBCtrlMDI); in get_phyreg()
265 cmd = INL (dev, SCBCtrlMDI); in get_phyreg()
266 } while (!(cmd & (1 << 28)) && (--timeout)); in get_phyreg()
271 *value = (unsigned short) (cmd & 0xffff); in get_phyreg()
279 int cmd; in set_phyreg() local
283 cmd = (1 << 26) | ((addr & 0x1f) << 21) | ((reg & 0x1f) << 16); in set_phyreg()
284 OUTL (dev, cmd | value, SCBCtrlMDI); in set_phyreg()
/openbmc/ipmitool/lib/
H A Dipmi_ime.c201 req.msg.cmd = BMC_GET_DEVICE_ID; in ImeGetInfo()
511 req.msg.cmd = 0xA0; in ImeUpdatePrepare()
541 req.msg.cmd = 0xA1; in ImeUpdateOpenArea()
585 req.msg.cmd = 0xA2; in ImeUpdateWriteArea()
632 req.msg.cmd = 0xA3; in ImeUpdateCloseArea()
667 req.msg.cmd = 0xA6; in ImeUpdateGetStatus()
740 req.msg.cmd = 0xA7; in ImeUpdateGetCapabilities()
779 req.msg.cmd = 0xA4; in ImeUpdateRegisterUpdate()
811 req.msg.cmd = 0xA6; in ImeUpdateShowStatus()
/openbmc/qemu/tests/qapi-schema/
H A Dqapi-schema-test.json180 { 'command': 'user-def-cmd', 'data': {} }
186 { 'command': 'cmd-success-response', 'data': {}, 'success-response': false }
187 { 'command': 'coroutine-cmd', 'data': {}, 'coroutine': true }
270 { 'command': 'test-if-union-cmd',
271 'data': { 'union-cmd-arg': 'TestIfUnion' },
279 { 'command': 'test-if-alternate-cmd',
280 'data': { 'alt-cmd-arg': 'TestIfAlternate' },
283 { 'command': 'test-if-cmd',
289 { 'command': 'test-cmd-return-def-three', 'returns': 'UserDefThree' }
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_wlan.h285 u16 cmd; member
560 u16 cmd, param0, param1; member
588 int (*cmd)(struct net_device *dev, u16 cmd, u16 param0, u16 *param1, member
978 #define PRISM2_IO_DEBUG_ENTRY(cmd, reg, value) \ argument
979 (((cmd) << 24) | ((reg) << 16) | value)
981 static inline void prism2_io_debug_add(struct net_device *dev, int cmd, in prism2_io_debug_add() argument
994 PRISM2_IO_DEBUG_ENTRY(cmd, reg, value); in prism2_io_debug_add()
1020 static inline void prism2_io_debug_add(struct net_device *dev, int cmd, in prism2_io_debug_add() argument
/openbmc/linux/drivers/net/ethernet/8390/
H A Detherh.c565 struct ethtool_link_ksettings *cmd) in etherh_get_link_ksettings() argument
567 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in etherh_get_link_ksettings()
569 cmd->base.speed = SPEED_10; in etherh_get_link_ksettings()
570 cmd->base.duplex = DUPLEX_HALF; in etherh_get_link_ksettings()
571 cmd->base.port = dev->if_port == IF_PORT_10BASET ? PORT_TP : PORT_BNC; in etherh_get_link_ksettings()
572 cmd->base.autoneg = (dev->flags & IFF_AUTOMEDIA ? AUTONEG_ENABLE : in etherh_get_link_ksettings()
578 const struct ethtool_link_ksettings *cmd) in etherh_set_link_ksettings() argument
580 switch (cmd->base.autoneg) { in etherh_set_link_ksettings()
586 switch (cmd->base.port) { in etherh_set_link_ksettings()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcodeparser.py424 self.execs = set(cmd for cmd in self.allexecs if cmd not in self.funcdefs)
475 "redirect_list": lambda x: ([x.cmd], None),
546 cmd = word[1]
547 if cmd.startswith("$"):
548 self.log.debug(self.unhandled_template % cmd)
549 elif cmd == "eval":
553 self.allexecs.add(cmd)

1...<<81828384858687888990>>...274