/openwrt/target/linux/bcm53xx/files/drivers/mtd/spi-nor/ |
H A D | bcm53xxspiflash.c | 32 u8 *cmd = kzalloc(len + 1, GFP_KERNEL); local 35 if (!cmd) 38 cmd[0] = opcode; 39 memcpy(&cmd[1], buf, len); 40 err = spi_write(b53sf->spi, cmd, len + 1); 42 kfree(cmd); 53 unsigned char cmd[5]; local 59 cmd[cmd_len++] = SPINOR_OP_READ; 61 cmd[cmd_len++] = (from & 0xFF000000) >> 24; 62 cmd[cmd_le 90 u8 *cmd = kzalloc(len + 5, GFP_KERNEL); local 125 unsigned char cmd[5]; local 143 unsigned char cmd[4]; local [all...] |
/openwrt/package/devel/trace-cmd/ |
H A D | Makefile | 3 PKG_NAME:=trace-cmd 8 PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git 21 define Package/trace-cmd 28 define Package/trace-cmd-extra 31 TITLE:=Extra plugins for trace-cmd 39 PLUGINS_DIR := $(PKG_INSTALL_DIR)/usr/lib/trace-cmd/plugins 44 define Package/trace-cmd/install 45 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/trace-cmd/plugins 46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/trace-cmd $(1)/usr/bin/ 49 $(1)/usr/lib/trace-cmd/plugin [all...] |
/openwrt/include/ |
H A D | shell.sh | 19 local cmd="$1"; shift 23 "$cmd" "$@" || {
|
H A D | prereq.mk | 90 for cmd in $(call QuoteHostCommand,$(3)) $(call QuoteHostCommand,$(4)) \ 94 if [ -n "$$$$$$$$cmd" ]; then \ 96 which "$$$$$$$${cmd%% *}")"; \ 97 if [ -x "$$$$$$$$bin" ] && eval "$$$$$$$$cmd" >/dev/null 2>/dev/null; then \
|
H A D | verbose.mk | 57 SUBMAKE=cmd() { $(SILENT) $(MAKE) -s $$* < /dev/null || { echo "make $$*: build failed. Please re-run make with -j1 V=s to see what's going on"; false; } } 8>&1 9>&2; cmd
|
/openwrt/scripts/ |
H A D | patch-specs.sh | 14 for cmd in "$DIR/$bin/"*-cpp; do 15 if [ -x "$cmd" ]; then 16 echo "$cmd" 17 CPP="$cmd"
|
H A D | ext-toolchain.sh | 245 local cmd 246 for cmd in "${CC%-*}-"*; do 247 if [ -x "$cmd" ]; then 248 local out="$1/${cmd##*/}" 249 local bin="$cmd" 256 case "${cmd##*/}" in 405 local cmd 406 for cmd in "$TOOLCHAIN/$bin/"*-*cc*; do 407 if [ -x "$cmd" ] && [ ! -h "$cmd" ]; the [all...] |
H A D | remote-gdb | 64 my $cmd = "target extended-remote"; 65 -f $ARGV[0] and $cmd = "core-file"; 66 print $fh "$cmd $ARGV[0]\n";
|
H A D | download.pl | 64 my $cmd; 68 my $cmd = which("md5sum") || which("md5") || die 'no md5 checksum program found, please install md5 or md5sum'; 69 chomp $cmd; 70 return $cmd;
|
H A D | kconfig.pl | 169 my $cmd = shift @ARGV; 170 if ($cmd =~ /^-n$/) { 172 } elsif ($cmd =~ /^-p$/) { 175 die "Invalid option: $cmd\n";
|
/openwrt/package/libs/libnl-tiny/src/ |
H A D | genl_mngt.c | 98 struct genl_cmd *cmd; local 106 cmd = &ops->co_genl->o_cmds[i]; 107 if (cmd->c_id == ghdr->cmd) 115 if (cmd->c_msg_parser == NULL) 118 struct nlattr *tb[cmd->c_maxattr + 1]; 127 err = nlmsg_parse(nlh, ops->co_hdrsize, tb, cmd->c_maxattr, 128 cmd->c_attr_policy); 132 err = cmd->c_msg_parser(ops, cmd, [all...] |
H A D | genl.c | 118 * @arg cmd Command 127 int genl_send_simple(struct nl_sock *sk, int family, int cmd, argument 131 .cmd = cmd, 241 * @arg cmd generic netlink command 247 int hdrlen, int flags, uint8_t cmd, uint8_t version) 251 .cmd = cmd, 260 NL_DBG(2, "msg %p: Added generic netlink header cmd=%d version=%d\n", 261 msg, cmd, versio 246 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument [all...] |
/openwrt/target/linux/ar71xx/files/drivers/spi/ |
H A D | spi-rb4xx-cpld.c | 31 #define CPLD_CMD_WRITE_NAND 0x08 /* send cmd, n x send data, send indle */ 32 #define CPLD_CMD_WRITE_CFG 0x09 /* send cmd, n x send cfg */ 33 #define CPLD_CMD_READ_NAND 0x0a /* send cmd, send idle, n x read data */ 34 #define CPLD_CMD_READ_FAST 0x0b /* send cmd, 4 x idle, n x read data */ 35 #define CPLD_CMD_LED5_ON 0x0c /* send cmd */ 36 #define CPLD_CMD_LED5_OFF 0x0d /* send cmd */ 52 static int rb4xx_cpld_write_cmd(struct rb4xx_cpld *cpld, unsigned char cmd) argument 66 tx_buf[0] = cmd; 76 unsigned char cmd[2]; local 82 t[0].tx_buf = cmd; 137 const unsigned char cmd[5] = { local 202 static const unsigned char cmd[2] = { CPLD_CMD_READ_NAND, 0 }; local 258 static const unsigned char cmd = CPLD_CMD_WRITE_NAND; local [all...] |
H A D | spi-vsc7385.c | 208 u8 cmd[4]; local 221 t[0].tx_buf = cmd; 222 t[0].len = sizeof(cmd); 229 cmd[0] = vsc7385_make_addr(VSC73XX_CMD_MODE_READ, block, subblock); 230 cmd[1] = reg; 231 cmd[2] = 0; 232 cmd[3] = 0; 251 u8 cmd[2]; local 264 t[0].tx_buf = cmd; 265 t[0].len = sizeof(cmd); [all...] |
/openwrt/target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/ |
H A D | common.h | 12 void mcs814x_restart(enum reboot_mode mode, const char *cmd);
|
/openwrt/target/linux/ar71xx/files/arch/mips/ath79/ |
H A D | pci-ath9k-fixup.c | 29 u16 cmd; local 84 pci_read_config_word(dev, PCI_COMMAND, &cmd); 85 cmd |= PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY; 86 pci_write_config_word(dev, PCI_COMMAND, cmd); 108 pci_read_config_word(dev, PCI_COMMAND, &cmd); 109 cmd &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY); 110 pci_write_config_word(dev, PCI_COMMAND, cmd);
|
/openwrt/target/linux/adm8668/files-3.18/arch/mips/adm8668/ |
H A D | setup.c | 7 static void adm8668_restart(char *cmd) argument
|
/openwrt/target/linux/brcm47xx/base-files/lib/upgrade/ |
H A D | platform.sh | 151 local cmd="" 154 "chk") cmd=$(platform_trx_from_chk_cmd "$trx");; 155 "cybertan") cmd=$(platform_trx_from_cybertan_cmd "$trx");; 158 default_do_upgrade "$trx" "$cmd"
|
/openwrt/package/libs/libnl-tiny/src/include/ |
H A D | unl.h | 23 struct nl_msg *unl_genl_msg(struct unl *unl, int cmd, bool dump); 34 struct nl_msg *unl_nl80211_phy_msg(struct unl *unl, int phy, int cmd, bool dump); 35 struct nl_msg *unl_nl80211_vif_msg(struct unl *unl, int dev, int cmd, bool dump);
|
/openwrt/target/linux/oxnas/files/drivers/mtd/nand/ |
H A D | oxnas_nand.c | 27 static void oxnas_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) argument 41 if (cmd != NAND_CMD_NONE) 42 writeb(cmd, (void __iomem *) nandaddr);
|
/openwrt/package/network/config/swconfig/src/ |
H A D | cli.c | 243 int cmd = CMD_NONE; local 267 if (cmd != CMD_NONE) { 274 cmd = CMD_HELP; 276 cmd = CMD_SET; 281 cmd = CMD_GET; 286 cmd = CMD_LOAD; 291 cmd = CMD_PORTMAP; 293 cmd = CMD_SHOW; 299 if (cmd == CMD_NONE) 312 if (cmd [all...] |
/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ |
H A D | ag71xx_ethtool.c | 17 struct ethtool_cmd *cmd) 25 return phy_ethtool_gset(phydev, cmd); 29 struct ethtool_cmd *cmd) 37 return phy_ethtool_sset(phydev, cmd); 16 ag71xx_ethtool_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument 28 ag71xx_ethtool_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument
|
/openwrt/package/kernel/broadcom-wl/src/ |
H A D | wlc.c | 436 char cmd[100], *p, *val; local 452 foreach(cmd, settings, p) { 453 val = strchr(cmd, '='); 455 if (strcmp(cmd, "be") == 0) 457 else if (strcmp(cmd, "bk") == 0) 459 else if (strcmp(cmd, "vi") == 0) 461 else if (strcmp(cmd, "vo") == 0) 472 if (strcmp(cmd, "cwmin") == 0) 474 else if (strcmp(cmd, "ecwmin") == 0) 476 else if (strcmp(cmd, "cwma 1013 usage(char *cmd) argument 1026 do_command(const struct wlc_call *cmd, char *arg) argument 1117 char *cmd = argv[0]; local [all...] |
/openwrt/scripts/flashing/ |
H A D | jungo-image.py | 150 def telnet_option(sock,cmd,option): 151 #print "Option: %d %d" % (ord(cmd), ord(option)) 152 if cmd == telnetlib.DO: 154 elif cmd == telnetlib.WILL: 247 cmd = "load -u %s -r 0\n" % (url) variable 250 cmd = "load -u http://%s:%d/%s -r 0\n" % (server, PORT, splitpath[1]) variable 269 print cmd, 270 tn.write(cmd)
|
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/ |
H A D | rb-150.c | 59 static void rb150_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, argument 70 if (cmd != NAND_CMD_NONE) 71 RB150_NAND_WRITE(cmd);
|