Lines Matching defs:function
68 * Devices with matching function IDs will be automatically probed.
118 * @function: the function code for the device
122 unsigned long interval, unsigned long function)
126 dev->function = cpu_to_be32(function);
151 * @function: function on device being queried
156 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command,
168 ((__be32 *)sendbuf)[0] = cpu_to_be32(function);
319 if (mdev->devinfo.function & cpu_to_be32(maple_drv->function))
333 unsigned long function;
339 memcpy(&mdev->devinfo.function, recvbuf + 4, 4);
362 function = be32_to_cpu(mdev->devinfo.function);
364 dev_info(&mdev->dev, "detected %s: function 0x%lX: at (%d, %d)\n",
365 mdev->product_name, function, mdev->port, mdev->unit);
367 if (function > 0x200) {
369 function = 0;
383 mdev->unit, function);
386 mdev->function = function;
426 be32_to_cpu(mdev->devinfo.function),
755 if (maple_dev->devinfo.function == 0xFFFFFFFF)
757 else if (maple_dev->devinfo.function &
758 cpu_to_be32(maple_drv->function))