/linux/drivers/net/wireless/broadcom/b43/ |
A D | phy_lcn.c | 101 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 …]
|
A D | wa.c | 302 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 …]
|
A D | phy_n.c | 513 if (dev->dev->core_rev == 16) in b43_nphy_classifier() 523 if (dev->dev->core_rev == 16) in b43_nphy_classifier() 4062 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_tx_power_ctl_setup() 4079 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_tx_power_ctl_setup() 4163 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_tx_power_ctl_setup() 4184 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_tx_power_ctl_setup() 5878 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) { in b43_nphy_op_recalc_txpower() 5884 if (dev->dev->core_rev == 11 || dev->dev->core_rev == 12) in b43_nphy_op_recalc_txpower() 5950 switch (dev->dev->bus_type) { in b43_nphy_superswitch_init() 6210 switch (dev->dev->bus_type) { in b43_nphy_pmu_spur_avoid() [all …]
|
A D | phy_g.c | 1599 b43_hf_write(dev, b43_hf_read(dev) in b43_phy_initb6() 2096 if ((dev->dev->chip_id == 0x4306 in b43_phy_initg() 2097 && dev->dev->chip_pkg == 2) || 0) { in b43_phy_initg() 2113 if (dev->dev->bus_sprom->country_code == in b43_gphy_channel_switch() 2144 struct b43_bus_dev *bdev = dev->dev; in default_radio_attenuation() 2151 if (dev->dev->board_rev < 0x43) { in default_radio_attenuation() 2154 } else if (dev->dev->board_rev < 0x51) { in default_radio_attenuation() 2387 pab0 = (s16) (dev->dev->bus_sprom->pa0b0); in b43_gphy_init_tssi2dbm_table() 2402 (s8) (dev->dev->bus_sprom->itssi_bg); in b43_gphy_init_tssi2dbm_table() 2843 } else if (dev->dev->bus_sprom-> in b43_gphy_op_adjust_txpower() [all …]
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
A D | phy.c | 81 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 …]
|
A D | radio.c | 814 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() 1965 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation() 1968 dev->dev->bus->boardinfo.type == 0x416) in b43legacy_default_radio_attenuation() 1975 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation() 1985 dev->dev->bus->sprom.board_rev >= 30) in b43legacy_default_radio_attenuation() 1988 dev->dev->bus->boardinfo.type == in b43legacy_default_radio_attenuation() 1991 else if (dev->dev->bus->chip_id == 0x4320) in b43legacy_default_radio_attenuation() 2018 dev->dev->bus->boardinfo.type == 0x421) { in b43legacy_default_radio_attenuation() [all …]
|
/linux/net/nfc/ |
A D | core.c | 39 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 …]
|
/linux/drivers/media/rc/ |
A D | ene_ir.c | 183 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 …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-at91-master.c | 101 dev_warn(dev->dev, in at91_calc_twi_clock() 116 dev_warn(dev->dev, in at91_calc_twi_clock() 170 dev_dbg(dev->dev, "wrote 0x%x, to go %zu\n", *dev->buf, dev->buf_len); in at91_twi_write_next_byte() 179 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_write_data_dma_callback() 208 dma_addr = dma_map_single(dev->dev, dev->buf, dev->buf_len, in at91_twi_write_data_dma() 296 dev->buf_len += *dev->buf; in at91_twi_read_next_byte() 311 dev_dbg(dev->dev, "read 0x%x, to go %zu\n", *dev->buf, dev->buf_len); in at91_twi_read_next_byte() 321 dma_unmap_single(dev->dev, sg_dma_address(&dev->dma.sg[0]), in at91_twi_read_data_dma_callback() 326 dev->buf += dev->buf_len - 2; in at91_twi_read_data_dma_callback() 876 dev_name(dev->dev), dev); in at91_twi_probe_master() [all …]
|
A D | i2c-designware-master.c | 63 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master() 78 dev->ss_hcnt, dev->ss_lcnt); in i2c_dw_set_timings_master() 91 dev->fs_hcnt = dev->fp_hcnt; in i2c_dw_set_timings_master() 92 dev->fs_lcnt = dev->fp_lcnt; in i2c_dw_set_timings_master() 156 dev->hs_hcnt, dev->hs_lcnt); in i2c_dw_set_timings_master() 386 dev_err(dev->dev, in i2c_dw_xfer_msg() 558 pm_runtime_get_sync(dev->dev); in i2c_dw_xfer() 635 dev_err(dev->dev, in i2c_dw_xfer() 884 ret = dev->init(dev); in i2c_dw_probe_master() 893 adap->dev.parent = dev->dev; in i2c_dw_probe_master() [all …]
|
A D | i2c-davinci.c | 271 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() 545 pm_runtime_put_noidle(dev->dev); in i2c_davinci_xfer() 783 dev->dev = &pdev->dev; in davinci_i2c_probe() 822 pm_runtime_enable(dev->dev); in davinci_i2c_probe() 852 adap->dev.parent = &pdev->dev; in davinci_i2c_probe() 886 pm_runtime_put_sync(dev->dev); in davinci_i2c_probe() 887 pm_runtime_disable(dev->dev); in davinci_i2c_probe() 910 pm_runtime_put_sync(dev->dev); in davinci_i2c_remove() [all …]
|
/linux/drivers/char/pcmcia/ |
A D | cm4000_cs.c | 147 #define ZERO_DEV(dev) memset(&((dev)->init), 0, sizeof((dev)->init)) argument 344 dev->ta1 = dev->atr[2]; in parse_atr() 384 dev->atr_csum ^= dev->atr[i]; in parse_atr() 427 dev->flags1 = dev->flags1 | (((dev->baudv - 1) & 0x0100) >> 8); in set_cardparameter() 478 dev->pts[2] = fi_di_table[dev->ta1 & 0x0F][(dev->ta1 >> 4) & 0x0F]; in set_protocol() 481 dev->pts[3] = dev->pts[0] ^ dev->pts[1] ^ dev->pts[2]; in set_protocol() 484 dev->pts[0], dev->pts[1], dev->pts[2], dev->pts[3]); in set_protocol() 681 dev->atr_csum = dev->atr_len_retry = dev->cwarn = 0; in monitor_card() 709 dev->atr_csum = dev->atr_len_retry = dev->cwarn = 0; in monitor_card() 1013 if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) { in cmm_read() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | main.c | 759 pci_set_drvdata(dev->pdev, dev); in mlx5_pci_init() 788 dev->iseg_base = dev->bar_addr; in mlx5_pci_init() 789 dev->iseg = ioremap(dev->iseg_base, sizeof(*dev->iseg)); in mlx5_pci_init() 866 dev->vxlan = mlx5_vxlan_create(dev); in mlx5_init_once() 867 dev->geneve = mlx5_geneve_create(dev); in mlx5_init_once() 917 dev->dm = mlx5_dm_create(dev); in mlx5_init_once() 922 dev->hv_vhca = mlx5_hv_vhca_create(dev); in mlx5_init_once() 1117 dev->priv.uar = mlx5_get_uars_page(dev); in mlx5_load() 1232 mlx5_put_uars_page(dev, dev->priv.uar); in mlx5_load() 1256 mlx5_put_uars_page(dev, dev->priv.uar); in mlx5_unload() [all …]
|
/linux/drivers/media/usb/cx231xx/ |
A D | cx231xx-avcore.c | 146 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 …]
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
A D | phy.c | 296 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() 1110 dev->freq_cal.freq = dev->ee->rf_freq_off; in mt7601u_phy_con_cal_onoff() 1125 dev->curr_temp = (dev->raw_temp - dev->ee->ref_temp) * in mt7601u_init_cal() [all …]
|
/linux/drivers/base/power/ |
A D | runtime.c | 26 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() 346 __releases(&dev->power.lock) __acquires(&dev->power.lock) in __rpm_callback() 533 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_suspend() 736 __releases(&dev->power.lock) __acquires(&dev->power.lock) in rpm_resume() 814 if (dev->power.no_callbacks && !parent && dev->parent) { in rpm_resume() [all …]
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | core.c | 756 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset() 938 dev->mdio_instance : dev, in emac_mdio_read() 1250 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open() 1295 free_irq(dev->emac_irq, dev); in emac_open() 1410 free_irq(dev->emac_irq, dev); in emac_close() 2287 dev->cell_index, dev->ofdev->dev.of_node); in emac_ethtool_get_drvinfo() 2605 dev->mii_bus = devm_mdiobus_alloc(&dev->ofdev->dev); in emac_dt_mdio_probe() 2612 dev->mii_bus->parent = dev->ndev->dev.parent; in emac_dt_mdio_probe() 2632 dev->phy.def = devm_kzalloc(&dev->ofdev->dev, sizeof(*dev->phy.def), in emac_dt_phy_connect() 2683 dev->phy.dev = ndev; in emac_init_phy() [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-kthread-cap.c | 47 return dev->std_cap[dev->input]; in vivid_get_std_cap() 177 v4l2_rect_intersect(&dev->loop_vid_copy, &dev->crop_cap, &dev->compose_out); in vivid_precalc_copy_rects() 179 dev->loop_vid_out = dev->loop_vid_copy; in vivid_precalc_copy_rects() 180 v4l2_rect_scale(&dev->loop_vid_out, &dev->compose_out, &dev->crop_out); in vivid_precalc_copy_rects() 184 dev->loop_vid_cap = dev->loop_vid_copy; in vivid_precalc_copy_rects() 185 v4l2_rect_scale(&dev->loop_vid_cap, &dev->crop_cap, &dev->compose_cap); in vivid_precalc_copy_rects() 206 dev->loop_fb_copy.left -= dev->compose_out.left - dev->overlay_out_left; in vivid_precalc_copy_rects() 207 dev->loop_fb_copy.top -= dev->compose_out.top - dev->overlay_out_top; in vivid_precalc_copy_rects() 253 bool blend = dev->bitmap_out || dev->clipcount_out || dev->fbuf_out_flags; in vivid_copy_buffer() 495 dev->src_rect.width, dev->src_rect.height, dev->input); in vivid_fillbuff() [all …]
|
/linux/drivers/misc/mei/ |
A D | hbm.c | 348 dev_err(dev->dev, in mei_hbm_capabilities_req() 440 dev_dbg(dev->dev, "adding client response\n"); in mei_hbm_add_cl_resp() 1092 pm_request_resume(dev->dev); in mei_hbm_pg_resume() 1307 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1351 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1391 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1459 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1502 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1521 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() 1555 dev->dev_state, dev->hbm_state); in mei_hbm_dispatch() [all …]
|
A D | init.c | 144 memset(dev->rd_msg_hdr, 0, sizeof(dev->rd_msg_hdr)); in mei_reset() 152 dev_dbg(dev->dev, "powering down: end of reset\n"); in mei_reset() 205 dev_err(dev->dev, "reset failed ret = %d", ret); in mei_start() 211 dev_err(dev->dev, "HBM haven't started"); in mei_start() 216 dev_err(dev->dev, "host is not ready.\n"); in mei_start() 221 dev_err(dev->dev, "ME is not ready.\n"); in mei_start() 226 dev_dbg(dev->dev, "MEI start failed.\n"); in mei_start() 263 dev_err(dev->dev, "device disabled = %d\n", err); in mei_restart() 292 dev_err(dev->dev, "device disabled = %d\n", ret); in mei_reset_work() 303 dev_dbg(dev->dev, "stopping the device.\n"); in mei_stop() [all …]
|
A D | hw-me.c | 103 trace_mei_reg_read(dev->dev, "H_CSR", H_CSR, reg); in mei_hcsr_read() 116 trace_mei_reg_write(dev->dev, "H_CSR", H_CSR, reg); in mei_hcsr_write() 441 dev_err(dev->dev, "wait hw ready failed\n"); in mei_me_hw_ready_wait() 462 dev_dbg(dev->dev, "hw is ready\n"); in mei_me_hw_start() 888 dev_dbg(dev->dev, "d0i3 set not needed\n"); in mei_me_d0i3_enter_sync() 969 dev_dbg(dev->dev, "d0i3 enter\n"); in mei_me_d0i3_enter() 992 dev_dbg(dev->dev, "d0i3 exit not needed\n"); in mei_me_d0i3_exit_sync() 1082 dev_dbg(dev->dev, "d0i3 want resume\n"); in mei_me_d0i3_intr() 1160 pm_runtime_set_active(dev->dev); in mei_me_hw_reset() 1276 dev_dbg(dev->dev, "Spurious Interrupt\n"); in mei_me_irq_thread_handler() [all …]
|
/linux/drivers/base/ |
A D | dd.c | 408 dev->driver->coredump(dev); in coredump_store() 515 ret = dev->bus->probe(dev); in call_driver_probe() 627 dev->bus->remove(dev); in really_probe() 636 dev->pm_domain->dismiss(dev); in really_probe() 645 dev->pm_domain->sync(dev); in really_probe() 656 dev->bus->remove(dev); in really_probe() 673 dev->pm_domain->dismiss(dev); in really_probe() 869 struct device *dev = data->dev; in __device_attach_driver() local 908 .dev = dev, in __device_attach_async_helper() 961 .dev = dev, in __device_attach() [all …]
|
/linux/drivers/usb/misc/ |
A D | adutux.c | 170 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 …]
|
/linux/drivers/mtd/nand/raw/ |
A D | r852.c | 148 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 …]
|
/linux/include/linux/ |
A D | pm_runtime.h | 87 dev->power.ignore_children = enable; in pm_suspend_ignore_children() 96 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume() 125 && !dev->power.disable_depth; in pm_runtime_suspended() 143 || dev->power.disable_depth; in pm_runtime_active() 174 return !dev->power.disable_depth; in pm_runtime_enabled() 186 return dev->power.no_callbacks; in pm_runtime_has_no_callbacks() 211 return dev->power.irq_safe; in pm_runtime_is_irq_safe() 299 return __pm_runtime_idle(dev, 0); in pm_runtime_idle() 410 pm_runtime_put_noidle(dev); in pm_runtime_resume_and_get() 438 return __pm_runtime_suspend(dev, in pm_runtime_put_autosuspend() [all …]
|