Lines Matching refs:hdev

249 					     wdata->hdev->uniq);  in wiimod_battery_probe()
253 wdata->battery = power_supply_register(&wdata->hdev->dev, in wiimod_battery_probe()
257 hid_err(wdata->hdev, "cannot register battery device\n"); in wiimod_battery_probe()
262 power_supply_powers(wdata->battery, &wdata->hdev->dev); in wiimod_battery_probe()
348 struct device *dev = &wdata->hdev->dev; in wiimod_led_probe()
500 wdata->accel->dev.parent = &wdata->hdev->dev; in wiimod_accel_probe()
501 wdata->accel->id.bustype = wdata->hdev->bus; in wiimod_accel_probe()
502 wdata->accel->id.vendor = wdata->hdev->vendor; in wiimod_accel_probe()
503 wdata->accel->id.product = wdata->hdev->product; in wiimod_accel_probe()
504 wdata->accel->id.version = wdata->hdev->version; in wiimod_accel_probe()
517 hid_err(wdata->hdev, "cannot register input device\n"); in wiimod_accel_probe()
752 wdata->ir->dev.parent = &wdata->hdev->dev; in wiimod_ir_probe()
753 wdata->ir->id.bustype = wdata->hdev->bus; in wiimod_ir_probe()
754 wdata->ir->id.vendor = wdata->hdev->vendor; in wiimod_ir_probe()
755 wdata->ir->id.product = wdata->hdev->product; in wiimod_ir_probe()
756 wdata->ir->id.version = wdata->hdev->version; in wiimod_ir_probe()
779 hid_err(wdata->hdev, "cannot register input device\n"); in wiimod_ir_probe()
947 wdata->extension.input->dev.parent = &wdata->hdev->dev; in wiimod_nunchuk_probe()
948 wdata->extension.input->id.bustype = wdata->hdev->bus; in wiimod_nunchuk_probe()
949 wdata->extension.input->id.vendor = wdata->hdev->vendor; in wiimod_nunchuk_probe()
950 wdata->extension.input->id.product = wdata->hdev->product; in wiimod_nunchuk_probe()
951 wdata->extension.input->id.version = wdata->hdev->version; in wiimod_nunchuk_probe()
1222 wdata->extension.input->dev.parent = &wdata->hdev->dev; in wiimod_classic_probe()
1223 wdata->extension.input->id.bustype = wdata->hdev->bus; in wiimod_classic_probe()
1224 wdata->extension.input->id.vendor = wdata->hdev->vendor; in wiimod_classic_probe()
1225 wdata->extension.input->id.product = wdata->hdev->product; in wiimod_classic_probe()
1226 wdata->extension.input->id.version = wdata->hdev->version; in wiimod_classic_probe()
1490 ret = device_create_file(&wdata->hdev->dev, in wiimod_bboard_probe()
1493 hid_err(wdata->hdev, "cannot create sysfs attribute\n"); in wiimod_bboard_probe()
1500 wdata->extension.input->dev.parent = &wdata->hdev->dev; in wiimod_bboard_probe()
1501 wdata->extension.input->id.bustype = wdata->hdev->bus; in wiimod_bboard_probe()
1502 wdata->extension.input->id.vendor = wdata->hdev->vendor; in wiimod_bboard_probe()
1503 wdata->extension.input->id.product = wdata->hdev->product; in wiimod_bboard_probe()
1504 wdata->extension.input->id.version = wdata->hdev->version; in wiimod_bboard_probe()
1531 device_remove_file(&wdata->hdev->dev, in wiimod_bboard_probe()
1547 device_remove_file(&wdata->hdev->dev, in wiimod_bboard_remove()
1879 ret = device_create_file(&wdata->hdev->dev, in wiimod_pro_probe()
1882 hid_err(wdata->hdev, "cannot create sysfs attribute\n"); in wiimod_pro_probe()
1888 wdata->extension.input->dev.parent = &wdata->hdev->dev; in wiimod_pro_probe()
1889 wdata->extension.input->id.bustype = wdata->hdev->bus; in wiimod_pro_probe()
1890 wdata->extension.input->id.vendor = wdata->hdev->vendor; in wiimod_pro_probe()
1891 wdata->extension.input->id.product = wdata->hdev->product; in wiimod_pro_probe()
1892 wdata->extension.input->id.version = wdata->hdev->version; in wiimod_pro_probe()
1921 device_remove_file(&wdata->hdev->dev, in wiimod_pro_probe()
1940 device_remove_file(&wdata->hdev->dev, in wiimod_pro_remove()
2133 wdata->mp->dev.parent = &wdata->hdev->dev; in wiimod_mp_probe()
2134 wdata->mp->id.bustype = wdata->hdev->bus; in wiimod_mp_probe()
2135 wdata->mp->id.vendor = wdata->hdev->vendor; in wiimod_mp_probe()
2136 wdata->mp->id.product = wdata->hdev->product; in wiimod_mp_probe()
2137 wdata->mp->id.version = wdata->hdev->version; in wiimod_mp_probe()