D | sprom.c | 5 * Copyright (C) 2005-2008 Michael Buesch <m@bues.ch> 6 * Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> 29 pos += scnprintf(buf + pos, buf_len - pos - 1, in sprom2hex() 31 pos += scnprintf(buf + pos, buf_len - pos - 1, "\n"); in sprom2hex() 45 c = dump[len - 1]; in hex2sprom() 48 len--; in hex2sprom() 52 return -EINVAL; in hex2sprom() 66 /* Common sprom device-attribute show-handler */ 67 ssize_t ssb_attr_sprom_show(struct ssb_bus *bus, char *buf, in ssb_attr_sprom_show() argument 68 int (*sprom_read)(struct ssb_bus *bus, u16 *sprom)) in ssb_attr_sprom_show() argument [all …]
|