Lines Matching +defs:last +defs:command
1040 /* Issue the read EEPROM command. */
2214 * memory read byte count of the PCI-X command
3233 uint32_t command;
3266 command = pci_conf_read(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG);
3267 command |= PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_MASTER_ENABLE;
3268 pci_conf_write(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG, command);
3269 command = pci_conf_read(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG);
3271 if (!(command & PCI_COMMAND_MEM_ENABLE)) {
4199 uint32_t cachesize, command;
4246 command = pci_conf_read(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CMD);
4371 pci_conf_write(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CMD, command);
5002 struct mbuf *last = NULL;
5010 last = pkt;
5013 * Walk packet chain to find last mbuf. We will either
5017 for (last = pkt; last->m_next != NULL; last = last->m_next) {
5021 /* `last' now points to last in chain. */
5022 if (M_TRAILINGSPACE(last) < padlen) {
5028 MCLAIM(n, last->m_owner);
5030 last->m_next = n;
5031 last = n;
5035 KDASSERT(!M_READONLY(last));
5036 KDASSERT(M_TRAILINGSPACE(last) >= padlen);
5039 memset(mtod(last, char *) + last->m_len, 0, padlen);
5040 last->m_len += padlen;
5960 bge_ioctl(struct ifnet *ifp, u_long command, void *data)
5966 switch (command) {
5976 switch (command) {
6002 command);
6006 command);
6010 if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
6015 if (command == SIOCADDMULTI || command == SIOCDELMULTI) {