Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1873 size_t hdr_off, pattern_off, hdr_len; in myri10ge_led() local
1885 pattern_off = hdr_off + offsetof(struct mcp_gen_header, led_pattern); in myri10ge_led()
1886 if (pattern_off >= (hdr_len + hdr_off)) { in myri10ge_led()
1891 pattern = swab32(readl(mgp->sram + pattern_off + 4)); in myri10ge_led()
1892 writel(swab32(pattern), mgp->sram + pattern_off); in myri10ge_led()