Searched refs:to_channel (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/most/aim-cdev/ |
H A D | cdev.c | 50 #define to_channel(d) container_of(d, struct aim_channel, cdev) macro 86 channel = to_channel(inode->i_cdev); aim_open() 120 struct aim_channel *channel = to_channel(inode->i_cdev); aim_close()
|
/linux-4.4.14/drivers/edac/ |
H A D | i7300_edac.c | 69 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) macro 72 (to_channel(ch, branch) | ((slot) << 2)) 594 channel = to_channel(ch, branch); decode_mtr() 771 channel = to_channel(0, branch); i7300_init_csrows() 781 channel = to_channel(1, branch); i7300_init_csrows() 797 int channel = to_channel(ch, branch); i7300_init_csrows()
|
H A D | edac_mc_sysfs.c | 163 #define to_channel(k) (container_of(k, struct dev_ch_attribute, attr)->channel) macro 225 unsigned chan = to_channel(mattr); channel_dimm_label_show() 241 unsigned chan = to_channel(mattr); channel_dimm_label_store() 265 unsigned chan = to_channel(mattr); channel_ce_count_show()
|
Completed in 278 milliseconds