Home
last modified time | relevance | path

Searched refs:pegasus (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/net/usb/
Dpegasus.c100 static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data) in get_registers() argument
102 return usb_control_msg_recv(pegasus->usb, 0, PEGASUS_REQ_GET_REGS, in get_registers()
107 static int set_registers(pegasus_t *pegasus, __u16 indx, __u16 size, in set_registers() argument
112 ret = usb_control_msg_send(pegasus->usb, 0, PEGASUS_REQ_SET_REGS, in set_registers()
116 netif_dbg(pegasus, drv, pegasus->net, "%s failed with %d\n", __func__, ret); in set_registers()
126 static int set_register(pegasus_t *pegasus, __u16 indx, __u8 data) in set_register() argument
131 ret = usb_control_msg_send(pegasus->usb, 0, PEGASUS_REQ_SET_REG, in set_register()
135 netif_dbg(pegasus, drv, pegasus->net, "%s failed with %d\n", __func__, ret); in set_register()
140 static int update_eth_regs_async(pegasus_t *pegasus) in update_eth_regs_async() argument
161 usb_fill_control_urb(async_urb, pegasus->usb, in update_eth_regs_async()
[all …]
DMakefile8 obj-$(CONFIG_USB_PEGASUS) += pegasus.o
Dpegasus.h79 typedef struct pegasus { struct
DKconfig78 If in doubt then look at <file:drivers/net/usb/pegasus.h> for the
86 module will be called pegasus.
/Linux-v6.1/drivers/input/tablet/
Dpegasus_notetaker.c73 struct pegasus { struct
91 static int pegasus_control_msg(struct pegasus *pegasus, u8 *data, int len) in pegasus_control_msg() argument
106 result = usb_control_msg(pegasus->usbdev, in pegasus_control_msg()
107 usb_sndctrlpipe(pegasus->usbdev, 0), in pegasus_control_msg()
117 dev_err(&pegasus->usbdev->dev, "control msg error: %d\n", in pegasus_control_msg()
125 static int pegasus_set_mode(struct pegasus *pegasus, u8 mode, u8 led) in pegasus_set_mode() argument
129 return pegasus_control_msg(pegasus, cmd, sizeof(cmd)); in pegasus_set_mode()
132 static void pegasus_parse_packet(struct pegasus *pegasus) in pegasus_parse_packet() argument
134 unsigned char *data = pegasus->data; in pegasus_parse_packet()
135 struct input_dev *dev = pegasus->dev; in pegasus_parse_packet()
[all …]
/Linux-v6.1/
DCREDITS2447 D: USB ethernet pegasus/pegasus-II driver
DMAINTAINERS21321 W: https://github.com/petkan/pegasus
21322 T: git https://github.com/petkan/pegasus.git
21323 F: drivers/net/usb/pegasus.*