Home
last modified time | relevance | path

Searched refs:pal (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/drivers/uwb/
Dradio.c44 struct uwb_pal *pal; in uwb_radio_channel_changed() local
46 list_for_each_entry(pal, &rc->pals, node) { in uwb_radio_channel_changed()
47 if (pal->channel && channel != pal->channel) { in uwb_radio_channel_changed()
48 pal->channel = channel; in uwb_radio_channel_changed()
49 if (pal->channel_changed) in uwb_radio_channel_changed()
50 pal->channel_changed(pal, pal->channel); in uwb_radio_channel_changed()
99 int uwb_radio_start(struct uwb_pal *pal) in uwb_radio_start() argument
101 struct uwb_rc *rc = pal->rc; in uwb_radio_start()
106 if (!pal->channel) { in uwb_radio_start()
107 pal->channel = -1; in uwb_radio_start()
[all …]
Dpal.c29 void uwb_pal_init(struct uwb_pal *pal) in uwb_pal_init() argument
31 INIT_LIST_HEAD(&pal->node); in uwb_pal_init()
41 int uwb_pal_register(struct uwb_pal *pal) in uwb_pal_register() argument
43 struct uwb_rc *rc = pal->rc; in uwb_pal_register()
46 if (pal->device) { in uwb_pal_register()
48 ret = sysfs_create_link(&pal->device->kobj, in uwb_pal_register()
54 &pal->device->kobj, pal->name); in uwb_pal_register()
56 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); in uwb_pal_register()
61 pal->debugfs_dir = uwb_dbg_create_pal_dir(pal); in uwb_pal_register()
64 list_add(&pal->node, &rc->pals); in uwb_pal_register()
[all …]
Duwb-debug.c56 struct uwb_pal pal; member
189 ret = uwb_radio_start(&rc->dbg->pal); in command_write()
192 uwb_radio_stop(&rc->dbg->pal); in command_write()
257 static void uwb_dbg_channel_changed(struct uwb_pal *pal, int channel) in uwb_dbg_channel_changed() argument
259 struct device *dev = &pal->rc->uwb_dev.dev; in uwb_dbg_channel_changed()
267 static void uwb_dbg_new_rsv(struct uwb_pal *pal, struct uwb_rsv *rsv) in uwb_dbg_new_rsv() argument
269 struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal); in uwb_dbg_new_rsv()
292 uwb_pal_init(&rc->dbg->pal); in uwb_dbg_add_rc()
293 rc->dbg->pal.rc = rc; in uwb_dbg_add_rc()
294 rc->dbg->pal.channel_changed = uwb_dbg_channel_changed; in uwb_dbg_add_rc()
[all …]
DMakefile21 pal.o \
Drsv.c748 struct uwb_pal *pal; in uwb_rsv_new_target() local
771 list_for_each_entry(pal, &rc->pals, node) { in uwb_rsv_new_target()
772 if (pal->new_rsv) in uwb_rsv_new_target()
773 pal->new_rsv(pal, rsv); in uwb_rsv_new_target()
Duwb-internal.h367 struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal);
/linux-4.19.296/include/linux/
Duwb.h459 void (*channel_changed)(struct uwb_pal *pal, int channel);
460 void (*new_rsv)(struct uwb_pal *pal, struct uwb_rsv *rsv);
466 void uwb_pal_init(struct uwb_pal *pal);
467 int uwb_pal_register(struct uwb_pal *pal);
468 void uwb_pal_unregister(struct uwb_pal *pal);
470 int uwb_radio_start(struct uwb_pal *pal);
471 void uwb_radio_stop(struct uwb_pal *pal);
/linux-4.19.296/drivers/media/v4l2-core/
Dtuner-core.c63 static char pal[] = "--"; variable
70 module_param_string(pal, pal, sizeof(pal), 0644);
893 if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) { in tuner_fixup_std()
894 switch (pal[0]) { in tuner_fixup_std()
915 if (pal[1] == 'c' || pal[1] == 'C') in tuner_fixup_std()
/linux-4.19.296/include/uapi/sound/
Dhdspm.h105 pal, enumerator