/drivers/net/irda/ |
D | donauboe.c | 244 toshoboe_dumpregs (struct toshoboe_cb *self) in toshoboe_dumpregs() argument 254 self->int_tx, self->int_rx, self->int_txunder, self->int_rxover, in toshoboe_dumpregs() 255 self->int_sip); in toshoboe_dumpregs() 272 if (self->ring) in toshoboe_dumpregs() 275 ringbase = virt_to_bus (self->ring); in toshoboe_dumpregs() 279 printk (" (%d,%02x)",self->ring->rx[i].len,self->ring->rx[i].control); in toshoboe_dumpregs() 283 printk (" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumpregs() 291 toshoboe_disablebm (struct toshoboe_cb *self) in toshoboe_disablebm() argument 294 pci_read_config_byte (self->pdev, PCI_COMMAND, &command); in toshoboe_disablebm() 296 pci_write_config_byte (self->pdev, PCI_COMMAND, command); in toshoboe_disablebm() [all …]
|
D | irda-usb.c | 109 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); 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 …]
|
D | ali-ircc.c | 104 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); 116 static irqreturn_t ali_ircc_sir_interrupt(struct ali_ircc_cb *self); 117 static void ali_ircc_sir_receive(struct ali_ircc_cb *self); 118 static void ali_ircc_sir_write_wakeup(struct ali_ircc_cb *self); 126 static irqreturn_t ali_ircc_fir_interrupt(struct ali_ircc_cb *self); 127 static int ali_ircc_dma_receive(struct ali_ircc_cb *self); 128 static int ali_ircc_dma_receive_complete(struct ali_ircc_cb *self); 129 static int ali_ircc_dma_xmit_complete(struct ali_ircc_cb *self); [all …]
|
D | via-ircc.c | 81 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); 285 struct via_ircc_cb *self; in via_ircc_open() local [all …]
|
D | w83977af_ir.c | 88 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); 153 struct w83977af_ir *self; in w83977af_open() local 178 self = netdev_priv(dev); in w83977af_open() 179 spin_lock_init(&self->lock); in w83977af_open() 183 self->io.fir_base = iobase; in w83977af_open() [all …]
|
D | sh_sir.c | 127 static void sh_sir_write(struct sh_sir_self *self, u32 offset, u16 data) in sh_sir_write() argument 129 iowrite16(data, self->membase + offset); in sh_sir_write() 132 static u16 sh_sir_read(struct sh_sir_self *self, u32 offset) in sh_sir_read() argument 134 return ioread16(self->membase + offset); in sh_sir_read() 137 static void sh_sir_update_bits(struct sh_sir_self *self, u32 offset, in sh_sir_update_bits() argument 142 old = sh_sir_read(self, offset); in sh_sir_update_bits() 145 sh_sir_write(self, offset, new); in sh_sir_update_bits() 155 static void sh_sir_crc_reset(struct sh_sir_self *self) in sh_sir_crc_reset() argument 157 sh_sir_write(self, IRIF_CRC0, CRC_RST); in sh_sir_crc_reset() 160 static void sh_sir_crc_add(struct sh_sir_self *self, u8 data) in sh_sir_crc_add() argument [all …]
|
D | nsc-ircc.c | 172 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); 366 struct nsc_ircc_cb *self; in nsc_ircc_open() local 396 self = netdev_priv(dev); in nsc_ircc_open() 397 self->netdev = dev; in nsc_ircc_open() [all …]
|
D | smsc-ircc2.c | 188 static void smsc_ircc_setup_io(struct smsc_ircc_cb *self, unsigned int fir_base, unsigned int sir_b… 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, u32 speed); [all …]
|
D | bfin_sir.c | 168 struct bfin_sir_self *self = netdev_priv(dev); in bfin_sir_is_receiving() local 169 struct bfin_sir_port *port = self->sir_port; in bfin_sir_is_receiving() 173 return self->rx_buff.state != OUTSIDE_FRAME; in bfin_sir_is_receiving() 180 struct bfin_sir_self *self = netdev_priv(dev); in bfin_sir_tx_chars() local 181 struct bfin_sir_port *port = self->sir_port; in bfin_sir_tx_chars() 183 if (self->tx_buff.len != 0) { in bfin_sir_tx_chars() 184 chr = *(self->tx_buff.data); in bfin_sir_tx_chars() 186 self->tx_buff.data++; in bfin_sir_tx_chars() 187 self->tx_buff.len--; in bfin_sir_tx_chars() 189 self->stats.tx_packets++; in bfin_sir_tx_chars() [all …]
|
/drivers/net/wireless/st/cw1200/ |
D | cw1200_sdio.c | 68 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument 72 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio() 75 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio() argument 79 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio() 82 static void cw1200_sdio_lock(struct hwbus_priv *self) in cw1200_sdio_lock() argument 84 sdio_claim_host(self->func); in cw1200_sdio_lock() 87 static void cw1200_sdio_unlock(struct hwbus_priv *self) in cw1200_sdio_unlock() argument 89 sdio_release_host(self->func); in cw1200_sdio_unlock() 94 struct hwbus_priv *self = sdio_get_drvdata(func); in cw1200_sdio_irq_handler() local 97 if (self->core) in cw1200_sdio_irq_handler() [all …]
|
D | cw1200_spi.c | 60 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument 92 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio() 99 ret = spi_sync(self->func, &m); in cw1200_spi_memcpy_fromio() 115 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio() 126 static int cw1200_spi_memcpy_toio(struct hwbus_priv *self, in cw1200_spi_memcpy_toio() argument 157 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_toio() 179 rval = spi_sync(self->func, &m); in cw1200_spi_memcpy_toio() 187 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_toio() 197 static void cw1200_spi_lock(struct hwbus_priv *self) in cw1200_spi_lock() argument 205 add_wait_queue(&self->wq, &wait); in cw1200_spi_lock() [all …]
|
D | hwbus.h | 23 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);
|
/drivers/crypto/qat/qat_c3xxx/ |
D | adf_c3xxx_hw_data.c | 75 static u32 get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 79 if (!self || !self->accel_mask) in get_num_accels() 83 if (self->accel_mask & (1 << i)) in get_num_accels() 89 static u32 get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 93 if (!self || !self->ae_mask) in get_num_aes() 97 if (self->ae_mask & (1 << i)) in get_num_aes() 103 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 108 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 113 static u32 get_sram_bar_id(struct adf_hw_device_data *self) in get_sram_bar_id() argument 118 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument [all …]
|
/drivers/crypto/qat/qat_c62x/ |
D | adf_c62x_hw_data.c | 80 static u32 get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 84 if (!self || !self->accel_mask) in get_num_accels() 88 if (self->accel_mask & (1 << i)) in get_num_accels() 94 static u32 get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 98 if (!self || !self->ae_mask) in get_num_aes() 102 if (self->ae_mask & (1 << i)) in get_num_aes() 108 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 113 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 118 static u32 get_sram_bar_id(struct adf_hw_device_data *self) in get_sram_bar_id() argument 123 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument [all …]
|
/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 82 static uint32_t get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 86 if (!self || !self->accel_mask) in get_num_accels() 90 if (self->accel_mask & (1 << i)) in get_num_accels() 96 static uint32_t get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 100 if (!self || !self->ae_mask) in get_num_aes() 104 if (self->ae_mask & (1 << i)) in get_num_aes() 110 static uint32_t get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 115 static uint32_t get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 120 static uint32_t get_sram_bar_id(struct adf_hw_device_data *self) in get_sram_bar_id() argument 125 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument [all …]
|
/drivers/usb/core/ |
D | hcd.c | 464 s = hcd->self.bus_name; in rh_string() 553 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 561 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 566 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 568 device_set_wakeup_enable(&hcd->self.root_hub->dev, 1); in rh_call_control() 623 if (device_can_wakeup(&hcd->self.root_hub->dev)) in rh_call_control() 647 dev_dbg (hcd->self.controller, "root hub device address %d\n", in rh_call_control() 663 dev_dbg (hcd->self.controller, "no endpoint features yet\n"); in rh_call_control() 694 usb_hub_adjust_deviceremovable(hcd->self.root_hub, in rh_call_control() 705 dev_dbg (hcd->self.controller, in rh_call_control() [all …]
|
/drivers/pci/hotplug/ |
D | sgi_hotplug.c | 248 dev_dbg(&slot->pci_bus->self->dev, "is already active\n"); in sn_slot_enable() 253 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message: %s", in sn_slot_enable() 259 dev_dbg(&slot->pci_bus->self->dev, "insert failed with error %d sub-error %d\n", in sn_slot_enable() 284 dev_dbg(&slot->pci_bus->self->dev, "Slot %s already inactive\n", slot->physical_path); in sn_slot_disable() 289 dev_dbg(&slot->pci_bus->self->dev, "Cannot remove last 33MHz card\n"); in sn_slot_disable() 294 dev_dbg(&slot->pci_bus->self->dev, "L1 failure %d with message \n%s\n", in sn_slot_disable() 300 dev_dbg(&slot->pci_bus->self->dev, "remove failed with error %d sub-error %d\n", in sn_slot_disable() 311 dev_dbg(&slot->pci_bus->self->dev, "remove successful\n"); in sn_slot_disable() 316 dev_dbg(&slot->pci_bus->self->dev, "remove failed rc = %d\n", rc); in sn_slot_disable() 369 dev_dbg(&slot->pci_bus->self->dev, "no device in slot\n"); in enable_slot() [all …]
|
/drivers/usb/host/ |
D | ehci-xilinx-of.c | 52 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); in ehci_xilinx_port_handed_over() 54 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 57 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 60 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 62 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 65 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 197 device_wakeup_enable(hcd->self.controller); in ehci_hcd_xilinx_of_probe()
|
D | ohci-s3c2410.c | 54 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info() 121 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data() 172 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 190 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_s3c2410_hub_control() 199 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 210 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 219 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_control() 244 dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", in ohci_s3c2410_hub_control() 262 dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", in ohci_s3c2410_hub_control() 270 dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); in ohci_s3c2410_hub_control() [all …]
|
D | ohci-at91.c | 219 board = hcd->self.controller->platform_data; in usb_hcd_at91_probe() 232 device_wakeup_enable(hcd->self.controller); in usb_hcd_at91_probe() 295 struct at91_usbh_data *pdata = hcd->self.controller->platform_data; in ohci_at91_hub_status_data() 338 struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller); in ohci_at91_hub_control() 344 dev_dbg(hcd->self.controller, in ohci_at91_hub_control() 354 dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); in ohci_at91_hub_control() 363 dev_dbg(hcd->self.controller, "SetPortFeat: SUSPEND\n"); in ohci_at91_hub_control() 376 dev_dbg(hcd->self.controller, in ohci_at91_hub_control() 387 dev_dbg(hcd->self.controller, in ohci_at91_hub_control() 396 dev_dbg(hcd->self.controller, in ohci_at91_hub_control() [all …]
|
D | sl811-hcd.c | 99 dev_dbg(hcd->self.controller, "power %s\n", in port_power() 101 sl811->board->port_power(hcd->self.controller, is_on); in port_power() 106 sl811->board->reset(hcd->self.controller); in port_power() 282 dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq on\n"); in sofirq_on() 290 dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq off\n"); in sofirq_off() 338 dev_dbg(sl811_to_hcd(sl811)->self.controller, in start() 392 dev_dbg(sl811_to_hcd(sl811)->self.controller, in start() 449 dev_dbg(sl811_to_hcd(sl811)->self.controller, in finish_request() 463 sl811_to_hcd(sl811)->self.bandwidth_allocated in finish_request() 596 dev_dbg(sl811_to_hcd(sl811)->self.controller, in checkdone() [all …]
|
/drivers/soc/fsl/qbman/ |
D | Kconfig | 29 tristate "BMan self-tests" 31 Compile the BMan self-test code. These tests will 36 bool "High-level API self-test" 45 tristate "QMan self-tests" 47 Compile self-test code for QMan. 50 bool "QMan high-level self-test" 59 bool "QMan 'hot potato' data-stashing self-test"
|
/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_c3xxxvf_hw_data.c | 68 static u32 get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 73 static u32 get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 78 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 83 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 88 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument
|
/drivers/crypto/qat/qat_c62xvf/ |
D | adf_c62xvf_hw_data.c | 68 static u32 get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 73 static u32 get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 78 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 83 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 88 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument
|
/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_dh895xccvf_hw_data.c | 68 static u32 get_num_accels(struct adf_hw_device_data *self) in get_num_accels() argument 73 static u32 get_num_aes(struct adf_hw_device_data *self) in get_num_aes() argument 78 static u32 get_misc_bar_id(struct adf_hw_device_data *self) in get_misc_bar_id() argument 83 static u32 get_etr_bar_id(struct adf_hw_device_data *self) in get_etr_bar_id() argument 88 static enum dev_sku_info get_sku(struct adf_hw_device_data *self) in get_sku() argument
|