Lines Matching refs:function
123 unsigned long interval, unsigned long function) in maple_getcond_callback() argument
127 dev->function = cpu_to_be32(function); in maple_getcond_callback()
157 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, in maple_add_packet() argument
169 ((__be32 *)sendbuf)[0] = cpu_to_be32(function); in maple_add_packet()
320 if (mdev->devinfo.function & cpu_to_be32(maple_drv->function)) in maple_check_matching_driver()
334 unsigned long function; in maple_attach_driver() local
340 memcpy(&mdev->devinfo.function, recvbuf + 4, 4); in maple_attach_driver()
363 function = be32_to_cpu(mdev->devinfo.function); in maple_attach_driver()
366 mdev->product_name, function, mdev->port, mdev->unit); in maple_attach_driver()
368 if (function > 0x200) { in maple_attach_driver()
370 function = 0; in maple_attach_driver()
384 mdev->unit, function); in maple_attach_driver()
387 mdev->function = function; in maple_attach_driver()
427 be32_to_cpu(mdev->devinfo.function), in setup_maple_commands()
756 if (maple_dev->devinfo.function == 0xFFFFFFFF) in maple_match_bus_driver()
758 else if (maple_dev->devinfo.function & in maple_match_bus_driver()
759 cpu_to_be32(maple_drv->function)) in maple_match_bus_driver()