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.c197 u32 b_offset = 0; in sun8i_hdmi_phy_config_h3() local
281 b_offset = 2; in sun8i_hdmi_phy_config_h3()
318 val = min(val + b_offset, (u32)0x3f); in sun8i_hdmi_phy_config_h3()
/drivers/net/ethernet/broadcom/
Dtg3.c12034 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12061 b_offset = offset & 3; in tg3_get_eeprom()
12062 b_count = 4 - b_offset; in tg3_get_eeprom()
12067 ret = tg3_nvram_read_be32(tp, offset-b_offset, &val); in tg3_get_eeprom()
12070 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12102 b_offset = offset + len - b_count; in tg3_get_eeprom()
12103 ret = tg3_nvram_read_be32(tp, b_offset, &val); in tg3_get_eeprom()
12124 u32 offset, len, b_offset, odd_len; in tg3_set_eeprom() local
12135 if ((b_offset = (offset & 3))) { in tg3_set_eeprom()
12137 ret = tg3_nvram_read_be32(tp, offset-b_offset, &start); in tg3_set_eeprom()
[all …]
/drivers/md/
Draid5.c1331 int b_offset = 0; in async_copy_data() local
1334 b_offset = -page_offset; in async_copy_data()
1335 page_offset += b_offset; in async_copy_data()
1336 len -= b_offset; in async_copy_data()
1345 b_offset += bvl.bv_offset; in async_copy_data()
1349 b_offset == 0 && page_offset == 0 && in async_copy_data()
1355 b_offset, clen, &submit); in async_copy_data()
1357 tx = async_memcpy(bio_page, *page, b_offset, in async_copy_data()
/drivers/net/ethernet/sun/
Dniu.c6874 u32 b_offset, b_count; in niu_get_eeprom() local
6876 b_offset = offset & 3; in niu_get_eeprom()
6877 b_count = 4 - b_offset; in niu_get_eeprom()
6881 val = nr64(ESPC_NCR((offset - b_offset) / 4)); in niu_get_eeprom()
6882 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()