/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_eeprom.c | 94 int addr_len; local 111 addr_len = 8; 119 addr_len = 6; 124 eprom_send_bits_string(dev, addr_str, addr_len);
|
/drivers/staging/rtl8192u/ |
H A D | r8180_93cx6.c | 102 int addr_len; local 121 addr_len = 8; 129 addr_len = 6; 134 eprom_send_bits_string(dev, addr_str, addr_len);
|
/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 180 if (req->addr_len > sizeof(struct ipmi_addr)) 183 if (copy_from_user(&addr, req->addr, req->addr_len)) 196 rv = ipmi_validate_addr(&addr, req->addr_len); 276 int addr_len; local 310 addr_len = ipmi_addr_length(msg->addr.addr_type); 311 if (rsp.addr_len < addr_len) 317 if (copy_to_user(rsp.addr, &(msg->addr), addr_len)) { 321 rsp.addr_len = addr_len; 673 compat_uint_t addr_len; member in struct:compat_ipmi_req 681 compat_uint_t addr_len; member in struct:compat_ipmi_recv [all...] |
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.c | 106 static unsigned int addr_hash(const u32 *addr, int addr_len, int ifindex) argument 108 return addr_len == 4 ? arp_hash(addr, ifindex) : 367 int addr_len = neigh->tbl->key_len; local 370 int hash = addr_hash(addr, addr_len, ifidx); 399 memcpy(e->addr, addr, addr_len); 403 e->v6 = addr_len == 16; 480 int addr_len = neigh->tbl->key_len; local 483 int hash = addr_hash(addr, addr_len, ifidx);
|
/drivers/media/usb/dvb-usb-v2/ |
H A D | af9015.h | 90 u8 addr_len; /* [6] */ member in struct:req_t
|
H A D | af9015.c | 47 state->buf[6] = req->addr_len; 157 req.addr_len = 3; 170 req.addr_len = 3; 214 u8 uninitialized_var(mbox), addr_len; local 248 addr_len = 3; 251 addr_len = 1; 267 req.addr_len = addr_len; 285 req.addr_len = addr_len; [all...] |
/drivers/net/ethernet/dec/tulip/ |
H A D | eeprom.c | 341 int tulip_read_eeprom(struct net_device *dev, int location, int addr_len) argument 347 int read_cmd = location | (EE_READ_CMD << addr_len); 352 if (location > (1 << addr_len) - 1) 359 for (i = 4 + addr_len; i >= 0; i--) {
|
H A D | tulip.h | 485 int tulip_read_eeprom(struct net_device *dev, int location, int addr_len);
|
/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 1627 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); 1701 int addr_len) 1703 int cmd = (EE_EXTEND_CMD << addr_len) | (extend_cmd << (addr_len - 2)); 1706 eeprom_cmd(ee_addr, cmd, 3 + addr_len); 1710 static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) argument 1715 int read_cmd = location | (EE_READ_CMD << addr_len); 1718 eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); 1736 int addr_len) 1740 int write_cmd = location | (EE_WRITE_CMD << addr_len); 1700 eeprom_extend_cmd(void __iomem *ee_addr, int extend_cmd, int addr_len) argument 1735 write_eeprom(void __iomem *ioaddr, int location, u16 val, int addr_len) argument 1774 unsigned int addr_len; local 1812 unsigned int addr_len; local 1881 unsigned int addr_len, i, pci_using_dac; local [all...] |
H A D | 8139too.c | 634 static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); 945 int i, addr_len, option; local 992 addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; 995 cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); 1145 static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) argument 1149 int read_cmd = location | (EE_READ_CMD << addr_len); 1156 for (i = 4 + addr_len; i >= 0; i--) { 2233 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
|
/drivers/net/can/ |
H A D | vcan.c | 157 dev->addr_len = 0;
|
/drivers/net/wan/lmc/ |
H A D | lmc_proto.c | 60 dev->addr_len = 0;
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atlx.c | 85 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); 86 memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len);
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 146 for (i = 0; i < dev->addr_len; i++) 149 for (j = 0; j < dev->addr_len; j++, i++)
|
/drivers/net/ieee802154/ |
H A D | fakehard.c | 323 dev->addr_len = IEEE802154_ADDR_LEN; 354 dev->addr_len);
|
/drivers/net/ |
H A D | loopback.c | 167 dev->addr_len = ETH_ALEN; /* 6 */
|
H A D | ntb_netdev.c | 347 memcpy(ndev->dev_addr, ndev->perm_addr, ndev->addr_len);
|
/drivers/net/wan/ |
H A D | lapbether.c | 256 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); 314 dev->addr_len = 0;
|
/drivers/isdn/mISDN/ |
H A D | socket.c | 476 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 485 if (addr_len != sizeof(struct sockaddr_mISDN)) 564 int *addr_len, int peer) 574 *addr_len = sizeof(*maddr); 710 base_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 563 data_sock_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) argument
|
/drivers/net/ethernet/micrel/ |
H A D | ks8842.c | 1081 memcpy(netdev->dev_addr, mac, netdev->addr_len); 1196 i = netdev->addr_len; 1198 for (i = 0; i < netdev->addr_len; i++) 1202 if (i < netdev->addr_len) 1205 netdev->addr_len); 1208 if (i == netdev->addr_len) {
|
/drivers/firewire/ |
H A D | net.c | 226 memset(h->h_dest, 0, net->addr_len); 232 memcpy(h->h_dest, daddr, net->addr_len); 263 memcpy(h->h_dest, neigh->ha, net->addr_len); 273 memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); 536 net->addr_len) == 0) 543 if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) 1392 net->addr_len = FWNET_ALEN; 1506 memset(net->broadcast, -1, net->addr_len);
|
/drivers/net/hamradio/ |
H A D | bpqether.c | 311 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); 491 dev->addr_len = AX25_ADDR_LEN;
|
/drivers/net/ethernet/intel/ |
H A D | e100.c | 709 static void e100_eeprom_write(struct nic *nic, u16 addr_len, u16 addr, __le16 data) argument 716 cmd_addr_data[0] = op_ewen << (addr_len - 2); 717 cmd_addr_data[1] = (((op_write << addr_len) | addr) << 16) | 719 cmd_addr_data[2] = op_ewds << (addr_len - 2); 747 static __le16 e100_eeprom_read(struct nic *nic, u16 *addr_len, u16 addr) argument 754 cmd_addr_data = ((op_read << *addr_len) | addr) << 16; 770 * complete address. Use this to adjust addr_len. */ 773 *addr_len -= (i - 16); 790 u16 addr, addr_len = 8, checksum = 0; local 793 e100_eeprom_read(nic, &addr_len, 816 u16 addr, addr_len = 8, checksum = 0; local [all...] |
/drivers/staging/gdm72xx/ |
H A D | gdm_wimax.c | 291 * ether_setup has made dev->addr_len to be ETH_ALEN 293 memcpy(dev->dev_addr, mac_addr, dev->addr_len); 302 memcpy(&hci->data[2], mac_addr, dev->addr_len); /* V */ 585 if (L != dev->addr_len) { 593 memcpy(dev->dev_addr, V, dev->addr_len);
|
/drivers/net/bonding/ |
H A D | bond_alb.c | 1016 memcpy(dev->dev_addr, addr, dev->addr_len); 1023 memcpy(s_addr.sa_data, addr, dev->addr_len); 1250 memcpy(sa.sa_data, bond->dev->dev_addr, bond->dev->addr_len); 1694 memcpy(sa.sa_data, bond->dev->dev_addr, bond->dev->addr_len); 1731 memcpy(bond_dev->dev_addr, sa->sa_data, bond_dev->addr_len);
|