Home
last modified time | relevance | path

Searched refs:b_offset (Results 1 – 5 of 5) sorted by relevance

/drivers/misc/mei/
Ddma-ring.c133 size_t b_offset = offset << 2; in mei_dma_copy_from() local
136 memcpy(buf, dbuf + b_offset, b_n); in mei_dma_copy_from()
153 size_t b_offset = offset << 2; in mei_dma_copy_to() local
156 memcpy(hbuf + b_offset, buf, b_n); in mei_dma_copy_to()
/drivers/gpu/drm/sun4i/
Dsun8i_hdmi_phy.c238 u32 b_offset = 0; in sun8i_h3_hdmi_phy_config() local
327 b_offset = 2; in sun8i_h3_hdmi_phy_config()
364 val = min(val + b_offset, (u32)0x3f); in sun8i_h3_hdmi_phy_config()
/drivers/net/ethernet/broadcom/
Dtg3.c12028 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12055 b_offset = offset & 3; in tg3_get_eeprom()
12056 b_count = 4 - b_offset; in tg3_get_eeprom()
12061 ret = tg3_nvram_read_be32(tp, offset-b_offset, &val); in tg3_get_eeprom()
12064 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12096 b_offset = offset + len - b_count; in tg3_get_eeprom()
12097 ret = tg3_nvram_read_be32(tp, b_offset, &val); in tg3_get_eeprom()
12118 u32 offset, len, b_offset, odd_len; in tg3_set_eeprom() local
12129 if ((b_offset = (offset & 3))) { in tg3_set_eeprom()
12131 ret = tg3_nvram_read_be32(tp, offset-b_offset, &start); in tg3_set_eeprom()
[all …]
/drivers/md/
Draid5.c1408 int b_offset = 0; in async_copy_data() local
1411 b_offset = -page_offset; in async_copy_data()
1412 page_offset += b_offset; in async_copy_data()
1413 len -= b_offset; in async_copy_data()
1422 b_offset += bvl.bv_offset; in async_copy_data()
1426 b_offset == 0 && page_offset == 0 && in async_copy_data()
1432 b_offset, clen, &submit); in async_copy_data()
1434 tx = async_memcpy(bio_page, *page, b_offset, in async_copy_data()
/drivers/net/ethernet/sun/
Dniu.c6892 u32 b_offset, b_count; in niu_get_eeprom() local
6894 b_offset = offset & 3; in niu_get_eeprom()
6895 b_count = 4 - b_offset; in niu_get_eeprom()
6899 val = nr64(ESPC_NCR((offset - b_offset) / 4)); in niu_get_eeprom()
6900 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()