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/media/dvb/frontends/
Ddib3000mc.c825 u8 new_addr; in dib3000mc_i2c_enumeration() local
839 new_addr = DIB3000MC_I2C_ADDRESS[k]; in dib3000mc_i2c_enumeration()
840 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
853 dib3000mc_write_word(dmcst, 1024, (new_addr << 3) | 0x1); in dib3000mc_i2c_enumeration()
854 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()
Ddib7000m.c1357 u8 new_addr = 0;
1363 new_addr = (0x40 + k) << 1;
1364 st.i2c_addr = new_addr;
1379 dib7000m_write_word(&st, 1794, (new_addr << 2) | 0x2);
1381 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr);
Ddib9000.c2381 u8 new_addr = 0; in dib9000_i2c_enumeration() local
2401 new_addr = first_addr + (k << 1); in dib9000_i2c_enumeration()
2409 client.i2c_addr = new_addr; in dib9000_i2c_enumeration()
2425 dib9000_i2c_write16(&client, 1794, (new_addr << 2) | 2); in dib9000_i2c_enumeration()
2427 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib9000_i2c_enumeration()
2431 new_addr = first_addr | (k << 1); in dib9000_i2c_enumeration()
2432 client.i2c_addr = new_addr; in dib9000_i2c_enumeration()
2434 dib9000_i2c_write16(&client, 1794, (new_addr << 2)); in dib9000_i2c_enumeration()
Ddib8000.c3340 u8 new_addr = 0; in dib8000_i2c_enumeration() local
3364 new_addr = first_addr + (k << 1); in dib8000_i2c_enumeration()
3366 client.addr = new_addr; in dib8000_i2c_enumeration()
3385 dib8000_i2c_write16(&client, 1285, (new_addr << 2) | 0x2); in dib8000_i2c_enumeration()
3386 client.addr = new_addr; in dib8000_i2c_enumeration()
3389 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib8000_i2c_enumeration()
3393 new_addr = first_addr | (k << 1); in dib8000_i2c_enumeration()
3394 client.addr = new_addr; in dib8000_i2c_enumeration()
3397 dib8000_i2c_write16(&client, 1285, new_addr << 2); in dib8000_i2c_enumeration()
Ddib7000p.c1707 u8 new_addr = 0; in dib7000p_i2c_enumeration() local
1721 new_addr = cfg[k].default_i2c_addr + (k << 1); in dib7000p_i2c_enumeration()
1723 new_addr = (0x40 + k) << 1; in dib7000p_i2c_enumeration()
1724 dpst->i2c_addr = new_addr; in dib7000p_i2c_enumeration()
1740 dib7000p_write_word(dpst, 1285, (new_addr << 2) | 0x2); in dib7000p_i2c_enumeration()
1742 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib7000p_i2c_enumeration()
/drivers/staging/wlan-ng/
Dp80211netdev.c642 struct sockaddr *new_addr = addr; in p80211knetdev_set_mac_address() local
674 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
694 memcpy(dev->dev_addr, new_addr->sa_data, dev->addr_len); in p80211knetdev_set_mac_address()
/drivers/net/ethernet/sfc/
Defx.c1951 char *new_addr = addr->sa_data; in efx_set_mac_address() local
1955 if (!is_valid_ether_addr(new_addr)) { in efx_set_mac_address()
1958 new_addr); in efx_set_mac_address()
1962 memcpy(net_dev->dev_addr, new_addr, net_dev->addr_len); in efx_set_mac_address()
/drivers/usb/gadget/
Dlangwell_udc.c2472 u32 new_addr; in ep0_req_complete() local
2477 new_addr = (u32)dev->dev_addr; in ep0_req_complete()
2478 writel(new_addr << USBADR_SHIFT, &dev->op_regs->deviceaddr); in ep0_req_complete()
2480 new_addr = USBADR(readl(&dev->op_regs->deviceaddr)); in ep0_req_complete()
2481 dev_vdbg(&dev->pdev->dev, "new_addr = %d\n", new_addr); in ep0_req_complete()
Dmv_udc_core.c1740 u32 new_addr; in ep0_req_complete() local
1744 new_addr = (u32)udc->dev_addr; in ep0_req_complete()
1745 writel(new_addr << USB_DEVICE_ADDRESS_BIT_SHIFT, in ep0_req_complete()
/drivers/staging/et131x/
Det131x.c2278 u64 new_addr = *phys_addr & ~mask; in et131x_align_allocated_memory() local
2282 if (new_addr != *phys_addr) { in et131x_align_allocated_memory()
2284 new_addr += mask + 1; in et131x_align_allocated_memory()
2286 *offset = new_addr - *phys_addr; in et131x_align_allocated_memory()
2288 *phys_addr = new_addr; in et131x_align_allocated_memory()
/drivers/net/ethernet/broadcom/
Dtg3.c6754 dma_addr_t new_addr = 0; in tigon3_dma_hwbug_workaround() local
6771 new_addr = pci_map_single(tp->pdev, new_skb->data, new_skb->len, in tigon3_dma_hwbug_workaround()
6774 if (pci_dma_mapping_error(tp->pdev, new_addr)) { in tigon3_dma_hwbug_workaround()
6784 mapping, new_addr); in tigon3_dma_hwbug_workaround()
6786 if (tg3_tx_frag_set(tnapi, entry, budget, new_addr, in tigon3_dma_hwbug_workaround()