Lines Matching refs:core
84 int bttv_sub_add_device(struct bttv_core *core, char *name) in bttv_sub_add_device() argument
93 sub->core = core; in bttv_sub_add_device()
94 sub->dev.parent = &core->pci->dev; in bttv_sub_add_device()
97 dev_set_name(&sub->dev, "%s%d", name, core->nr); in bttv_sub_add_device()
104 pr_info("%d: add subdevice \"%s\"\n", core->nr, dev_name(&sub->dev)); in bttv_sub_add_device()
105 list_add_tail(&sub->list,&core->subs); in bttv_sub_add_device()
109 int bttv_sub_del_devices(struct bttv_core *core) in bttv_sub_del_devices() argument
113 list_for_each_entry_safe(sub, save, &core->subs, list) { in bttv_sub_del_devices()
141 void bttv_gpio_inout(struct bttv_core *core, u32 mask, u32 outbits) in bttv_gpio_inout() argument
143 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_inout()
155 u32 bttv_gpio_read(struct bttv_core *core) in bttv_gpio_read() argument
157 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_read()
164 void bttv_gpio_write(struct bttv_core *core, u32 value) in bttv_gpio_write() argument
166 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_write()
171 void bttv_gpio_bits(struct bttv_core *core, u32 mask, u32 bits) in bttv_gpio_bits() argument
173 struct bttv *btv = container_of(core, struct bttv, c); in bttv_gpio_bits()