/drivers/uwb/ |
D | address.c | 279 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/ |
D | dib3000mc.c | 825 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()
|
D | dib7000m.c | 1357 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);
|
D | dib9000.c | 2381 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()
|
D | dib8000.c | 3340 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()
|
D | dib7000p.c | 1707 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/ |
D | p80211netdev.c | 642 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/ |
D | efx.c | 1951 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/ |
D | langwell_udc.c | 2472 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()
|
D | mv_udc_core.c | 1740 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/ |
D | et131x.c | 2278 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/ |
D | tg3.c | 6754 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()
|