Searched refs:to_channel (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/most/ |
D | core.c | 65 #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 …]
|
D | most_cdev.c | 46 #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-v5.10/drivers/edac/ |
D | i7300_edac.c | 67 #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()
|
D | edac_mc_sysfs.c | 141 #define to_channel(k) (container_of(k, struct dev_ch_attribute, attr)->channel) macro 203 unsigned int chan = to_channel(mattr); in channel_dimm_label_show() 219 unsigned int chan = to_channel(mattr); in channel_dimm_label_store() 243 unsigned int chan = to_channel(mattr); in channel_ce_count_show()
|
/Linux-v5.10/net/ethtool/ |
D | ioctl.c | 1666 u16 from_channel, to_channel; in ethtool_set_channels() local 1707 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count); in ethtool_set_channels() 1708 for (i = from_channel; i < to_channel; i++) in ethtool_set_channels()
|