Searched refs:first_byte (Results 1 – 8 of 8) sorted by relevance
/openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/ |
H A D | usb-network.sh | 16 first_byte="${mac:0:2}" 17 first_byte="$((0x$first_byte|2))" 18 first_byte="$(printf "%02x\n" "$first_byte")" 19 mac="${first_byte}${mac:2}"
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-regmap.c | 91 u8 first_byte, last_byte, len; in mcp251xfd_regmap_nocrc_update_bits() local 101 first_byte = mcp251xfd_first_byte_set(mask); in mcp251xfd_regmap_nocrc_update_bits() 103 len = last_byte - first_byte + 1; in mcp251xfd_regmap_nocrc_update_bits() 128 mcp251xfd_spi_cmd_read_nocrc(&buf_tx->cmd, reg + first_byte); in mcp251xfd_regmap_nocrc_update_bits() 136 mask_le32 = cpu_to_le32(mask >> BITS_PER_BYTE * first_byte); in mcp251xfd_regmap_nocrc_update_bits() 137 val_le32 = cpu_to_le32(val >> BITS_PER_BYTE * first_byte); in mcp251xfd_regmap_nocrc_update_bits() 142 mcp251xfd_spi_cmd_write_nocrc(&buf_tx->cmd, reg + first_byte); in mcp251xfd_regmap_nocrc_update_bits()
|
H A D | mcp251xfd-ring.c | 25 u8 first_byte, last_byte, len; in mcp251xfd_cmd_prepare_write_reg() local 29 first_byte = mcp251xfd_first_byte_set(mask); in mcp251xfd_cmd_prepare_write_reg() 31 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg() 33 data = mcp251xfd_spi_cmd_write(priv, write_reg_buf, reg + first_byte, len); in mcp251xfd_cmd_prepare_write_reg() 34 val_le32 = cpu_to_le32(val >> BITS_PER_BYTE * first_byte); in mcp251xfd_cmd_prepare_write_reg()
|
/openbmc/qemu/migration/ |
H A D | block-dirty-bitmap.c | 981 uint64_t first_byte = qemu_get_be64(f) << BDRV_SECTOR_BITS; in dirty_bitmap_load_bits() local 983 trace_dirty_bitmap_load_bits_enter(first_byte >> BDRV_SECTOR_BITS, in dirty_bitmap_load_bits() 989 bdrv_dirty_bitmap_deserialize_zeroes(s->bitmap, first_byte, in dirty_bitmap_load_bits() 1026 first_byte, in dirty_bitmap_load_bits() 1040 bdrv_dirty_bitmap_deserialize_part(s->bitmap, buf, first_byte, nr_bytes, in dirty_bitmap_load_bits()
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.c | 4542 unsigned int first_byte = start + BIT_BYTE(pos); in extent_buffer_bitmap_set() local 4544 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set() 4552 kaddr = extent_buffer_get_byte(eb, first_byte); in extent_buffer_bitmap_set() 4558 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set() 4559 memset_extent_buffer(eb, 0xff, first_byte + 1, last_byte - first_byte - 1); in extent_buffer_bitmap_set() 4579 unsigned int first_byte = start + BIT_BYTE(pos); in extent_buffer_bitmap_clear() local 4581 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_clear() 4589 kaddr = extent_buffer_get_byte(eb, first_byte); in extent_buffer_bitmap_clear() 4595 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_clear() 4596 memset_extent_buffer(eb, 0, first_byte + 1, last_byte - first_byte - 1); in extent_buffer_bitmap_clear()
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | spi.c | 712 int first_byte = 1; in spi_write_flash() local 732 if (first_byte) { in spi_write_flash() 734 first_byte = 0; in spi_write_flash()
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 257 bool first_byte = true; in bcmasp_netfilt_wr_m_wake() local 268 if (first_byte && (!IS_ALIGNED(offset, 4) || size < 3)) { in bcmasp_netfilt_wr_m_wake() 289 first_byte = true; in bcmasp_netfilt_wr_m_wake() 291 first_byte = false; in bcmasp_netfilt_wr_m_wake()
|
/openbmc/qemu/tests/qtest/ |
H A D | migration-test.c | 319 uint8_t first_byte; in check_guests_ram() local 324 qtest_memread(who, start_address, &first_byte, 1); in check_guests_ram() 325 last_byte = first_byte; in check_guests_ram() 346 address, first_byte, last_byte, b, hit_edge); in check_guests_ram()
|