Searched refs:to_channel (Results 1 – 3 of 3) sorted by relevance
65 #define to_channel(d) container_of(d, struct most_channel, dev) macro172 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 …]
46 #define to_channel(d) container_of(d, struct comp_channel, cdev) macro121 c = to_channel(inode->i_cdev); in comp_open()159 struct comp_channel *c = to_channel(inode->i_cdev); in comp_close()
2251 u16 from_channel, to_channel; in ethtool_set_channels() local2288 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count); in ethtool_set_channels()2289 for (i = from_channel; i < to_channel; i++) in ethtool_set_channels()