Searched refs:hv_dev (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/input/serio/ |
H A D | hyperv-keyboard.c | 90 struct hv_device *hv_dev; member 100 static void hv_kbd_on_receive(struct hv_device *hv_dev, in hv_kbd_on_receive() argument 103 struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); in hv_kbd_on_receive() 118 dev_err(&hv_dev->device, in hv_kbd_on_receive() 137 dev_err(&hv_dev->device, in hv_kbd_on_receive() 172 pm_wakeup_hard_event(&hv_dev->device); in hv_kbd_on_receive() 177 dev_err(&hv_dev->device, in hv_kbd_on_receive() 182 static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, in hv_kbd_handle_received_packet() argument 220 dev_err(&hv_dev->device, in hv_kbd_handle_received_packet() 227 hv_kbd_on_receive(hv_dev, msg, msg_sz); in hv_kbd_handle_received_packet() [all …]
|
/linux/drivers/hv/ |
H A D | vmbus_drv.c | 48 static struct device *hv_dev; variable 85 if (hv_dev == NULL) in vmbus_exists() 130 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show() local 132 if (!hv_dev->channel) in id_show() 134 return sysfs_emit(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show() 141 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show() local 143 if (!hv_dev->channel) in state_show() 145 return sysfs_emit(buf, "%d\n", hv_dev->channel->state); in state_show() 152 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show() local 154 if (!hv_dev->channel) in monitor_id_show() [all …]
|
H A D | hv_balloon.c | 2056 static int balloon_suspend(struct hv_device *hv_dev) in balloon_suspend() argument 2058 struct hv_dynmem_device *dm = hv_get_drvdata(hv_dev); in balloon_suspend() 2060 tasklet_disable(&hv_dev->channel->callback_event); in balloon_suspend() 2068 vmbus_close(hv_dev->channel); in balloon_suspend() 2071 tasklet_enable(&hv_dev->channel->callback_event); in balloon_suspend()
|
/linux/drivers/scsi/ |
H A D | storvsc_drv.c | 152 static bool hv_dev_is_fc(struct hv_device *hv_dev); 1928 static bool hv_dev_is_fc(struct hv_device *hv_dev) in hv_dev_is_fc() argument 1930 return guid_equal(&fc_guid.guid, &hv_dev->dev_type); in hv_dev_is_fc() 2156 static int storvsc_suspend(struct hv_device *hv_dev) in storvsc_suspend() argument 2158 struct storvsc_device *stor_device = hv_get_drvdata(hv_dev); in storvsc_suspend() 2166 vmbus_close(hv_dev->channel); in storvsc_suspend() 2176 static int storvsc_resume(struct hv_device *hv_dev) in storvsc_resume() argument 2180 ret = storvsc_connect_to_vsp(hv_dev, aligned_ringbuffer_size, in storvsc_resume() 2181 hv_dev_is_fc(hv_dev)); in storvsc_resume()
|