Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 7732) sorted by relevance

12345678910>>...310

/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lcn.c101 if (dev->phy.rev == 1) { in b43_radio_2064_channel_setup()
243 if (!(dev->dev->bus_sprom->boardflags_lo & B43_BFL_FEM)) in b43_phy_lcn_rev0_baseband_init()
246 if (dev->dev->bus_sprom->boardflags_lo & B43_BFL_FEM) { in b43_phy_lcn_rev0_baseband_init()
277 if (dev->dev->bus_sprom->board_rev >= 0x1204) in b43_phy_lcn_bu_tweaks()
338 b43_mac_suspend(dev); in b43_phy_lcn_sense_setup()
417 b43_mac_enable(dev); in b43_phy_lcn_sense_setup()
535 b43_mac_suspend(dev); in b43_phy_lcn_tx_pwr_ctl_init()
558 b43_mac_enable(dev); in b43_phy_lcn_tx_pwr_ctl_init()
589 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_set_channel_tweaks()
700 struct bcma_drv_cc *cc = &dev->dev->bdev->bus->drv_cc; in b43_phy_lcn_op_init()
[all …]
H A Dwa.c302 struct ssb_sprom *sprom = dev->dev->bus_sprom; in b43_wa_boards_g()
305 if (dev->dev->board_vendor != SSB_BOARDVENDOR_BCM || in b43_wa_boards_g()
306 dev->dev->board_type != SSB_BOARD_BU4306 || in b43_wa_boards_g()
307 dev->dev->board_rev != 0x17) { in b43_wa_boards_g()
343 b43_wa_fft(dev); in b43_wa_all()
344 b43_wa_nft(dev); in b43_wa_all()
345 b43_wa_rt(dev); in b43_wa_all()
346 b43_wa_nst(dev); in b43_wa_all()
347 b43_wa_art(dev); in b43_wa_all()
359 b43_wa_nft(dev); in b43_wa_all()
[all …]
H A Dphy_n.c513 if (dev->dev->core_rev == 16) in b43_nphy_classifier()
523 if (dev->dev->core_rev == 16) in b43_nphy_classifier()
4058 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_tx_power_ctl_setup()
4075 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_tx_power_ctl_setup()
4159 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_tx_power_ctl_setup()
4180 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_tx_power_ctl_setup()
5874 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_op_recalc_txpower()
5880 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_op_recalc_txpower()
5946 switch (dev->dev->bus_type) { in b43_nphy_superswitch_init()
6206 switch (dev->dev->bus_type) { in b43_nphy_pmu_spur_avoid()
[all …]
H A Dphy_common.c79 dev->phy.ops->free(dev); in b43_phy_free()
141 return dev->phy.ops->supports_hwpctl(dev); in b43_has_hardware_pctl()
185 B43_WARN_ON(dev->dev->core_rev < 3); in b43_phy_lock()
197 B43_WARN_ON(dev->dev->core_rev < 3); in b43_phy_unlock()
225 if (b43_bus_host_is_pci(dev->dev) && in b43_radio_write()
272 return dev->phy.ops->phy_read(dev, reg); in b43_phy_read()
281 if (b43_bus_host_is_pci(dev->dev) && in b43_phy_write()
336 switch (dev->dev->bus_type) { in b43_phy_put_into_reset()
375 switch (dev->dev->bus_type) { in b43_phy_take_out_of_reset()
476 dev->phy.ops->adjust_txpower(dev); in b43_phy_txpower_adjust_work()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_checkptrw.c35 dev->internal_start_block, dev->internal_end_block); in yaffs_checkpt_erase()
53 dev->param.bad_block_fn(dev, i); in yaffs_checkpt_erase()
71 dev->n_erased_blocks, dev->param.n_reserved_blocks, in yaffs2_checkpt_find_erased_block()
104 dev->blocks_in_checkpt, dev->checkpt_next_block); in yaffs2_checkpt_find_block()
106 if (dev->blocks_in_checkpt < dev->checkpt_max_blocks) in yaffs2_checkpt_find_block()
112 dev->param.read_chunk_tags_fn(dev, realigned_chunk, in yaffs2_checkpt_find_block()
123 dev->checkpt_block_list[dev-> in yaffs2_checkpt_find_block()
165 dev->checkpt_next_block = dev->internal_start_block; in yaffs2_checkpt_open()
175 dev->checkpt_byte_offs = dev->data_bytes_per_chunk; in yaffs2_checkpt_open()
325 dev->param.read_chunk_tags_fn(dev, in yaffs2_checkpt_rd()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c81 if (dev->dev->id.revision < 3) { in b43legacy_phy_lock()
96 if (dev->dev->id.revision < 3) { in b43legacy_phy_unlock()
145 (dev->dev->bus->boardinfo.type == 0x0416)) in b43legacy_phy_init_pctl()
775 if (dev->dev->bus->sprom.boardflags_lo & in b43legacy_phy_initb6()
1054 if (dev->dev->bus->sprom.boardflags_lo & in b43legacy_phy_initg()
1090 if (dev->dev->bus->chip_id == 0x4306 in b43legacy_phy_initg()
1091 && dev->dev->bus->chip_package == 2) { in b43legacy_phy_initg()
1817 max_pwr = dev->dev->bus->sprom.maxpwr_bg; in b43legacy_phy_xmitpower()
1819 if ((dev->dev->bus->sprom.boardflags_lo in b43legacy_phy_xmitpower()
1980 pab0 = (s16)(dev->dev->bus->sprom.pa0b0); in b43legacy_phy_init_tssi2dbm_table()
[all …]
H A Dradio.c814 if (!(dev->dev->bus->sprom.boardflags_lo & in b43legacy_calc_nrssi_threshold()
844 !(dev->dev->bus->sprom.boardflags_lo & in b43legacy_calc_nrssi_threshold()
1537 !(dev->dev->bus->sprom.boardflags_lo in b43legacy_radio_init2050()
1948 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation()
1951 dev->dev->bus->boardinfo.type == 0x416) in b43legacy_default_radio_attenuation()
1958 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation()
1968 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation()
1971 dev->dev->bus->boardinfo.type == in b43legacy_default_radio_attenuation()
1974 else if (dev->dev->bus->chip_id == 0x4320) in b43legacy_default_radio_attenuation()
2001 dev->dev->bus->boardinfo.type == 0x421) { in b43legacy_default_radio_attenuation()
[all …]
/openbmc/linux/drivers/media/rc/
H A Dene_ir.c183 dev->r_pointer = dev->w_pointer; in ene_rx_setup_hw_buffer()
202 dev->buffer_len = dev->extra_buf1_len + dev->extra_buf2_len + 8; in ene_rx_setup_hw_buffer()
223 if (dev->r_pointer > dev->buffer_len) in ene_rx_setup_hw_buffer()
266 dev->w_pointer, dev->r_pointer); in ene_rx_read_hw_pointer()
274 if (dev->r_pointer == dev->w_pointer) { in ene_rx_get_sample_reg()
279 if (dev->r_pointer == dev->w_pointer) { in ene_rx_get_sample_reg()
288 if (dev->r_pointer == dev->buffer_len) in ene_rx_get_sample_reg()
622 if (dev->tx_pos == dev->tx_len) { in ene_tx_sample()
655 dev->tx_reg = !dev->tx_reg; in ene_tx_sample()
795 dev->r_pointer = dev->w_pointer; in ene_isr()
[all …]
/openbmc/linux/net/nfc/
H A Dcore.c39 device_lock(&dev->dev); in nfc_fw_download()
62 device_unlock(&dev->dev); in nfc_fw_download()
95 device_lock(&dev->dev); in nfc_dev_up()
128 device_unlock(&dev->dev); in nfc_dev_up()
143 device_lock(&dev->dev); in nfc_dev_down()
161 dev->ops->dev_down(dev); in nfc_dev_down()
208 device_lock(&dev->dev); in nfc_start_poll()
247 device_lock(&dev->dev); in nfc_stop_poll()
292 device_lock(&dev->dev); in nfc_dep_link_up()
1075 dev_set_name(&dev->dev, "nfc%d", dev->idx); in nfc_allocate_device()
[all …]
/openbmc/linux/drivers/misc/mei/
H A Dinit.c148 memset(dev->rd_msg_hdr, 0, sizeof(dev->rd_msg_hdr)); in mei_reset()
151 dev_err(dev->dev, "hw_reset failed ret = %d\n", ret); in mei_reset()
156 dev_dbg(dev->dev, "powering down: end of reset\n"); in mei_reset()
171 dev_dbg(dev->dev, "wrong state = %d on link start\n", dev->dev_state); in mei_reset()
217 dev_err(dev->dev, "reset failed ret = %d", ret); in mei_start()
223 dev_err(dev->dev, "HBM haven't started"); in mei_start()
228 dev_dbg(dev->dev, "MEI start failed.\n"); in mei_start()
265 dev_err(dev->dev, "device disabled = %d\n", err); in mei_restart()
294 dev_err(dev->dev, "device disabled = %d\n", ret); in mei_reset_work()
305 dev_dbg(dev->dev, "stopping the device.\n"); in mei_stop()
[all …]
H A Dhbm.c352 dev_err(dev->dev, in mei_hbm_capabilities_req()
444 dev_dbg(dev->dev, "adding client response\n"); in mei_hbm_add_cl_resp()
1104 pm_request_resume(dev->dev); in mei_hbm_pg_resume()
1325 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1370 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1413 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1481 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1524 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1543 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
1577 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-designware-master.c64 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master()
79 dev->ss_hcnt, dev->ss_lcnt); in i2c_dw_set_timings_master()
92 dev->fs_hcnt = dev->fp_hcnt; in i2c_dw_set_timings_master()
93 dev->fs_lcnt = dev->fp_lcnt; in i2c_dw_set_timings_master()
157 dev->hs_hcnt, dev->hs_lcnt); in i2c_dw_set_timings_master()
477 dev_err(dev->dev, in i2c_dw_xfer_msg()
675 pm_runtime_get_sync(dev->dev); in i2c_dw_xfer()
763 dev_err(dev->dev, in i2c_dw_xfer()
1062 ret = dev->init(dev); in i2c_dw_probe_master()
1071 adap->dev.parent = dev->dev; in i2c_dw_probe_master()
[all …]
H A Di2c-at91-master.c100 dev_warn(dev->dev, in at91_calc_twi_clock()
115 dev_warn(dev->dev, in at91_calc_twi_clock()
169 dev_dbg(dev->dev, "wrote 0x%x, to go %zu\n", *dev->buf, dev->buf_len); in at91_twi_write_next_byte()
178 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_write_data_dma_callback()
207 dma_addr = dma_map_single(dev->dev, dev->buf, dev->buf_len, in at91_twi_write_data_dma()
295 dev->buf_len += *dev->buf; in at91_twi_read_next_byte()
310 dev_dbg(dev->dev, "read 0x%x, to go %zu\n", *dev->buf, dev->buf_len); in at91_twi_read_next_byte()
320 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_read_data_dma_callback()
325 dev->buf += dev->buf_len - 2; in at91_twi_read_data_dma_callback()
890 dev_name(dev->dev), dev); in at91_twi_probe_master()
[all …]
H A Di2c-davinci.c271 dev_dbg(dev->dev, "PSC = %d\n", in i2c_davinci_init()
273 dev_dbg(dev->dev, "CLKL = %d\n", in i2c_davinci_init()
275 dev_dbg(dev->dev, "CLKH = %d\n", in i2c_davinci_init()
770 dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL); in davinci_i2c_probe()
776 dev->dev = &pdev->dev; in davinci_i2c_probe()
815 pm_runtime_enable(dev->dev); in davinci_i2c_probe()
844 adap->dev.parent = &pdev->dev; in davinci_i2c_probe()
878 pm_runtime_put_sync(dev->dev); in davinci_i2c_probe()
880 pm_runtime_disable(dev->dev); in davinci_i2c_probe()
901 pm_runtime_put_sync(dev->dev); in davinci_i2c_remove()
[all …]
/openbmc/linux/drivers/base/power/
H A Druntime.c26 if (dev->pm_domain) in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
32 else if (dev->bus && dev->bus->pm) in __rpm_get_callback()
42 if (!cb && dev->driver && dev->driver->pm) in __rpm_get_callback()
238 dev = dev->parent; in pm_runtime_set_memalloc_noio()
361 __releases(&dev->power.lock) __acquires(&dev->power.lock) in __rpm_callback()
559 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_suspend()
845 if (dev->power.no_callbacks && !parent && dev->parent) { in rpm_resume()
1006 rpm_suspend(dev, dev->power.timer_autosuspends ? in pm_suspend_timer_fn()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c296 t = &bbp_mode_table[dev->temp_mode][dev->bw]; in mt7601u_load_bbp_temp_table_bw()
319 t[dev->bw].regs, t[dev->bw].n); in mt7601u_bbp_temp()
700 dev_dbg(dev->dev, in mt7601u_tssi_dc_gain_cal()
739 dev_dbg(dev->dev, "Recalibrate DPD\n"); in mt7601u_temp_comp()
864 dev_dbg(dev->dev, in mt7601u_tssi_params_get()
962 dev->agc_save = mt7601u_bbp_rr(dev, 66); in mt7601u_agc_save()
967 mt7601u_bbp_wr(dev, 66, dev->agc_save); in mt7601u_agc_restore()
1011 dev->raw_temp = mt7601u_read_temp(dev); in mt7601u_phy_calibrate()
1113 dev->freq_cal.freq = dev->ee->rf_freq_off; in mt7601u_phy_con_cal_onoff()
1128 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal()
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c48 return dev->std_cap[dev->input]; in vivid_get_std_cap()
157 v4l2_rect_intersect(&dev->loop_vid_copy, &dev->crop_cap, &dev->compose_out); in vivid_precalc_copy_rects()
159 dev->loop_vid_out = dev->loop_vid_copy; in vivid_precalc_copy_rects()
160 v4l2_rect_scale(&dev->loop_vid_out, &dev->compose_out, &dev->crop_out); in vivid_precalc_copy_rects()
164 dev->loop_vid_cap = dev->loop_vid_copy; in vivid_precalc_copy_rects()
165 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects()
186 dev->loop_fb_copy.left -= dev->compose_out.left - dev->overlay_out_left; in vivid_precalc_copy_rects()
187 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects()
475 dev->src_rect.width, dev->src_rect.height, dev->input); in vivid_fillbuff()
688 dev->time_wrap_offset = dev->time_wrap - dev->cap_stream_start; in vivid_thread_vid_cap()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c146 dev_dbg(dev->dev, in cx231xx_afe_init_super_block()
155 dev_dbg(dev->dev, in cx231xx_afe_init_super_block()
162 dev_dbg(dev->dev, in cx231xx_afe_init_super_block()
644 dev_err(dev->dev, in cx231xx_set_decoder_video_input()
1382 dev_dbg(dev->dev,
1387 dev_dbg(dev->dev,
1392 dev_dbg(dev->dev,
1397 dev_dbg(dev->dev,
1403 dev_dbg(dev->dev,
1408 dev_dbg(dev->dev,
[all …]
/openbmc/linux/drivers/usb/misc/
H A Dadutux.c170 dev_dbg(&dev->udev->dev, in adu_interrupt_in_callback()
214 dev_dbg(&dev->udev->dev, in adu_interrupt_out_callback()
377 dev_dbg(&dev->udev->dev, in adu_read()
397 dev_dbg(&dev->udev->dev, in adu_read()
412 dev_dbg(&dev->udev->dev, in adu_read()
417 dev_dbg(&dev->udev->dev, in adu_read()
458 dev_dbg(&dev->udev->dev, in adu_read()
465 dev_dbg(&dev->udev->dev, in adu_read()
550 dev_dbg(&dev->udev->dev, in adu_write()
562 dev_dbg(&dev->udev->dev, in adu_write()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c896 pci_set_drvdata(dev->pdev, dev); in mlx5_pci_init()
925 dev->iseg_base = dev->bar_addr; in mlx5_pci_init()
926 dev->iseg = ioremap(dev->iseg_base, sizeof(*dev->iseg)); in mlx5_pci_init()
1000 dev->vxlan = mlx5_vxlan_create(dev); in mlx5_init_once()
1001 dev->geneve = mlx5_geneve_create(dev); in mlx5_init_once()
1057 dev->dm = mlx5_dm_create(dev); in mlx5_init_once()
1062 dev->hv_vhca = mlx5_hv_vhca_create(dev); in mlx5_init_once()
1300 dev->priv.uar = mlx5_get_uars_page(dev); in mlx5_load()
1411 mlx5_put_uars_page(dev, dev->priv.uar); in mlx5_load()
1435 mlx5_put_uars_page(dev, dev->priv.uar); in mlx5_unload()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dr852.c148 if (dev->phys_dma_addr && dev->phys_dma_addr != dev->phys_bounce_buffer) in r852_dma_done()
149 dma_unmap_single(&dev->pci_dev->dev, dev->phys_dma_addr, in r852_dma_done()
196 dev->phys_dma_addr = dma_map_single(&dev->pci_dev->dev, buf, in r852_do_dma()
199 if (dma_mapping_error(&dev->pci_dev->dev, dev->phys_dma_addr)) in r852_do_dma()
342 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl()
349 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_cmdctl()
416 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_ecc_hwctl()
454 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_ecc_calculate()
481 r852_write_reg(dev, R852_CTL, dev->ctlreg); in r852_ecc_correct()
635 mtd->dev.parent = &dev->pci_dev->dev; in r852_register_nand_device()
[all …]
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.c245 0, dev_name(dev->dev), dev); in cedrus_hw_probe()
266 dev->ahb_clk = devm_clk_get(dev->dev, "ahb"); in cedrus_hw_probe()
274 dev->mod_clk = devm_clk_get(dev->dev, "mod"); in cedrus_hw_probe()
282 dev->ram_clk = devm_clk_get(dev->dev, "ram"); in cedrus_hw_probe()
290 dev->rstc = devm_reset_control_get(dev->dev, NULL); in cedrus_hw_probe()
313 pm_runtime_enable(dev->dev); in cedrus_hw_probe()
323 pm_runtime_disable(dev->dev); in cedrus_hw_probe()
325 sunxi_sram_release(dev->dev); in cedrus_hw_probe()
334 pm_runtime_disable(dev->dev); in cedrus_hw_remove()
336 cedrus_hw_suspend(dev->dev); in cedrus_hw_remove()
[all …]
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c757 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
939 dev->mdio_instance : dev, in emac_mdio_read()
1251 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1296 free_irq(dev->emac_irq, dev); in emac_open()
1411 free_irq(dev->emac_irq, dev); in emac_close()
2291 dev->cell_index, dev->ofdev->dev.of_node); in emac_ethtool_get_drvinfo()
2609 dev->mii_bus = devm_mdiobus_alloc(&dev->ofdev->dev); in emac_dt_mdio_probe()
2616 dev->mii_bus->parent = dev->ndev->dev.parent; in emac_dt_mdio_probe()
2636 dev->phy.def = devm_kzalloc(&dev->ofdev->dev, sizeof(*dev->phy.def), in emac_dt_phy_connect()
2687 dev->phy.dev = ndev; in emac_init_phy()
[all …]
/openbmc/linux/drivers/base/
H A Ddd.c428 dev->driver->coredump(dev); in coredump_store()
556 dev->pm_domain->dismiss(dev); in device_unbind_cleanup()
567 dev->bus->remove(dev); in device_remove()
569 dev->driver->remove(dev); in device_remove()
577 ret = dev->bus->probe(dev); in call_driver_probe()
697 dev->bus->dma_cleanup(dev); in really_probe()
706 dev->pm_domain->sync(dev); in really_probe()
721 dev->bus->dma_cleanup(dev); in really_probe()
968 .dev = dev, in __device_attach_async_helper()
1022 .dev = dev, in __device_attach()
[all …]
/openbmc/qemu/hw/pci/
H A Dmsix.c48 return dev->msix_prepare_message(dev, vector); in msix_get_message()
117 dev->msix_vector_release_notifier(dev, vector); in msix_fire_vector_notifier()
175 dev->msix_function_masked = !msix_enabled(dev) || msix_masked(dev); in msix_update_function_masked()
190 trace_msix_write_config(dev->name, msix_enabled(dev), msix_masked(dev)); in msix_write_config()
374 memory_region_init_io(&dev->msix_table_mmio, OBJECT(dev), &msix_table_mmio_ops, dev, in msix_init()
377 memory_region_init_io(&dev->msix_pba_mmio, OBJECT(dev), &msix_pba_mmio_ops, dev, in msix_init()
474 msix_uninit(dev, &dev->msix_exclusive_bar, &dev->msix_exclusive_bar); in msix_uninit_exclusive_bar()
551 dev->config[dev->msix_cap + MSIX_CONTROL_OFFSET] &= in msix_reset()
555 msix_mask_all(dev, dev->msix_entries_nr); in msix_reset()
615 dev->msix_vector_release_notifier(dev, vector); in msix_unset_notifier_for_vector()
[all …]

12345678910>>...310