Searched refs:byen (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/usb/ |
H A D | r8153_ecm.c | 14 u16 byen = BYTE_EN_WORD; in pla_read_word() local 20 byen <<= shift; in pla_read_word() 25 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_read_word() 40 u16 byen = BYTE_EN_WORD; in pla_write_word() local 48 byen <<= shift; in pla_write_word() 56 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_write_word() 65 MCU_TYPE_PLA | byen, &tmp, sizeof(tmp)); in pla_write_word()
|
H A D | r8152.c | 1394 u16 byteen_start, byteen_end, byen; in generic_ocp_write() local 1410 byen = byteen_start | (byteen_start << 4); in generic_ocp_write() 1413 if (byen != BYTE_EN_DWORD) { in generic_ocp_write() 1414 ret = set_registers(tp, index, type | byen, 4, data); in generic_ocp_write() 1424 byen = byteen_end | (byteen_end >> 4); in generic_ocp_write() 1427 if (byen != BYTE_EN_DWORD) in generic_ocp_write() 1456 if (byen != BYTE_EN_DWORD) in generic_ocp_write() 1457 ret = set_registers(tp, index, type | byen, 4, data); in generic_ocp_write() 1505 u16 byen = BYTE_EN_WORD; in ocp_read_word() local 1509 byen <<= shift; in ocp_read_word() [all …]
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152.c | 232 u16 byen = BYTE_EN_WORD; in ocp_write_word() local 238 byen <<= shift; in ocp_write_word() 246 generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); in ocp_write_word() 270 u16 byen = BYTE_EN_BYTE; in ocp_write_byte() local 276 byen <<= shift; in ocp_write_byte() 284 generic_ocp_write(tp, index, byen, sizeof(tmp), &tmp, type); in ocp_write_byte()
|