Searched refs:self (Results 1 - 25 of 253) sorted by relevance

1234567891011

/drivers/net/irda/
H A Ddonauboe.c244 toshoboe_dumpregs (struct toshoboe_cb *self) argument
256 self->int_tx, self->int_rx, self->int_txunder, self->int_rxover,
257 self->int_sip);
274 if (self->ring)
277 ringbase = virt_to_bus (self->ring);
281 printk (" (%d,%02x)",self->ring->rx[i].len,self
293 toshoboe_disablebm(struct toshoboe_cb *self) argument
306 toshoboe_stopchip(struct toshoboe_cb *self) argument
338 toshoboe_start_DMA(struct toshoboe_cb *self, int opts) argument
348 toshoboe_setbaud(struct toshoboe_cb *self) argument
483 toshoboe_enablebm(struct toshoboe_cb *self) argument
491 toshoboe_initring(struct toshoboe_cb *self) argument
514 toshoboe_resetptrs(struct toshoboe_cb *self) argument
527 toshoboe_initptrs(struct toshoboe_cb *self) argument
549 toshoboe_startchip(struct toshoboe_cb *self) argument
607 toshoboe_isntstuck(struct toshoboe_cb *self) argument
612 toshoboe_checkstuck(struct toshoboe_cb *self) argument
631 toshoboe_makemttpacket(struct toshoboe_cb *self, void *buf, int mtt) argument
661 toshoboe_dumptx(struct toshoboe_cb *self) argument
671 toshoboe_dumprx(struct toshoboe_cb *self, int score) argument
704 struct toshoboe_cb *self = dev_id; local
785 toshoboe_probefail(struct toshoboe_cb *self, char *msg) argument
795 toshoboe_numvalidrcvs(struct toshoboe_cb *self) argument
806 toshoboe_numrcvs(struct toshoboe_cb *self) argument
817 toshoboe_probe(struct toshoboe_cb *self) argument
976 struct toshoboe_cb *self; local
1151 struct toshoboe_cb *self = dev_id; local
1340 struct toshoboe_cb *self; local
1380 struct toshoboe_cb *self; local
1417 struct toshoboe_cb *self; local
1491 struct toshoboe_cb *self = pci_get_drvdata(pci_dev); local
1535 struct toshoboe_cb *self; local
1699 struct toshoboe_cb *self = pci_get_drvdata(pci_dev); local
1728 struct toshoboe_cb *self = pci_get_drvdata(pci_dev); local
[all...]
H A Dsh_irda.c135 int (*xir_fre) (struct sh_irda_self *self);
136 int (*xir_trov) (struct sh_irda_self *self);
137 int (*xir_9) (struct sh_irda_self *self);
138 int (*xir_8) (struct sh_irda_self *self);
139 int (*xir_fte) (struct sh_irda_self *self);
168 static void sh_irda_write(struct sh_irda_self *self, u32 offset, u16 data) argument
172 spin_lock_irqsave(&self->lock, flags);
173 iowrite16(data, self->membase + offset);
174 spin_unlock_irqrestore(&self->lock, flags);
177 static u16 sh_irda_read(struct sh_irda_self *self, u3 argument
189 sh_irda_update_bits(struct sh_irda_self *self, u32 offset, u16 mask, u16 data) argument
215 sh_irda_rcv_ctrl(struct sh_irda_self *self, int enable) argument
223 sh_irda_set_timeout(struct sh_irda_self *self, int interval) argument
239 sh_irda_set_baudrate(struct sh_irda_self *self, int baudrate) argument
264 sh_irda_get_rcv_length(struct sh_irda_self *self) argument
274 sh_irda_xir_fre(struct sh_irda_self *self) argument
281 sh_irda_xir_trov(struct sh_irda_self *self) argument
288 sh_irda_xir_9(struct sh_irda_self *self) argument
295 sh_irda_xir_8(struct sh_irda_self *self) argument
302 sh_irda_xir_fte(struct sh_irda_self *self) argument
336 sh_irda_sir_fre(struct sh_irda_self *self) argument
364 sh_irda_sir_trov(struct sh_irda_self *self) argument
373 sh_irda_sir_tot(struct sh_irda_self *self) argument
383 sh_irda_sir_fer(struct sh_irda_self *self) argument
392 sh_irda_sir_fte(struct sh_irda_self *self) argument
410 sh_irda_set_mode(struct sh_irda_self *self, enum sh_irda_mode mode) argument
454 sh_irda_set_irq_mask(struct sh_irda_self *self) argument
493 struct sh_irda_self *self = dev_id; local
521 sh_irda_crc_reset(struct sh_irda_self *self) argument
526 sh_irda_crc_add(struct sh_irda_self *self, u16 data) argument
531 sh_irda_crc_cnt(struct sh_irda_self *self) argument
536 sh_irda_crc_out(struct sh_irda_self *self) argument
541 sh_irda_crc_init(struct sh_irda_self *self) argument
581 sh_irda_remove_iobuf(struct sh_irda_self *self) argument
591 sh_irda_init_iobuf(struct sh_irda_self *self, int rxsize, int txsize) argument
625 struct sh_irda_self *self = netdev_priv(ndev); local
684 struct sh_irda_self *self = netdev_priv(ndev); local
691 struct sh_irda_self *self = netdev_priv(ndev); local
725 struct sh_irda_self *self = netdev_priv(ndev); local
759 struct sh_irda_self *self; local
831 struct sh_irda_self *self = netdev_priv(ndev); local
[all...]
H A Dirda-usb.c109 static void irda_usb_init_qos(struct irda_usb_cb *self) ;
112 static void irda_usb_change_speed_xbofs(struct irda_usb_cb *self);
115 static int irda_usb_open(struct irda_usb_cb *self);
116 static void irda_usb_close(struct irda_usb_cb *self);
134 * Function irda_usb_build_header(self, skb, header)
148 static void irda_usb_build_header(struct irda_usb_cb *self, argument
156 if (self->capability & IUC_STIR421X &&
157 ((self->new_speed != -1) || (self->new_xbofs != -1))) {
162 if (self
298 irda_usb_change_speed_xbofs(struct irda_usb_cb *self) argument
347 struct irda_usb_cb *self = urb->context; local
387 struct irda_usb_cb *self = netdev_priv(netdev); local
555 struct irda_usb_cb *self = ((struct irda_skb_cb *) skb->cb)->context; local
629 struct irda_usb_cb *self = netdev_priv(netdev); local
759 irda_usb_submit(struct irda_usb_cb *self, struct sk_buff *skb, struct urb *urb) argument
801 struct irda_usb_cb *self; local
963 struct irda_usb_cb *self; local
987 irda_usb_is_receiving(struct irda_usb_cb *self) argument
1023 stir421x_fw_upload(struct irda_usb_cb *self, const unsigned char *patch, const unsigned int patch_len) argument
1071 stir421x_patch_device(struct irda_usb_cb *self) argument
1167 struct irda_usb_cb *self; local
1251 struct irda_usb_cb *self; local
1302 struct irda_usb_cb *self; local
1355 irda_usb_init_qos(struct irda_usb_cb *self) argument
1415 irda_usb_open(struct irda_usb_cb *self) argument
1433 irda_usb_close(struct irda_usb_cb *self) argument
1467 irda_usb_parse_endpoints(struct irda_usb_cb *self, struct usb_host_endpoint *endpoint, int ennum) argument
1614 struct irda_usb_cb *self; local
1809 struct irda_usb_cb *self = usb_get_intfdata(intf); local
1869 struct irda_usb_cb *self = usb_get_intfdata(intf); local
1888 struct irda_usb_cb *self = usb_get_intfdata(intf); local
[all...]
H A Dw83977af_ir.c88 static int w83977af_close(struct w83977af_ir *self);
90 static int w83977af_dma_receive(struct w83977af_ir *self);
91 static int w83977af_dma_receive_complete(struct w83977af_ir *self);
95 static void w83977af_dma_write(struct w83977af_ir *self, int iobase);
96 static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed);
97 static int w83977af_is_receiving(struct w83977af_ir *self);
157 struct w83977af_ir *self; local
184 self = netdev_priv(dev);
185 spin_lock_init(&self->lock);
189 self
267 w83977af_close(struct w83977af_ir *self) argument
407 w83977af_change_speed(struct w83977af_ir *self, __u32 speed) argument
490 struct w83977af_ir *self; local
559 w83977af_dma_write(struct w83977af_ir *self, int iobase) argument
634 w83977af_dma_xmit_complete(struct w83977af_ir *self) argument
685 w83977af_dma_receive(struct w83977af_ir *self) argument
757 w83977af_dma_receive_complete(struct w83977af_ir *self) argument
878 w83977af_pio_receive(struct w83977af_ir *self) argument
903 w83977af_sir_interrupt(struct w83977af_ir *self, int isr) argument
973 w83977af_fir_interrupt(struct w83977af_ir *self, int isr) argument
1055 struct w83977af_ir *self; local
1091 w83977af_is_receiving(struct w83977af_ir *self) argument
1124 struct w83977af_ir *self; local
1188 struct w83977af_ir *self; local
1237 struct w83977af_ir *self; local
[all...]
H A Dsh_sir.c127 static void sh_sir_write(struct sh_sir_self *self, u32 offset, u16 data) argument
129 iowrite16(data, self->membase + offset);
132 static u16 sh_sir_read(struct sh_sir_self *self, u32 offset) argument
134 return ioread16(self->membase + offset);
137 static void sh_sir_update_bits(struct sh_sir_self *self, u32 offset, argument
142 old = sh_sir_read(self, offset);
145 sh_sir_write(self, offset, new);
155 static void sh_sir_crc_reset(struct sh_sir_self *self) argument
157 sh_sir_write(self, IRIF_CRC0, CRC_RST);
160 static void sh_sir_crc_add(struct sh_sir_self *self, u argument
165 sh_sir_crc_cnt(struct sh_sir_self *self) argument
170 sh_sir_crc_out(struct sh_sir_self *self) argument
175 sh_sir_crc_init(struct sh_sir_self *self) argument
247 sh_sir_set_baudrate(struct sh_sir_self *self, u32 baudrate) argument
395 sh_sir_remove_iobuf(struct sh_sir_self *self) argument
404 sh_sir_init_iobuf(struct sh_sir_self *self, int rxsize, int txsize) argument
434 sh_sir_clear_all_err(struct sh_sir_self *self) argument
446 sh_sir_set_phase(struct sh_sir_self *self, int phase) argument
472 sh_sir_is_which_phase(struct sh_sir_self *self) argument
488 sh_sir_tx(struct sh_sir_self *self, int phase) argument
510 sh_sir_read_data(struct sh_sir_self *self) argument
538 sh_sir_rx(struct sh_sir_self *self) argument
561 struct sh_sir_self *self = dev_id; local
593 struct sh_sir_self *self = netdev_priv(ndev); local
629 struct sh_sir_self *self = netdev_priv(ndev); local
636 struct sh_sir_self *self = netdev_priv(ndev); local
674 struct sh_sir_self *self = netdev_priv(ndev); local
707 struct sh_sir_self *self; local
785 struct sh_sir_self *self = netdev_priv(ndev); local
[all...]
H A Dali-ircc.c105 static int ali_ircc_close(struct ali_ircc_cb *self);
108 static int ali_ircc_is_receiving(struct ali_ircc_cb *self);
112 static void ali_ircc_change_speed(struct ali_ircc_cb *self, __u32 baud);
117 static irqreturn_t ali_ircc_sir_interrupt(struct ali_ircc_cb *self);
118 static void ali_ircc_sir_receive(struct ali_ircc_cb *self);
119 static void ali_ircc_sir_write_wakeup(struct ali_ircc_cb *self);
127 static irqreturn_t ali_ircc_fir_interrupt(struct ali_ircc_cb *self);
128 static int ali_ircc_dma_receive(struct ali_ircc_cb *self);
129 static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self);
130 static int ali_ircc_dma_xmit_complete(struct ali_ircc_cb *self);
288 struct ali_ircc_cb *self; local
420 ali_ircc_close(struct ali_ircc_cb *self) argument
673 struct ali_ircc_cb *self; local
699 ali_ircc_fir_interrupt(struct ali_ircc_cb *self) argument
821 ali_ircc_sir_interrupt(struct ali_ircc_cb *self) argument
874 ali_ircc_sir_receive(struct ali_ircc_cb *self) argument
909 ali_ircc_sir_write_wakeup(struct ali_ircc_cb *self) argument
965 ali_ircc_change_speed(struct ali_ircc_cb *self, __u32 baud) argument
1018 struct ali_ircc_cb *self = priv; local
1053 struct ali_ircc_cb *self = priv; local
1122 struct ali_ircc_cb *self = priv; local
1338 struct ali_ircc_cb *self; local
1402 struct ali_ircc_cb *self; local
1442 struct ali_ircc_cb *self; local
1586 ali_ircc_dma_xmit(struct ali_ircc_cb *self) argument
1656 ali_ircc_dma_xmit_complete(struct ali_ircc_cb *self) argument
1728 ali_ircc_dma_receive(struct ali_ircc_cb *self) argument
1786 ali_ircc_dma_receive_complete(struct ali_ircc_cb *self) argument
1965 struct ali_ircc_cb *self; local
2034 struct ali_ircc_cb *self; local
2089 ali_ircc_is_receiving(struct ali_ircc_cb *self) argument
2128 struct ali_ircc_cb *self = platform_get_drvdata(dev); local
2144 struct ali_ircc_cb *self = platform_get_drvdata(dev); local
[all...]
H A Dnsc-ircc.c172 static int nsc_ircc_close(struct nsc_ircc_cb *self);
174 static void nsc_ircc_pio_receive(struct nsc_ircc_cb *self);
175 static int nsc_ircc_dma_receive(struct nsc_ircc_cb *self);
176 static int nsc_ircc_dma_receive_complete(struct nsc_ircc_cb *self, int iobase);
182 static void nsc_ircc_dma_xmit(struct nsc_ircc_cb *self, int iobase);
183 static __u8 nsc_ircc_change_speed(struct nsc_ircc_cb *self, __u32 baud);
184 static int nsc_ircc_is_receiving(struct nsc_ircc_cb *self);
360 struct nsc_ircc_cb *self; local
392 self = netdev_priv(dev);
393 self
515 nsc_ircc_close(struct nsc_ircc_cb *self) argument
1251 nsc_ircc_change_speed(struct nsc_ircc_cb *self, __u32 speed) argument
1362 struct nsc_ircc_cb *self; local
1435 struct nsc_ircc_cb *self; local
1569 nsc_ircc_dma_xmit(struct nsc_ircc_cb *self, int iobase) argument
1648 nsc_ircc_dma_xmit_complete(struct nsc_ircc_cb *self) argument
1713 nsc_ircc_dma_receive(struct nsc_ircc_cb *self) argument
1765 nsc_ircc_dma_receive_complete(struct nsc_ircc_cb *self, int iobase) argument
1925 nsc_ircc_pio_receive(struct nsc_ircc_cb *self) argument
1946 nsc_ircc_sir_interrupt(struct nsc_ircc_cb *self, int eir) argument
2011 nsc_ircc_fir_interrupt(struct nsc_ircc_cb *self, int iobase, int eir) argument
2095 struct nsc_ircc_cb *self; local
2134 nsc_ircc_is_receiving(struct nsc_ircc_cb *self) argument
2172 struct nsc_ircc_cb *self; local
2235 struct nsc_ircc_cb *self; local
2283 struct nsc_ircc_cb *self; local
2324 struct nsc_ircc_cb *self = platform_get_drvdata(dev); local
2360 struct nsc_ircc_cb *self = platform_get_drvdata(dev); local
[all...]
H A Dvia-ircc.c81 static int via_ircc_dma_receive(struct via_ircc_cb *self);
82 static int via_ircc_dma_receive_complete(struct via_ircc_cb *self,
88 static void via_hw_init(struct via_ircc_cb *self);
89 static void via_ircc_change_speed(struct via_ircc_cb *self, __u32 baud);
91 static int via_ircc_is_receiving(struct via_ircc_cb *self);
100 static int RxTimerHandler(struct via_ircc_cb *self, int iobase);
101 static void hwreset(struct via_ircc_cb *self);
102 static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase);
103 static int upload_rxdata(struct via_ircc_cb *self, int iobase);
289 struct via_ircc_cb *self; local
422 struct via_ircc_cb *self = pci_get_drvdata(pdev); local
456 via_hw_init(struct via_ircc_cb *self) argument
666 via_ircc_change_speed(struct via_ircc_cb *self, __u32 speed) argument
768 struct via_ircc_cb *self; local
840 struct via_ircc_cb *self; local
886 via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase) argument
924 via_ircc_dma_xmit_complete(struct via_ircc_cb *self) argument
992 via_ircc_dma_receive(struct via_ircc_cb *self) argument
1036 via_ircc_dma_receive_complete(struct via_ircc_cb *self, int iobase) argument
1157 upload_rxdata(struct via_ircc_cb *self, int iobase) argument
1207 RxTimerHandler(struct via_ircc_cb *self, int iobase) argument
1298 struct via_ircc_cb *self = netdev_priv(dev); local
1400 hwreset(struct via_ircc_cb *self) argument
1439 via_ircc_is_receiving(struct via_ircc_cb *self) argument
1464 struct via_ircc_cb *self; local
1532 struct via_ircc_cb *self; local
1572 struct via_ircc_cb *self; local
[all...]
H A Dbfin_sir.c168 struct bfin_sir_self *self = netdev_priv(dev); local
169 struct bfin_sir_port *port = self->sir_port;
173 return self->rx_buff.state != OUTSIDE_FRAME;
180 struct bfin_sir_self *self = netdev_priv(dev); local
181 struct bfin_sir_port *port = self->sir_port;
183 if (self->tx_buff.len != 0) {
184 chr = *(self->tx_buff.data);
186 self->tx_buff.data++;
187 self->tx_buff.len--;
189 self
205 struct bfin_sir_self *self = netdev_priv(dev); local
218 struct bfin_sir_self *self = netdev_priv(dev); local
232 struct bfin_sir_self *self = netdev_priv(dev); local
247 struct bfin_sir_self *self = netdev_priv(dev); local
283 struct bfin_sir_self *self = netdev_priv(dev); local
311 struct bfin_sir_self *self = netdev_priv(dev); local
323 struct bfin_sir_self *self = netdev_priv(dev); local
346 struct bfin_sir_self *self = netdev_priv(dev); local
457 struct bfin_sir_self *self; local
477 struct bfin_sir_self *self; local
506 struct bfin_sir_self *self = container_of(work, struct bfin_sir_self, work); local
539 struct bfin_sir_self *self = netdev_priv(dev); local
564 struct bfin_sir_self *self = netdev_priv(dev); local
603 struct bfin_sir_self *self = netdev_priv(dev); local
610 struct bfin_sir_self *self = netdev_priv(dev); local
652 struct bfin_sir_self *self = netdev_priv(dev); local
697 struct bfin_sir_self *self; local
785 struct bfin_sir_self *self; local
[all...]
H A Dsmsc-ircc2.c188 static void smsc_ircc_setup_io(struct smsc_ircc_cb *self, unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq);
189 static void smsc_ircc_setup_qos(struct smsc_ircc_cb *self);
190 static void smsc_ircc_init_chip(struct smsc_ircc_cb *self);
191 static int __exit smsc_ircc_close(struct smsc_ircc_cb *self);
192 static int smsc_ircc_dma_receive(struct smsc_ircc_cb *self);
193 static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self);
194 static void smsc_ircc_sir_receive(struct smsc_ircc_cb *self);
199 static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs);
200 static void smsc_ircc_dma_xmit_complete(struct smsc_ircc_cb *self);
201 static void smsc_ircc_change_speed(struct smsc_ircc_cb *self, u3
492 struct smsc_ircc_cb *self = netdev_priv(dev); local
518 struct smsc_ircc_cb *self; local
687 smsc_ircc_setup_io(struct smsc_ircc_cb *self, unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) argument
729 smsc_ircc_setup_qos(struct smsc_ircc_cb *self) argument
748 smsc_ircc_init_chip(struct smsc_ircc_cb *self) argument
791 struct smsc_ircc_cb *self; local
852 struct smsc_ircc_cb *self = netdev_priv(dev); local
876 struct smsc_ircc_cb *self; local
940 smsc_ircc_set_fir_speed(struct smsc_ircc_cb *self, u32 speed) argument
992 smsc_ircc_fir_start(struct smsc_ircc_cb *self) argument
1038 smsc_ircc_fir_stop(struct smsc_ircc_cb *self) argument
1061 smsc_ircc_change_speed(struct smsc_ircc_cb *self, u32 speed) argument
1127 smsc_ircc_set_sir_speed(struct smsc_ircc_cb *self, __u32 speed) argument
1182 struct smsc_ircc_cb *self; local
1248 smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs) argument
1303 smsc_ircc_dma_xmit_complete(struct smsc_ircc_cb *self) argument
1348 smsc_ircc_dma_receive(struct smsc_ircc_cb *self) argument
1403 smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self) argument
1475 smsc_ircc_sir_receive(struct smsc_ircc_cb *self) argument
1510 struct smsc_ircc_cb *self = netdev_priv(dev); local
1569 struct smsc_ircc_cb *self = netdev_priv(dev); local
1644 smsc_ircc_request_irq(struct smsc_ircc_cb *self) argument
1657 smsc_ircc_start_interrupts(struct smsc_ircc_cb *self) argument
1669 smsc_ircc_stop_interrupts(struct smsc_ircc_cb *self) argument
1693 struct smsc_ircc_cb *self; local
1751 struct smsc_ircc_cb *self; local
1781 struct smsc_ircc_cb *self = platform_get_drvdata(dev); local
1802 struct smsc_ircc_cb *self = platform_get_drvdata(dev); local
1834 smsc_ircc_close(struct smsc_ircc_cb *self) argument
1894 smsc_ircc_sir_start(struct smsc_ircc_cb *self) argument
1931 smsc_ircc_sir_stop(struct smsc_ircc_cb *self) argument
1953 smsc_ircc_sir_write_wakeup(struct smsc_ircc_cb *self) argument
2041 smsc_ircc_is_receiving(struct smsc_ircc_cb *self) argument
2053 smsc_ircc_probe_transceiver(struct smsc_ircc_cb *self) argument
2080 smsc_ircc_set_transceiver_for_speed(struct smsc_ircc_cb *self, u32 speed) argument
2112 smsc_ircc_sir_wait_hw_transmitter_finish(struct smsc_ircc_cb *self) argument
[all...]
/drivers/net/wireless/cw1200/
H A Dhwbus.h23 int (*hwbus_memcpy_fromio)(struct hwbus_priv *self, unsigned int addr,
25 int (*hwbus_memcpy_toio)(struct hwbus_priv *self, unsigned int addr,
27 void (*lock)(struct hwbus_priv *self);
28 void (*unlock)(struct hwbus_priv *self);
29 size_t (*align_size)(struct hwbus_priv *self, size_t size);
30 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
H A Dcw1200_sdio.c68 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, argument
72 return sdio_memcpy_fromio(self->func, dst, addr, count);
75 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, argument
79 return sdio_memcpy_toio(self->func, addr, (void *)src, count);
82 static void cw1200_sdio_lock(struct hwbus_priv *self) argument
84 sdio_claim_host(self->func);
87 static void cw1200_sdio_unlock(struct hwbus_priv *self) argument
89 sdio_release_host(self->func);
94 struct hwbus_priv *self = sdio_get_drvdata(func); local
97 if (self
108 struct hwbus_priv *self = dev_id; local
120 cw1200_request_irq(struct hwbus_priv *self) argument
157 cw1200_sdio_irq_subscribe(struct hwbus_priv *self) argument
172 cw1200_sdio_irq_unsubscribe(struct hwbus_priv *self) argument
249 cw1200_sdio_align_size(struct hwbus_priv *self, size_t size) argument
259 cw1200_sdio_pm(struct hwbus_priv *self, bool suspend) argument
281 struct hwbus_priv *self; local
330 struct hwbus_priv *self = sdio_get_drvdata(func); local
351 struct hwbus_priv *self = sdio_get_drvdata(func); local
[all...]
H A Dcw1200_spi.c60 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, argument
92 if (self->func->bits_per_word == 8)
99 ret = spi_sync(self->func, &m);
115 if (self->func->bits_per_word == 8)
126 static int cw1200_spi_memcpy_toio(struct hwbus_priv *self, argument
157 if (self->func->bits_per_word == 8)
179 rval = spi_sync(self->func, &m);
187 if (self->func->bits_per_word == 8)
197 static void cw1200_spi_lock(struct hwbus_priv *self) argument
205 add_wait_queue(&self
223 cw1200_spi_unlock(struct hwbus_priv *self) argument
237 struct hwbus_priv *self = dev_id; local
249 cw1200_spi_irq_subscribe(struct hwbus_priv *self) argument
274 cw1200_spi_irq_unsubscribe(struct hwbus_priv *self) argument
345 cw1200_spi_align_size(struct hwbus_priv *self, size_t size) argument
350 cw1200_spi_pm(struct hwbus_priv *self, bool suspend) argument
369 struct hwbus_priv *self; local
435 struct hwbus_priv *self = spi_get_drvdata(func); local
452 struct hwbus_priv *self = spi_get_drvdata(to_spi_device(dev)); local
[all...]
/drivers/crypto/qat/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c81 static uint32_t get_num_accels(struct adf_hw_device_data *self) argument
85 if (!self || !self->accel_mask)
89 if (self->accel_mask & (1 << i))
95 static uint32_t get_num_aes(struct adf_hw_device_data *self) argument
99 if (!self || !self->ae_mask)
103 if (self->ae_mask & (1 << i))
109 static uint32_t get_misc_bar_id(struct adf_hw_device_data *self) argument
114 static uint32_t get_etr_bar_id(struct adf_hw_device_data *self) argument
119 get_sku(struct adf_hw_device_data *self) argument
[all...]
/drivers/pci/
H A Dof.c34 if (bus->self == NULL)
37 bus->dev.of_node = of_node_get(bus->self->dev.of_node);
49 if (WARN_ON(bus->self || bus->parent))
/drivers/usb/host/
H A Dehci-xilinx-of.c52 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum);
54 dev_warn(hcd->self.controller,
57 dev_warn(hcd->self.controller,
60 dev_warn(hcd->self.controller,
62 dev_warn(hcd->self.controller,
65 dev_warn(hcd->self.controller,
197 device_wakeup_enable(hcd->self.controller);
H A Dohci-s3c2410.c54 return dev_get_platdata(hcd->self.controller);
121 dev_dbg(hcd->self.controller,
172 dev_dbg(hcd->self.controller,
190 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n");
199 dev_dbg(hcd->self.controller,
210 dev_dbg(hcd->self.controller,
219 dev_dbg(hcd->self.controller,
244 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n",
262 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
270 dev_dbg(hcd->self
[all...]
H A Dohci-omap.c179 const unsigned port = hcd->self.otg_port - 1;
201 struct omap_usb_config *config = dev_get_platdata(hcd->self.controller);
205 dev_dbg(hcd->self.controller, "starting USB Controller\n");
208 hcd->self.otg_port = config->otg;
226 &ohci_to_hcd(ohci)->self);
227 dev_dbg(hcd->self.controller, "init %s phy, status %d\n",
234 dev_err(hcd->self.controller, "can't find phy\n");
281 /* We require a self-powered hub, which should have
370 device_wakeup_enable(hcd->self.controller);
399 dev_dbg(hcd->self
[all...]
/drivers/gpu/drm/mga/
H A Dmga_drv.c136 if ((pdev->device == 0x0525) && pdev->bus->self
137 && (pdev->bus->self->vendor == 0x3388)
138 && (pdev->bus->self->device == 0x0021)) {
/drivers/usb/core/
H A Dbuffer.c57 if (!hcd->self.controller->dma_mask &&
66 hcd->pool[i] = dma_pool_create(name, hcd->self.controller,
123 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags);
151 dma_free_coherent(hcd->self.controller, size, addr, dma);
H A Dhcd.c442 s = hcd->self.bus_name;
529 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev)
537 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0);
542 if (device_can_wakeup(&hcd->self.root_hub->dev)
544 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1);
595 if (device_can_wakeup(&hcd->self.root_hub->dev))
619 dev_dbg (hcd->self.controller, "root hub device address %d\n",
635 dev_dbg (hcd->self.controller, "no endpoint features yet\n");
660 usb_hub_adjust_deviceremovable(hcd->self.root_hub,
671 dev_dbg (hcd->self
[all...]
/drivers/usb/wusbcore/
H A Dpal.c41 wusbhc->pal.device = wusbhc->usb_hcd.self.controller;
/drivers/crypto/qat/qat_common/
H A Dadf_accel_devices.h143 uint32_t (*get_misc_bar_id)(struct adf_hw_device_data *self);
144 uint32_t (*get_etr_bar_id)(struct adf_hw_device_data *self);
145 uint32_t (*get_num_aes)(struct adf_hw_device_data *self);
146 uint32_t (*get_num_accels)(struct adf_hw_device_data *self);
147 enum dev_sku_info (*get_sku)(struct adf_hw_device_data *self);
/drivers/pci/hotplug/
H A Dsgi_hotplug.c248 dev_dbg(&slot->pci_bus->self->dev, "is already active\n");
253 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message: %s",
259 dev_dbg(&slot->pci_bus->self->dev, "insert failed with error %d sub-error %d\n",
284 dev_dbg(&slot->pci_bus->self->dev, "Slot %s already inactive\n", slot->physical_path);
289 dev_dbg(&slot->pci_bus->self->dev, "Cannot remove last 33MHz card\n");
294 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message \n%s\n",
300 dev_dbg(&slot->pci_bus->self->dev, "remove failed with error %d sub-error %d\n",
311 dev_dbg(&slot->pci_bus->self->dev, "remove successful\n");
316 dev_dbg(&slot->pci_bus->self->dev,"remove failed rc = %d\n", rc);
369 dev_dbg(&slot->pci_bus->self
[all...]
/drivers/clocksource/
H A Ddummy_timer.c44 static int dummy_timer_cpu_notify(struct notifier_block *self, argument

Completed in 459 milliseconds

1234567891011