Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 129) sorted by relevance

123456

/drivers/net/irda/
Ddonauboe.c244 toshoboe_dumpregs (struct toshoboe_cb *self) in toshoboe_dumpregs() argument
256 self->int_tx, self->int_rx, self->int_txunder, self->int_rxover, in toshoboe_dumpregs()
257 self->int_sip); in toshoboe_dumpregs()
274 if (self->ring) in toshoboe_dumpregs()
277 ringbase = virt_to_bus (self->ring); in toshoboe_dumpregs()
281 printk (" (%d,%02x)",self->ring->rx[i].len,self->ring->rx[i].control); in toshoboe_dumpregs()
285 printk (" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumpregs()
293 toshoboe_disablebm (struct toshoboe_cb *self) in toshoboe_disablebm() argument
298 pci_read_config_byte (self->pdev, PCI_COMMAND, &command); in toshoboe_disablebm()
300 pci_write_config_byte (self->pdev, PCI_COMMAND, command); in toshoboe_disablebm()
[all …]
Dirda-usb.c110 static void irda_usb_init_qos(struct irda_usb_cb *self) ;
113 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);
148 static void irda_usb_build_header(struct irda_usb_cb *self, in irda_usb_build_header() argument
156 if (self->capability & IUC_STIR421X && in irda_usb_build_header()
157 ((self->new_speed != -1) || (self->new_xbofs != -1))) { in irda_usb_build_header()
162 if (self->new_speed == -1) in irda_usb_build_header()
163 self->new_speed = self->speed ; in irda_usb_build_header()
165 if (self->new_xbofs == -1) in irda_usb_build_header()
[all …]
Dali-ircc.c104 static int ali_ircc_close(struct ali_ircc_cb *self);
107 static int ali_ircc_is_receiving(struct ali_ircc_cb *self);
111 static void ali_ircc_change_speed(struct ali_ircc_cb *self, __u32 baud);
115 static irqreturn_t ali_ircc_sir_interrupt(struct ali_ircc_cb *self);
116 static void ali_ircc_sir_receive(struct ali_ircc_cb *self);
117 static void ali_ircc_sir_write_wakeup(struct ali_ircc_cb *self);
124 static irqreturn_t ali_ircc_fir_interrupt(struct ali_ircc_cb *self);
125 static int ali_ircc_dma_receive(struct ali_ircc_cb *self);
126 static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self);
127 static int ali_ircc_dma_xmit_complete(struct ali_ircc_cb *self);
[all …]
Dvia-ircc.c86 static int via_ircc_close(struct via_ircc_cb *self);
87 static int via_ircc_dma_receive(struct via_ircc_cb *self);
88 static int via_ircc_dma_receive_complete(struct via_ircc_cb *self,
94 static void via_hw_init(struct via_ircc_cb *self);
95 static void via_ircc_change_speed(struct via_ircc_cb *self, __u32 baud);
97 static int via_ircc_is_receiving(struct via_ircc_cb *self);
106 static int RxTimerHandler(struct via_ircc_cb *self, int iobase);
107 static void hwreset(struct via_ircc_cb *self);
108 static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase);
109 static int upload_rxdata(struct via_ircc_cb *self, int iobase);
[all …]
Dw83977af_ir.c92 static int w83977af_close(struct w83977af_ir *self);
94 static int w83977af_dma_receive(struct w83977af_ir *self);
95 static int w83977af_dma_receive_complete(struct w83977af_ir *self);
98 static void w83977af_dma_write(struct w83977af_ir *self, int iobase);
99 static void w83977af_change_speed(struct w83977af_ir *self, __u32 speed);
100 static int w83977af_is_receiving(struct w83977af_ir *self);
153 struct w83977af_ir *self; in w83977af_open() local
180 self = netdev_priv(dev); in w83977af_open()
181 spin_lock_init(&self->lock); in w83977af_open()
185 self->io.fir_base = iobase; in w83977af_open()
[all …]
Dnsc-ircc.c171 static int nsc_ircc_close(struct nsc_ircc_cb *self);
173 static void nsc_ircc_pio_receive(struct nsc_ircc_cb *self);
174 static int nsc_ircc_dma_receive(struct nsc_ircc_cb *self);
175 static int nsc_ircc_dma_receive_complete(struct nsc_ircc_cb *self, int iobase);
179 static void nsc_ircc_dma_xmit(struct nsc_ircc_cb *self, int iobase);
180 static __u8 nsc_ircc_change_speed(struct nsc_ircc_cb *self, __u32 baud);
181 static int nsc_ircc_is_receiving(struct nsc_ircc_cb *self);
343 struct nsc_ircc_cb *self; in nsc_ircc_open() local
375 self = netdev_priv(dev); in nsc_ircc_open()
376 self->netdev = dev; in nsc_ircc_open()
[all …]
Dsmsc-ircc2.c190 static void smsc_ircc_setup_io(struct smsc_ircc_cb *self, unsigned int fir_base, unsigned int sir_b…
191 static void smsc_ircc_setup_qos(struct smsc_ircc_cb *self);
192 static void smsc_ircc_init_chip(struct smsc_ircc_cb *self);
193 static int __exit smsc_ircc_close(struct smsc_ircc_cb *self);
194 static int smsc_ircc_dma_receive(struct smsc_ircc_cb *self);
195 static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self);
196 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, u32 speed);
[all …]
Dsir-dev.h109 extern int sirdev_put_instance(struct sir_dev *self);
122 extern int sirdev_get_dongle(struct sir_dev *self, IRDA_DONGLE type);
123 extern int sirdev_put_dongle(struct sir_dev *self);
/drivers/usb/core/
Dhcd.c325 strlcpy (buf, hcd->self.bus_name, sizeof buf); in rh_string()
409 tbuf [0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
417 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control()
422 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
424 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control()
455 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control()
476 dev_dbg (hcd->self.controller, "root hub device address %d\n", in rh_call_control()
492 dev_dbg (hcd->self.controller, "no endpoint features yet\n"); in rh_call_control()
520 dev_dbg (hcd->self.controller, in rh_call_control()
636 dev_dbg (hcd->self.controller, "not queuing rh status urb\n"); in rh_queue_status()
[all …]
Dbuffer.c56 if (!hcd->self.controller->dma_mask && in hcd_buffer_create()
65 hcd->pool[i] = dma_pool_create(name, hcd->self.controller, in hcd_buffer_create()
122 return dma_alloc_coherent(hcd->self.controller, size, dma, 0); in hcd_buffer_alloc()
150 dma_free_coherent(hcd->self.controller, size, addr, dma); in hcd_buffer_free()
/drivers/pci/hotplug/
Dsgi_hotplug.c249 dev_dbg(&slot->pci_bus->self->dev, "is already active\n"); in sn_slot_enable()
254 dev_dbg(&slot->pci_bus->self->dev, in sn_slot_enable()
261 dev_dbg(&slot->pci_bus->self->dev, in sn_slot_enable()
287 dev_dbg(&slot->pci_bus->self->dev, "Slot %s already inactive\n", slot->physical_path); in sn_slot_disable()
292 dev_dbg(&slot->pci_bus->self->dev, in sn_slot_disable()
298 dev_dbg(&slot->pci_bus->self->dev, in sn_slot_disable()
305 dev_dbg(&slot->pci_bus->self->dev, in sn_slot_disable()
317 dev_dbg(&slot->pci_bus->self->dev, "remove successful\n"); in sn_slot_disable()
322 dev_dbg(&slot->pci_bus->self->dev,"remove failed rc = %d\n", rc); in sn_slot_disable()
375 dev_dbg(&slot->pci_bus->self->dev, "no device in slot\n"); in enable_slot()
[all …]
Drpadlpar_core.c361 bus->self ? pci_name(bus->self) : "<!PHB!>"); in dlpar_remove_pci_slot()
387 BUG_ON(!bus->self); in dlpar_remove_pci_slot()
388 pr_debug("PCI: Now removing bridge device %s\n", pci_name(bus->self)); in dlpar_remove_pci_slot()
389 eeh_remove_bus_device(bus->self); in dlpar_remove_pci_slot()
390 pci_remove_bus_device(bus->self); in dlpar_remove_pci_slot()
/drivers/usb/host/
Dohci-s3c2410.c43 return hcd->self.controller->platform_data; in to_s3c2410_info()
112 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data()
163 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
181 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control()
190 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
201 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
211 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control()
236 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control()
251 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control()
259 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_s3c2410_hub_control()
[all …]
Dohci-omap.c170 const unsigned port = ohci_to_hcd(ohci)->self.otg_port - 1; in start_hnp()
192 struct omap_usb_config *config = hcd->self.controller->platform_data; in ohci_omap_init()
196 dev_dbg(hcd->self.controller, "starting USB Controller\n"); in ohci_omap_init()
199 ohci_to_hcd(ohci)->self.otg_port = config->otg; in ohci_omap_init()
216 &ohci_to_hcd(ohci)->self); in ohci_omap_init()
217 dev_dbg(hcd->self.controller, "init %s transceiver, status %d\n", in ohci_omap_init()
225 dev_err(hcd->self.controller, "can't find transceiver\n"); in ohci_omap_init()
284 dev_dbg(hcd->self.controller, "stopping USB Controller\n"); in ohci_omap_stop()
429 config = hcd->self.controller->platform_data; in ohci_omap_start()
436 dev_err(hcd->self.controller, "can't start\n"); in ohci_omap_start()
Dehci-mem.c155 dma_free_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_cleanup()
172 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
182 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
196 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
206 ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
216 dma_alloc_coherent (ehci_to_hcd(ehci)->self.controller, in ehci_mem_init()
Dohci-pci.c47 device_init_wakeup(&hcd->self.root_hub->dev, 0); in broken_suspend()
84 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_ns()
328 if (hcd->self.controller) { in ohci_pci_reset()
329 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_pci_reset()
353 if (hcd->self.controller) { in ohci_pci_start()
354 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_pci_start()
Dohci-q.c51 ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs--; in finish_urb()
52 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
57 ohci_to_hcd(ohci)->self.bandwidth_int_reqs--; in finish_urb()
72 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in finish_urb()
73 && ohci_to_hcd(ohci)->self.bandwidth_int_reqs == 0) { in finish_urb()
156 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
270 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
614 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb()
615 && ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0; in td_submit_urb()
683 if (ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs == 0 in td_submit_urb()
[all …]
Dehci-dbg.c22 dev_dbg (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
24 dev_err (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
26 dev_info (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
28 dev_warn (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
677 hcd->self.controller->bus->name, in fill_registers_buffer()
678 dev_name(hcd->self.controller), in fill_registers_buffer()
689 hcd->self.controller->bus->name, in fill_registers_buffer()
690 dev_name(hcd->self.controller), in fill_registers_buffer()
698 if (hcd->self.controller->bus == &pci_bus_type) { in fill_registers_buffer()
703 pdev = to_pci_dev(ehci_to_hcd(ehci)->self.controller); in fill_registers_buffer()
[all …]
Dohci-hub.c94 if (ohci_to_hcd(ohci)->self.root_hub->do_remote_wakeup || autostop) { in ohci_rh_suspend()
181 usb_root_hub_lost_power(hcd->self.root_hub); in ohci_rh_resume()
266 if (hcd->self.bandwidth_isoc_reqs || hcd->self.bandwidth_int_reqs) in ohci_rh_resume()
388 ->self.root_hub->dev)) { in ohci_root_hub_state_changes()
425 !ohci_to_hcd(ohci)->self.root_hub-> in ohci_root_hub_state_changes()
792 if (hcd->self.otg_port == (wIndex + 1) in ohci_hub_control()
793 && hcd->self.b_hnp_enable) in ohci_hub_control()
Disp1760-hcd.h125 dev_dbg(priv_to_hcd(priv)->self.controller, fmt, ##args)
128 dev_info(priv_to_hcd(priv)->self.controller, fmt, ##args)
131 dev_err(priv_to_hcd(priv)->self.controller, fmt, ##args)
Dehci-pci.c68 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_setup()
315 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_resume()
331 if (!hcd->self.root_hub->do_remote_wakeup) in ehci_pci_resume()
339 usb_root_hub_lost_power(hcd->self.root_hub); in ehci_pci_resume()
/drivers/parisc/
Ddino.c597 if((bus->self->resource[i].flags & in dino_fixup_bus()
601 if(bus->self->resource[i].flags & IORESOURCE_MEM) { in dino_fixup_bus()
608 …bus->self->resource[i].end = bus->self->resource[i].end - bus->self->resource[i].start + DINO_BRID… in dino_fixup_bus()
609 bus->self->resource[i].start = DINO_BRIDGE_ALIGN; in dino_fixup_bus()
614 dev_name(&bus->self->dev), i, in dino_fixup_bus()
615 bus->self->resource[i].start, in dino_fixup_bus()
616 bus->self->resource[i].end); in dino_fixup_bus()
617 pci_assign_resource(bus->self, i); in dino_fixup_bus()
619 dev_name(&bus->self->dev), i, in dino_fixup_bus()
620 bus->self->resource[i].start, in dino_fixup_bus()
[all …]
/drivers/gpu/drm/mga/
Dmga_drv.c135 if ((pdev->device == 0x0525) && pdev->bus->self in mga_driver_device_is_agp()
136 && (pdev->bus->self->vendor == 0x3388) in mga_driver_device_is_agp()
137 && (pdev->bus->self->device == 0x0021)) { in mga_driver_device_is_agp()
/drivers/pci/
Dpci.h130 if (dev->bus->self) in pci_no_d1d2()
131 parent_dstates = dev->bus->self->no_d1d2; in pci_no_d1d2()
195 return bus->self && bus->self->ari_enabled; in pci_ari_enabled()
Dsetup-bus.c74 struct pci_dev *bridge = bus->self; in pci_setup_cardbus()
143 struct pci_dev *bridge = bus->self; in pci_setup_bridge()
229 struct pci_dev *bridge = bus->self; in pci_bridge_check_ranges()
401 struct pci_dev *bridge = bus->self; in pci_bus_size_cardbus()
471 if (!bus->self) in pci_bus_size_bridges()
474 switch (bus->self->class >> 8) { in pci_bus_size_bridges()

123456