Home
last modified time | relevance | path

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

/linux/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); in available_directions_show()
188 struct most_channel *c = to_channel(dev); in available_datatypes_show()
208 struct most_channel *c = to_channel(dev); in number_of_packet_buffers_show()
219 struct most_channel *c = to_channel(dev); in number_of_stream_buffers_show()
230 struct most_channel *c = to_channel(dev); in size_of_packet_buffer_show()
241 struct most_channel *c = to_channel(dev); in size_of_stream_buffer_show()
252 struct most_channel *c = to_channel(dev); in channel_starving_show()
261 struct most_channel *c = to_channel(dev); in set_number_of_buffers_show()
270 struct most_channel *c = to_channel(dev); in set_buffer_size_show()
[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); in comp_open()
159 struct comp_channel *c = to_channel(inode->i_cdev); in comp_close()
/linux/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); in decode_mtr()
769 channel = to_channel(0, branch); in i7300_init_csrows()
779 channel = to_channel(1, branch); in i7300_init_csrows()
795 int channel = to_channel(ch, branch); in i7300_init_csrows()
/linux/net/ethtool/
H A Dioctl.c2107 u16 from_channel, to_channel; in ethtool_set_channels() local
2144 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count); in ethtool_set_channels()
2145 for (i = from_channel; i < to_channel; i++) in ethtool_set_channels()