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

/linux-4.4.14/drivers/iio/potentiometer/
H A Dmcp4531.c30 int wipers; member in struct:mcp4531_cfg
55 [MCP453x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, },
56 [MCP453x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, },
57 [MCP453x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, },
58 [MCP453x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, },
59 [MCP455x_502] = { .wipers = 1, .max_pos = 256, .kohms = 5, },
60 [MCP455x_103] = { .wipers = 1, .max_pos = 256, .kohms = 10, },
61 [MCP455x_503] = { .wipers = 1, .max_pos = 256, .kohms = 50, },
62 [MCP455x_104] = { .wipers = 1, .max_pos = 256, .kohms = 100, },
63 [MCP463x_502] = { .wipers = 2, .max_pos = 128, .kohms = 5, },
64 [MCP463x_103] = { .wipers = 2, .max_pos = 128, .kohms = 10, },
65 [MCP463x_503] = { .wipers = 2, .max_pos = 128, .kohms = 50, },
66 [MCP463x_104] = { .wipers = 2, .max_pos = 128, .kohms = 100, },
67 [MCP465x_502] = { .wipers = 2, .max_pos = 256, .kohms = 5, },
68 [MCP465x_103] = { .wipers = 2, .max_pos = 256, .kohms = 10, },
69 [MCP465x_503] = { .wipers = 2, .max_pos = 256, .kohms = 50, },
70 [MCP465x_104] = { .wipers = 2, .max_pos = 256, .kohms = 100, },
176 indio_dev->num_channels = mcp4531_cfg[devid].wipers; mcp4531_probe()
/linux-4.4.14/drivers/misc/
H A Dad525x_dpot.h14 #define DPOT_CONF(features, wipers, max_pos, uid) \
15 (((features) << 18) | (((wipers) & 0xFF) << 10) | \
H A Dad525x_dpot.c92 unsigned wipers; member in struct:dpot_data
706 data->wipers = DPOT_WIPERS(devid); ad_dpot_probe()
709 if (data->wipers & (1 << i)) { ad_dpot_probe()
733 if (data->wipers & (1 << i)) ad_dpot_probe()
752 if (data->wipers & (1 << i)) ad_dpot_remove()

Completed in 120 milliseconds