Searched refs:sa1111_dev (Results 1 – 2 of 2) sorted by relevance
387 struct sa1111_dev { struct397 #define to_sa1111_device(x) container_of(x, struct sa1111_dev, dev) argument405 int (*probe)(struct sa1111_dev *);406 void (*remove)(struct sa1111_dev *);417 int sa1111_enable_device(struct sa1111_dev *);418 void sa1111_disable_device(struct sa1111_dev *);420 int sa1111_get_irq(struct sa1111_dev *, unsigned num);422 unsigned int sa1111_pll_clock(struct sa1111_dev *);427 void sa1111_select_audio_mode(struct sa1111_dev *sadev, int mode);428 int sa1111_set_audio_rate(struct sa1111_dev *sadev, int rate);[all …]
720 struct sa1111_dev *dev = to_sa1111_device(_dev); in sa1111_dev_release()729 struct sa1111_dev *dev; in sa1111_init_one_child()733 dev = kzalloc(sizeof(struct sa1111_dev), GFP_KERNEL); in sa1111_init_one_child()926 struct sa1111_dev *sadev = to_sa1111_device(dev); in sa1111_remove_one()1166 static inline struct sa1111 *sa1111_chip_driver(struct sa1111_dev *sadev) in sa1111_chip_driver()1198 unsigned int sa1111_pll_clock(struct sa1111_dev *sadev) in sa1111_pll_clock()1214 void sa1111_select_audio_mode(struct sa1111_dev *sadev, int mode) in sa1111_select_audio_mode()1239 int sa1111_set_audio_rate(struct sa1111_dev *sadev, int rate) in sa1111_set_audio_rate()1263 int sa1111_get_audio_rate(struct sa1111_dev *sadev) in sa1111_get_audio_rate()1285 int sa1111_enable_device(struct sa1111_dev *sadev) in sa1111_enable_device()[all …]