Searched refs:b_offset (Results 1 – 5 of 5) sorted by relevance
| /drivers/misc/mei/ |
| A D | dma-ring.c | 135 size_t b_offset = offset << 2; in mei_dma_copy_from() local 138 memcpy(buf, dbuf + b_offset, b_n); in mei_dma_copy_from() 157 size_t b_offset = offset << 2; in mei_dma_copy_to() local 160 memcpy(hbuf + b_offset, buf, b_n); in mei_dma_copy_to()
|
| /drivers/gpu/drm/sun4i/ |
| A D | sun8i_hdmi_phy.c | 239 u32 b_offset = 0; in sun8i_h3_hdmi_phy_config() local 328 b_offset = 2; in sun8i_h3_hdmi_phy_config() 365 val = min(val + b_offset, (u32)0x3f); in sun8i_h3_hdmi_phy_config()
|
| /drivers/net/ethernet/broadcom/ |
| A D | tg3.c | 12139 b_offset = offset & 3; in tg3_get_eeprom() 12140 b_count = 4 - b_offset; in tg3_get_eeprom() 12148 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom() 12180 b_offset = offset + len - b_count; in tg3_get_eeprom() 12181 ret = tg3_nvram_read_be32(tp, b_offset, &val); in tg3_get_eeprom() 12202 u32 offset, len, b_offset, odd_len; in tg3_set_eeprom() local 12213 if ((b_offset = (offset & 3))) { in tg3_set_eeprom() 12218 len += b_offset; in tg3_set_eeprom() 12235 if (b_offset || odd_len) { in tg3_set_eeprom() 12239 if (b_offset) in tg3_set_eeprom() [all …]
|
| /drivers/md/ |
| A D | raid5.c | 1382 int b_offset = 0; in async_copy_data() local 1385 b_offset = -page_offset; in async_copy_data() 1386 page_offset += b_offset; in async_copy_data() 1387 len -= b_offset; in async_copy_data() 1396 b_offset += bvl.bv_offset; in async_copy_data() 1400 b_offset == 0 && page_offset == 0 && in async_copy_data() 1406 b_offset, clen, &submit); in async_copy_data() 1408 tx = async_memcpy(bio_page, *page, b_offset, in async_copy_data()
|
| /drivers/net/ethernet/sun/ |
| A D | niu.c | 6915 u32 b_offset, b_count; in niu_get_eeprom() local 6917 b_offset = offset & 3; in niu_get_eeprom() 6918 b_count = 4 - b_offset; in niu_get_eeprom() 6922 val = nr64(ESPC_NCR((offset - b_offset) / 4)); in niu_get_eeprom() 6923 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
|
Completed in 58 milliseconds