Searched refs:sid_data (Results 1 - 1 of 1) sorted by relevance

/drivers/misc/eeprom/
H A Dsunxi_sid.c48 static u8 sunxi_sid_read_byte(const struct sunxi_sid_data *sid_data, argument
53 if (offset >= sid_data->keysize)
56 sid_key = ioread32be(sid_data->reg_base + round_down(offset, 4));
67 struct sunxi_sid_data *sid_data; local
71 sid_data = platform_get_drvdata(pdev);
73 if (pos < 0 || pos >= sid_data->keysize)
75 if (size > sid_data->keysize - pos)
76 size = sid_data->keysize - pos;
79 buf[i] = sunxi_sid_read_byte(sid_data, pos + i);
106 struct sunxi_sid_data *sid_data; local
[all...]

Completed in 94 milliseconds