Lines Matching refs:e_addr
23 if (id->manf_id == sbdev->e_addr.manf_id && in slim_match()
24 id->prod_code == sbdev->e_addr.prod_code && in slim_match()
25 id->dev_index == sbdev->e_addr.dev_index && in slim_match()
26 id->instance == sbdev->e_addr.instance) in slim_match()
167 sbdev->e_addr.manf_id, in slim_add_device()
168 sbdev->e_addr.prod_code, in slim_add_device()
169 sbdev->e_addr.dev_index, in slim_add_device()
170 sbdev->e_addr.instance); in slim_add_device()
186 sbdev->e_addr = *eaddr; in slim_alloc_device()
206 struct slim_eaddr e_addr; in of_register_slim_devices() local
229 e_addr.dev_index = reg[0]; in of_register_slim_devices()
230 e_addr.instance = reg[1]; in of_register_slim_devices()
231 e_addr.manf_id = manf_id; in of_register_slim_devices()
232 e_addr.prod_code = prod_code; in of_register_slim_devices()
234 sbdev = slim_alloc_device(ctrl, &e_addr, node); in of_register_slim_devices()
341 struct slim_eaddr *e_addr = data; in slim_match_dev() local
344 return slim_eaddr_equal(&sbdev->e_addr, e_addr); in slim_match_dev()
372 struct slim_eaddr *e_addr) in slim_get_device() argument
376 sbdev = find_slim_device(ctrl, e_addr); in slim_get_device()
378 sbdev = slim_alloc_device(ctrl, e_addr, NULL); in slim_get_device()
435 ret = ctrl->get_laddr(ctrl, &sbdev->e_addr, &laddr); in slim_device_alloc_laddr()
451 ret = ctrl->set_laddr(ctrl, &sbdev->e_addr, laddr); in slim_device_alloc_laddr()
465 laddr, sbdev->e_addr.manf_id, sbdev->e_addr.prod_code, in slim_device_alloc_laddr()
466 sbdev->e_addr.dev_index, sbdev->e_addr.instance); in slim_device_alloc_laddr()
489 struct slim_eaddr *e_addr, u8 *laddr) in slim_device_report_present() argument
502 sbdev = slim_get_device(ctrl, e_addr); in slim_device_report_present()