Home
last modified time | relevance | path

Searched refs:dev (Results 651 – 675 of 25775) sorted by relevance

1...<<21222324252627282930>>...1031

/openbmc/linux/drivers/net/ethernet/i825xx/
H A D82596.c679 CA(dev); in init_i596_mem()
729 CA(dev); in init_i596_mem()
923 CA(dev); in i596_reset()
958 CA(dev); in i596_add_cmd()
1016 free_irq(dev->irq, dev); in i596_open()
1136 if (!dev) in i82596_probe()
1191 dev->ml_priv = (void *)(dev->mem_start); in i82596_probe()
1380 CA(dev); in i596_interrupt()
1402 CA(dev); in i596_close()
1431 free_irq(dev->irq, dev); in i596_close()
[all …]
/openbmc/linux/drivers/net/wireless/admtek/
H A Dadm8211.c575 wiphy_debug(dev->wiphy, in adm8211_write_bbp()
610 wiphy_debug(dev->wiphy, in adm8211_write_bbp()
1135 adm8211_set_rate(dev); in adm8211_hw_init()
1529 adm8211_hw_init(dev); in adm8211_start()
1830 if (!dev) { in adm8211_probe()
1836 priv = dev->priv; in adm8211_probe()
1841 SET_IEEE80211_DEV(dev, &pdev->dev); in adm8211_probe()
1941 ieee80211_free_hw(dev); in adm8211_probe()
1957 if (!dev) in adm8211_remove()
1962 priv = dev->priv; in adm8211_remove()
[all …]
/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-mips64el-cross.docker32 libglib2.0-dev \
33 libgtk-vnc-2.0-dev \
34 libpcre2-dev \
35 libsndio-dev \
36 libspice-protocol-dev \
84 libaio-dev:mips64el \
87 libbpf-dev:mips64el \
89 libbz2-dev:mips64el \
90 libc6-dev:mips64el \
97 libfdt-dev:mips64el \
[all …]
/openbmc/linux/drivers/media/radio/
H A Dradio-miropcm20.c278 f->frequency = dev->freq; in vidioc_g_frequency()
292 pcm20_setfreq(dev, dev->freq); in vidioc_s_frequency()
310 struct pcm20 *dev = data; in pcm20_thread() local
387 dev->kthread = kthread_run(pcm20_thread, dev, "%s", in pcm20_open()
404 dev->kthread = NULL; in pcm20_release()
440 if (dev->aci == NULL) { in pcm20_init()
446 mutex_init(&dev->lock); in pcm20_init()
476 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); in pcm20_init()
481 dev->vdev.lock = &dev->lock; in pcm20_init()
484 video_set_drvdata(&dev->vdev, dev); in pcm20_init()
[all …]
/openbmc/linux/net/sched/
H A Dsch_teql.c175 if (dev->hard_header_len > m->dev->hard_header_len) in teql_qdisc_init()
178 if (m->dev == dev) in teql_qdisc_init()
193 dev->mtu < m->dev->mtu) in teql_qdisc_init()
202 if (dev->mtu < m->dev->mtu) in teql_qdisc_init()
203 m->dev->mtu = dev->mtu; in teql_qdisc_init()
210 m->dev->mtu = dev->mtu; in teql_qdisc_init()
211 m->dev->flags = (m->dev->flags&~FMASK)|(dev->flags&FMASK); in teql_qdisc_init()
229 if (dst->dev != dev) { in __teql_resolve()
392 m->dev->flags = (m->dev->flags&~FMASK) | flags; in teql_master_open()
444 master->dev = dev; in teql_master_setup()
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dinit.c55 INIT_LIST_HEAD(&dev->cl_list); in ishtp_device_init()
56 INIT_LIST_HEAD(&dev->device_list); in ishtp_device_init()
57 dev->rd_msg_fifo_head = 0; in ishtp_device_init()
58 dev->rd_msg_fifo_tail = 0; in ishtp_device_init()
63 spin_lock_init(&dev->device_lock); in ishtp_device_init()
65 spin_lock_init(&dev->cl_list_lock); in ishtp_device_init()
70 dev->open_handle_count = 0; in ishtp_device_init()
77 INIT_LIST_HEAD(&dev->read_list.list); in ishtp_device_init()
92 if (ishtp_hbm_start_wait(dev)) { in ishtp_start()
98 ishtp_query_subscribers(dev); in ishtp_start()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Damplc_dio200_common.c97 if (dev->mmio) in dio200_read8()
110 if (dev->mmio) in dio200_write8()
124 if (dev->mmio) in dio200_read32()
137 if (dev->mmio) in dio200_write32()
151 if (dev->mmio) in dio200_subdev_8254_offset()
339 dio200_stop_intr(dev, s); in dio200_subdev_intr_cancel()
463 if (!dev->attached) in dio200_interrupt()
558 if (dev->mmio) { in dio200_subdev_8254_init()
811 dev->read_subdev = s; in amplc_dio200_common_attach()
832 dev->board_name, dev) >= 0) { in amplc_dio200_common_attach()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_device.c690 if (!dev) in target_alloc_device()
741 dev->t10_wwn.t10_dev = dev; in target_alloc_device()
747 dev->t10_alua.t10_dev = dev; in target_alloc_device()
749 dev->dev_attrib.da_dev = dev; in target_alloc_device()
793 return dev; in target_alloc_device()
922 ret = dev->transport->configure_device(dev); in target_configure_device()
927 dev->transport->configure_unmap(dev)) { in target_configure_device()
967 dev->transport->destroy_device(dev); in target_configure_device()
984 dev->transport->destroy_device(dev); in target_free_device()
1001 dev->transport->free_prot(dev); in target_free_device()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Ddma.c54 addr = dma_map_single(dev->dma_dev, txwi, dev->drv->txwi_size, in mt76_alloc_txwi()
161 dma_unmap_single(dev->dma_dev, t->dma_addr, dev->drv->txwi_size, in mt76_free_pending_txwi()
710 q->entry = devm_kzalloc(dev->dev, size, GFP_KERNEL); in mt76_dma_alloc_queue()
799 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_add_fragment()
858 !(dev->drv->rx_check(dev, data, len))) in mt76_dma_rx_process()
878 dev->drv->rx_skb(dev, q - dev->q_rx, skb, &info); in mt76_dma_rx_process()
894 dev = container_of(napi->dev, struct mt76_dev, napi_dev); in mt76_dma_rx_poll()
908 dev->drv->rx_poll_complete(dev, qid); in mt76_dma_rx_poll()
929 netif_napi_add(&dev->napi_dev, &dev->napi[i], poll); in mt76_dma_init()
930 mt76_dma_rx_fill(dev, &dev->q_rx[i], false); in mt76_dma_init()
[all …]
/openbmc/linux/sound/isa/wavefront/
H A Dwavefront_synth.c949 dev->freemem = wavefront_freemem (dev); in wavefront_send_sample()
1744 dev->irq_ok = 1; in snd_wavefront_internal_interrupt()
1745 dev->irq_cnt++; in snd_wavefront_internal_interrupt()
1800 dev->irq_ok = 0; in wavefront_should_cause_interrupt()
1972 err = request_firmware(&firmware, path, dev->card->dev); in wavefront_download_firmware()
2052 dev->israw = 0; in wavefront_do_reset()
2093 dev->freemem = wavefront_freemem(dev); in wavefront_do_reset()
2102 dev->debug = 0; in wavefront_do_reset()
2149 dev->has_fx = (snd_wavefront_fx_detect (dev) == 0); in snd_wavefront_start()
2178 dev->israw = 0; in snd_wavefront_detect()
[all …]
/openbmc/linux/drivers/input/
H A Dsparse-keymap.c116 if (dev->keycode) { in sparse_keymap_getkeycode()
138 if (dev->keycode) { in sparse_keymap_setkeycode()
179 map = devm_kmemdup(&dev->dev, keymap, map_size * sizeof(*map), in sparse_keymap_setup()
188 error = setup(dev, entry); in sparse_keymap_setup()
201 __set_bit(EV_SW, dev->evbit); in sparse_keymap_setup()
209 __set_bit(EV_MSC, dev->evbit); in sparse_keymap_setup()
213 dev->keycode = map; in sparse_keymap_setup()
214 dev->keycodemax = map_size; in sparse_keymap_setup()
241 input_sync(dev); in sparse_keymap_report_entry()
244 input_sync(dev); in sparse_keymap_report_entry()
[all …]
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-vbi.c90 saa_writel(SAA7134_RS_BA2(2), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
94 saa_writel(SAA7134_RS_BA2(3), base + dev->vbi_hlen * dev->vbi_vlen); in buffer_activate()
108 struct saa7134_dev *dev = dmaq->dev; in buffer_prepare() local
118 size = dev->vbi_hlen * dev->vbi_vlen * 2; in buffer_prepare()
133 struct saa7134_dev *dev = dmaq->dev; in queue_setup() local
136 dev->vbi_vlen = dev->tvnorm->vbi_v_stop_0 - dev->tvnorm->vbi_v_start_0 + 1; in queue_setup()
140 size = dev->vbi_hlen * dev->vbi_vlen * 2; in queue_setup()
176 dev->vbi_q.dev = dev; in saa7134_vbi_init1()
195 if (dev->vbi_q.curr) { in saa7134_irq_vbi_done()
204 saa7134_buffer_finish(dev, &dev->vbi_q, VB2_BUF_STATE_DONE); in saa7134_irq_vbi_done()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_catas.c61 struct mthca_dev *dev, *tmpdev; in catas_reset() local
94 event.device = &dev->ib_dev; in handle_catas()
97 dev->active = false; in handle_catas()
135 struct mthca_dev *dev = from_timer(dev, t, catas_err.timer); in poll_catas() local
140 handle_catas(dev); in poll_catas()
153 dev->catas_err.map = NULL; in mthca_start_catas_poll()
157 dev->catas_err.addr); in mthca_start_catas_poll()
159 dev->catas_err.map = ioremap(addr, dev->catas_err.size * 4); in mthca_start_catas_poll()
160 if (!dev->catas_err.map) { in mthca_start_catas_poll()
176 if (dev->catas_err.map) in mthca_stop_catas_poll()
[all …]
/openbmc/linux/drivers/cxl/core/
H A Dport.c423 if (dev_WARN_ONCE(dev, !is_root_decoder(dev), in to_cxl_root_decoder()
654 dev = &port->dev; in cxl_port_alloc()
659 dev->parent = &parent_port->dev; in cxl_port_alloc()
760 dev = &port->dev; in __devm_cxl_add_port()
1243 if (dev && dev->parent) in grandparent()
1278 struct device *dev = &cxlmd->dev; in cxl_endpoint_autoremove() local
1476 struct device *dev = &cxlmd->dev; in devm_cxl_enumerate_ports() local
1640 dev = &cxld->dev; in cxl_decoder_init()
1644 dev->parent = &port->dev; in cxl_decoder_init()
1829 dev = &cxld->dev; in cxl_decoder_add_locked()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-cmd.c16 mutex_lock(&dev->lock); in saa7164_cmd_alloc_seqno()
19 dev->cmds[i].inuse = 1; in saa7164_cmd_alloc_seqno()
21 dev->cmds[i].timeout = 0; in saa7164_cmd_alloc_seqno()
22 ret = dev->cmds[i].seqno; in saa7164_cmd_alloc_seqno()
26 mutex_unlock(&dev->lock); in saa7164_cmd_alloc_seqno()
33 mutex_lock(&dev->lock); in saa7164_cmd_free_seqno()
40 mutex_unlock(&dev->lock); in saa7164_cmd_free_seqno()
45 mutex_lock(&dev->lock); in saa7164_cmd_timeout_seqno()
50 mutex_unlock(&dev->lock); in saa7164_cmd_timeout_seqno()
57 mutex_lock(&dev->lock); in saa7164_cmd_timeout_get()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmcu.c125 if (is_mt7628(dev)) { in mt7603_load_firmware()
137 ret = request_firmware(&fw, firmware, dev->mt76.dev); in mt7603_load_firmware()
142 dev_err(dev->mt76.dev, "Invalid firmware\n"); in mt7603_load_firmware()
150 dev_info(dev->mt76.dev, "Firmware Version: %.10s\n", hdr->fw_ver); in mt7603_load_firmware()
151 dev_info(dev->mt76.dev, "Build Time: %.15s\n", hdr->build_date); in mt7603_load_firmware()
164 dev_info(dev->mt76.dev, "Firmware already running...\n"); in mt7603_load_firmware()
177 dev_err(dev->mt76.dev, "Download request failed\n"); in mt7603_load_firmware()
184 dev_err(dev->mt76.dev, "Failed to send firmware to device\n"); in mt7603_load_firmware()
190 dev_err(dev->mt76.dev, "Failed to start firmware\n"); in mt7603_load_firmware()
195 dev_err(dev->mt76.dev, "Timeout waiting for firmware to initialize\n"); in mt7603_load_firmware()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dtxx9ndfmc.c85 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in ndregaddr()
134 struct platform_device *dev = txx9_priv->dev; in txx9ndfmc_cmd_ctrl() local
135 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_cmd_ctrl()
235 dev_err(&dev->dev, "reset failed.\n"); in txx9ndfmc_initialize()
287 drvdata = devm_kzalloc(&dev->dev, sizeof(*drvdata), GFP_KERNEL); in txx9ndfmc_probe()
306 dev_info(&dev->dev, "CLK:%ldMHz HOLD:%d SPW:%d\n", in txx9ndfmc_probe()
328 mtd->dev.parent = &dev->dev; in txx9ndfmc_probe()
339 txx9_priv->dev = dev; in txx9ndfmc_probe()
344 dev_name(&dev->dev), i); in txx9ndfmc_probe()
347 txx9_priv->mtdname = kstrdup(dev_name(&dev->dev), in txx9ndfmc_probe()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dcoredump.c91 switch (mt76_chip(&dev->mt76)) { in mt7915_coredump_get_mem_layout()
151 count = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_state()
175 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()
180 irq = mt76_rr(dev, base + 0x8); in mt7915_coredump_fw_trace()
181 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()
186 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()
194 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()
208 n = is_mt7915(&dev->mt76) ? in mt7915_coredump_fw_trace()
325 mutex_lock(&dev->dump_mutex); in mt7915_coredump_build()
365 dev_warn(dev->mt76.dev, "no crash dump data found\n"); in mt7915_coredump_submit()
[all …]
H A Dmac.c1121 struct mt7915_dev *dev = phy->dev; in mt7915_mac_cca_stats_reset() local
1130 struct mt7915_dev *dev = phy->dev; in mt7915_mac_reset_counters() local
1151 struct mt7915_dev *dev = phy->dev; in mt7915_mac_set_timing() local
1226 struct mt7915_dev *dev = phy->dev; in mt7915_phy_get_nf() local
1686 dev_info(dev->mt76.dev, in mt7915_reset()
1702 struct mt7915_dev *dev = phy->dev; in mt7915_mac_update_stats() local
1932 struct mt7915_dev *dev = phy->dev; in mt7915_mac_severe_check() local
2023 struct mt7915_dev *dev = phy->dev; in mt7915_dfs_stop_radar_detector() local
2069 struct mt7915_dev *dev = phy->dev; in mt7915_dfs_start_radar_detector() local
2103 struct mt7915_dev *dev = phy->dev; in mt7915_dfs_init_radar_specs() local
[all …]
/openbmc/linux/drivers/xen/xen-pciback/
H A Dconf_space_header.c71 dev_dbg(&dev->dev, "enable\n"); in command_write()
78 dev_dbg(&dev->dev, "disable\n"); in command_write()
85 dev_dbg(&dev->dev, "set bus master\n"); in command_write()
88 dev_dbg(&dev->dev, "clear bus master\n"); in command_write()
94 dev_dbg(&dev->dev, "enable memory-write-invalidate\n"); in command_write()
97 dev_warn(&dev->dev, "cannot enable memory-write-invalidate (%d)\n", in command_write()
103 dev_dbg(&dev->dev, "disable memory-write-invalidate\n"); in command_write()
132 dev_warn(&dev->dev, "driver data not found\n"); in rom_write()
168 dev_warn(&dev->dev, "driver data not found\n"); in bar_write()
201 dev_warn(&dev->dev, "driver data not found\n"); in bar_read()
[all …]
/openbmc/linux/drivers/scsi/
H A Dps3rom.c67 struct ps3_storage_device *dev = priv->dev; in ps3rom_slave_configure() local
117 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request()
169 dev->regions[dev->region_idx].id, start_sector, in ps3rom_read_request()
170 sectors, 0, dev->bounce_lpar, &dev->tag); in ps3rom_read_request()
189 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_write_request()
192 dev->regions[dev->region_idx].id, start_sector, in ps3rom_write_request()
193 sectors, 0, dev->bounce_lpar, &dev->tag); in ps3rom_write_request()
206 struct ps3_storage_device *dev = priv->dev; in ps3rom_queuecommand_lck() local
275 if (tag != dev->tag) in ps3rom_interrupt()
355 if (!dev->bounce_buf) in ps3rom_probe()
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-radio-rx.c44 if (dev->radio_rx_rds_owner && in vivid_radio_rx_read()
46 mutex_unlock(&dev->mutex); in vivid_radio_rx_read()
50 vivid_radio_rds_init(dev); in vivid_radio_rx_read()
63 vivid_radio_rds_init(dev); in vivid_radio_rx_read()
74 if (blk == dev->radio_rx_rds_last_block || !dev->radio_rx_rds_enabled || in vivid_radio_rx_read()
75 (dev->radio_rds_loop && !(dev->radio_tx_subchans & V4L2_TUNER_SUB_RDS)) || in vivid_radio_rx_read()
77 mutex_unlock(&dev->mutex); in vivid_radio_rx_read()
96 vivid_radio_rds_init(dev); in vivid_radio_rx_read()
127 mutex_unlock(&dev->mutex); in vivid_radio_rx_read()
256 else if (dev->radio_rds_loop && !(dev->radio_tx_subchans & V4L2_TUNER_SUB_STEREO)) in vivid_radio_rx_g_tuner()
[all …]
/openbmc/linux/drivers/iio/dac/
H A Dstm32-dac-core.c89 struct device *dev = &pdev->dev; in stm32_dac_probe() local
97 if (!dev->of_node) in stm32_dac_probe()
106 of_match_device(dev->driver->of_match_table, dev)->data; in stm32_dac_probe()
126 pm_runtime_get_noresume(dev); in stm32_dac_probe()
127 pm_runtime_set_active(dev); in stm32_dac_probe()
128 pm_runtime_enable(dev); in stm32_dac_probe()
166 ret = of_platform_populate(pdev->dev.of_node, NULL, NULL, dev); in stm32_dac_probe()
172 pm_runtime_put(dev); in stm32_dac_probe()
177 stm32_dac_core_hw_stop(dev); in stm32_dac_probe()
179 pm_runtime_disable(dev); in stm32_dac_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91c92_cs.c311 if (!dev) in smc91c92_probe()
324 smc->mii_if.dev = dev; in smc91c92_probe()
750 smc_reset(dev); in smc91c92_resume()
919 SET_NETDEV_DEV(dev, &link->dev); in smc91c92_config()
927 name, (rev & 0x0f), dev->base_addr, dev->irq, dev->dev_addr); in smc91c92_config()
1056 dev->name, dev, inw(dev->base_addr + BANK_SELECT)); in smc_open()
1600 smc_reset(dev); in s9k_config()
1665 smc_set_xcvr(dev, dev->if_port); in smc_reset()
1674 outw((dev->dev_addr[i+1]<<8)+dev->dev_addr[i], in smc_reset()
1717 struct net_device *dev = smc->mii_if.dev; in media_check() local
[all …]
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local
63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local
202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local
347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local
357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local
366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local
380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local
511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local
521 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v5() local
530 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v5() local
[all …]

1...<<21222324252627282930>>...1031