Home
last modified time | relevance | path

Searched refs:new_addr (Results 1 – 12 of 12) sorted by relevance

/drivers/uwb/
Daddress.c279 struct uwb_dev_addr new_addr; in uwb_rc_dev_addr_assign() local
282 get_random_bytes(new_addr.data, sizeof(new_addr.data)); in uwb_rc_dev_addr_assign()
283 } while (new_addr.data[0] == 0x00 || new_addr.data[0] == 0xff in uwb_rc_dev_addr_assign()
284 || __uwb_dev_addr_assigned(rc, &new_addr)); in uwb_rc_dev_addr_assign()
286 return uwb_rc_dev_addr_set(rc, &new_addr); in uwb_rc_dev_addr_assign()
/drivers/firmware/efi/libstub/
Defi-stub-helper.c602 unsigned long new_addr = 0; in efi_relocate_kernel() local
626 new_addr = efi_addr; in efi_relocate_kernel()
633 &new_addr); in efi_relocate_kernel()
644 memcpy((void *)new_addr, (void *)cur_image_addr, image_size); in efi_relocate_kernel()
647 *image_addr = new_addr; in efi_relocate_kernel()
/drivers/media/dvb-frontends/
Ddib3000mc.c829 u8 new_addr; in dib3000mc_i2c_enumeration() local
843 new_addr = DIB3000MC_I2C_ADDRESS[k]; in dib3000mc_i2c_enumeration()
844 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
857 dib3000mc_write_word(dmcst, 1024, (new_addr << 3) | 0x1); in dib3000mc_i2c_enumeration()
858 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
Ddib7000m.c1354 u8 new_addr = 0;
1360 new_addr = (0x40 + k) << 1;
1361 st.i2c_addr = new_addr;
1376 dib7000m_write_word(&st, 1794, (new_addr << 2) | 0x2);
1378 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr);
Ddib9000.c2374 u8 new_addr = 0; in dib9000_i2c_enumeration() local
2394 new_addr = first_addr + (k << 1); in dib9000_i2c_enumeration()
2402 client.i2c_addr = new_addr; in dib9000_i2c_enumeration()
2418 dib9000_i2c_write16(&client, 1794, (new_addr << 2) | 2); in dib9000_i2c_enumeration()
2420 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib9000_i2c_enumeration()
2424 new_addr = first_addr | (k << 1); in dib9000_i2c_enumeration()
2425 client.i2c_addr = new_addr; in dib9000_i2c_enumeration()
2427 dib9000_i2c_write16(&client, 1794, (new_addr << 2)); in dib9000_i2c_enumeration()
Ddib7000p.c2068 u8 new_addr = 0; in dib7000p_i2c_enumeration() local
2082 new_addr = cfg[k].default_i2c_addr + (k << 1); in dib7000p_i2c_enumeration()
2084 new_addr = (0x40 + k) << 1; in dib7000p_i2c_enumeration()
2085 dpst->i2c_addr = new_addr; in dib7000p_i2c_enumeration()
2101 dib7000p_write_word(dpst, 1285, (new_addr << 2) | 0x2); in dib7000p_i2c_enumeration()
2103 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib7000p_i2c_enumeration()
Ddib8000.c4281 u8 new_addr = 0; in dib8000_i2c_enumeration() local
4305 new_addr = first_addr + (k << 1); in dib8000_i2c_enumeration()
4307 client.addr = new_addr; in dib8000_i2c_enumeration()
4326 dib8000_i2c_write16(&client, 1285, (new_addr << 2) | 0x2); in dib8000_i2c_enumeration()
4327 client.addr = new_addr; in dib8000_i2c_enumeration()
4330 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib8000_i2c_enumeration()
4334 new_addr = first_addr | (k << 1); in dib8000_i2c_enumeration()
4335 client.addr = new_addr; in dib8000_i2c_enumeration()
4338 dib8000_i2c_write16(&client, 1285, new_addr << 2); in dib8000_i2c_enumeration()
/drivers/usb/gadget/function/
Du_ether.c908 u8 new_addr[ETH_ALEN]; in gether_set_dev_addr() local
911 if (get_ether_addr(dev_addr, new_addr)) in gether_set_dev_addr()
913 memcpy(dev->dev_mac, new_addr, ETH_ALEN); in gether_set_dev_addr()
930 u8 new_addr[ETH_ALEN]; in gether_set_host_addr() local
933 if (get_ether_addr(host_addr, new_addr)) in gether_set_host_addr()
935 memcpy(dev->host_mac, new_addr, ETH_ALEN); in gether_set_host_addr()
/drivers/staging/wlan-ng/
Dp80211netdev.c615 struct sockaddr *new_addr = addr; in p80211knetdev_set_mac_address() local
647 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
666 memcpy(dev->dev_addr, new_addr->sa_data, dev->addr_len); in p80211knetdev_set_mac_address()
/drivers/net/ethernet/sfc/
Defx.c2301 u8 *new_addr = addr->sa_data; in efx_set_mac_address() local
2305 if (!is_valid_ether_addr(new_addr)) { in efx_set_mac_address()
2308 new_addr); in efx_set_mac_address()
2314 ether_addr_copy(net_dev->dev_addr, new_addr); in efx_set_mac_address()
/drivers/usb/gadget/udc/
Dmv_udc_core.c1728 u32 new_addr; in ep0_req_complete() local
1732 new_addr = (u32)udc->dev_addr; in ep0_req_complete()
1733 writel(new_addr << USB_DEVICE_ADDRESS_BIT_SHIFT, in ep0_req_complete()
/drivers/net/ethernet/broadcom/
Dtg3.c7787 dma_addr_t new_addr = 0; in tigon3_dma_hwbug_workaround() local
7804 new_addr = pci_map_single(tp->pdev, new_skb->data, new_skb->len, in tigon3_dma_hwbug_workaround()
7807 if (pci_dma_mapping_error(tp->pdev, new_addr)) { in tigon3_dma_hwbug_workaround()
7817 mapping, new_addr); in tigon3_dma_hwbug_workaround()
7819 if (tg3_tx_frag_set(tnapi, entry, budget, new_addr, in tigon3_dma_hwbug_workaround()