Home
last modified time | relevance | path

Searched refs:crom_buf (Results 1 – 2 of 2) sorted by relevance

/haiku/src/bin/fwcontrol/
H A Dfwcontrol.c403 get_crom(int fd, int node, void *crom_buf, int len) in get_crom() argument
425 buf.ptr = crom_buf; in get_crom()
426 bzero(crom_buf, len); in get_crom()
435 show_crom(u_int32_t *crom_buf) in show_crom() argument
446 printf("first quad: 0x%08x ", *crom_buf); in show_crom()
447 if (crom_buf[0] == 0) { in show_crom()
451 hdr = (struct csrhdr *)crom_buf; in show_crom()
460 crc = crom_crc(crom_buf+1, hdr->crc_len); in show_crom()
465 parse_bus_info_block(crom_buf+1); in show_crom()
467 crom_init_context(&cc, crom_buf); in show_crom()
[all …]
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c674 struct fw_crom_buf *crom_buf = (struct fw_crom_buf *)data; in fw_ioctl() local
901 if (FW_EUI64_EQUAL(fwdev->eui, crom_buf->eui)) in fw_ioctl()
904 if (!FW_EUI64_EQUAL(fc->eui, crom_buf->eui)) { in fw_ioctl()
922 if (crom_buf->len < len) in fw_ioctl()
923 len = crom_buf->len; in fw_ioctl()
925 crom_buf->len = len; in fw_ioctl()
927 err = user_memcpy(crom_buf->ptr, ptr, len); in fw_ioctl()