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

/linux-master/drivers/most/
H A Dcore.c65 #define to_channel(d) container_of(d, struct most_channel, dev) macro
172 struct most_channel *c = to_channel(dev);
188 struct most_channel *c = to_channel(dev);
208 struct most_channel *c = to_channel(dev);
219 struct most_channel *c = to_channel(dev);
230 struct most_channel *c = to_channel(dev);
241 struct most_channel *c = to_channel(dev);
252 struct most_channel *c = to_channel(dev);
261 struct most_channel *c = to_channel(dev);
270 struct most_channel *c = to_channel(de
[all...]
H A Dmost_cdev.c46 #define to_channel(d) container_of(d, struct comp_channel, cdev) macro
121 c = to_channel(inode->i_cdev);
159 struct comp_channel *c = to_channel(inode->i_cdev);
/linux-master/drivers/edac/
H A Di7300_edac.c67 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) macro
70 (to_channel(ch, branch) | ((slot) << 2))
592 channel = to_channel(ch, branch);
769 channel = to_channel(0, branch);
779 channel = to_channel(1, branch);
795 int channel = to_channel(ch, branch);
H A Dedac_mc_sysfs.c141 #define to_channel(k) (container_of(k, struct dev_ch_attribute, attr)->channel) macro
203 unsigned int chan = to_channel(mattr);
219 unsigned int chan = to_channel(mattr);
243 unsigned int chan = to_channel(mattr);
/linux-master/net/ethtool/
H A Dioctl.c1890 u16 from_channel, to_channel; local
1936 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count);
1937 for (i = from_channel; i < to_channel; i++)

Completed in 149 milliseconds