Lines Matching refs:pal
56 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()
295 rc->dbg->pal.new_rsv = uwb_dbg_new_rsv; in uwb_dbg_add_rc()
296 uwb_pal_register(&rc->dbg->pal); in uwb_dbg_add_rc()
331 uwb_pal_unregister(&rc->dbg->pal); in uwb_dbg_del_rc()
362 struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal) in uwb_dbg_create_pal_dir() argument
364 struct uwb_rc *rc = pal->rc; in uwb_dbg_create_pal_dir()
366 if (root_dir && rc->dbg && rc->dbg->root_d && pal->name) in uwb_dbg_create_pal_dir()
367 return debugfs_create_dir(pal->name, rc->dbg->root_d); in uwb_dbg_create_pal_dir()