Home
last modified time | relevance | path

Searched defs:dev (Results 926 – 950 of 15975) sorted by relevance

1...<<31323334353637383940>>...639

/openbmc/linux/drivers/misc/mei/
H A Dgsc-me.c26 static int mei_gsc_read_hfs(const struct mei_device *dev, int where, u32 *val) in mei_gsc_read_hfs()
50 struct mei_device *dev; in mei_gsc_probe() local
143 struct mei_device *dev; in mei_gsc_remove() local
169 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_suspend() local
183 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_resume() local
212 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_idle() local
224 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_suspend() local
251 struct mei_device *dev = dev_get_drvdata(device); in mei_gsc_pm_runtime_resume() local
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c442 void mlx4_init_quotas(struct mlx4_dev *dev) in mlx4_init_quotas()
475 mlx4_calc_res_counter_guaranteed(struct mlx4_dev *dev, in mlx4_calc_res_counter_guaranteed()
501 int mlx4_init_resource_tracker(struct mlx4_dev *dev) in mlx4_init_resource_tracker()
655 void mlx4_free_resource_tracker(struct mlx4_dev *dev, in mlx4_free_resource_tracker()
749 static int update_vport_qp_param(struct mlx4_dev *dev, in update_vport_qp_param()
847 static int mpt_mask(struct mlx4_dev *dev) in mpt_mask()
931 #define get_res(dev, slave, res_id, type, res) \ argument
1781 static int fw_reserved(struct mlx4_dev *dev, int qpn) in fw_reserved()
5053 int mlx4_bond_fs_rules(struct mlx4_dev *dev) in mlx4_bond_fs_rules()
5058 int mlx4_unbond_fs_rules(struct mlx4_dev *dev) in mlx4_unbond_fs_rules()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c38 #define BNXT_NVM_ERR_MSG(dev, extack, msg) \ argument
45 static u32 bnxt_get_msglevel(struct net_device *dev) in bnxt_get_msglevel()
59 static int bnxt_get_coalesce(struct net_device *dev, in bnxt_get_coalesce()
97 static int bnxt_set_coalesce(struct net_device *dev, in bnxt_set_coalesce()
900 static int bnxt_set_channels(struct net_device *dev, in bnxt_set_channels()
1295 u32 bnxt_get_rxfh_indir_size(struct net_device *dev) in bnxt_get_rxfh_indir_size()
2149 static u32 bnxt_get_link(struct net_device *dev) in bnxt_get_link()
3029 static int bnxt_get_eeprom(struct net_device *dev, in bnxt_get_eeprom()
3064 static int bnxt_set_eeprom(struct net_device *dev, in bnxt_set_eeprom()
3364 static int bnxt_nway_reset(struct net_device *dev) in bnxt_nway_reset()
[all …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c717 struct cx231xx *dev = priv; in cx231xx_mbox_func() local
1220 struct cx231xx *dev = vb2_get_drv_priv(vq); in queue_setup() local
1470 struct cx231xx *dev = video_drvdata(file); in vidioc_g_pixelaspect() local
1485 struct cx231xx *dev = video_drvdata(file); in vidioc_g_selection() local
1506 struct cx231xx *dev = video_drvdata(file); in vidioc_g_std() local
1514 struct cx231xx *dev = video_drvdata(file); in vidioc_s_std() local
1546 struct cx231xx *dev = video_drvdata(file); in vidioc_s_ctrl() local
1571 struct cx231xx *dev = video_drvdata(file); in vidioc_g_fmt_vid_cap() local
1590 struct cx231xx *dev = video_drvdata(file); in vidioc_try_fmt_vid_cap() local
1606 struct cx231xx *dev = video_drvdata(file); in vidioc_log_status() local
[all …]
/openbmc/linux/drivers/net/ethernet/davicom/
H A Ddm9000.c114 struct device *dev; /* parent device */ member
320 dm9000_phy_write(struct net_device *dev, in dm9000_phy_write()
872 dm9000_hash_table(struct net_device *dev) in dm9000_hash_table()
1087 dm9000_rx(struct net_device *dev) in dm9000_rx()
1190 struct net_device *dev = dev_id; in dm9000_interrupt() local
1240 struct net_device *dev = dev_id; in dm9000_wol_interrupt() local
1289 dm9000_open(struct net_device *dev) in dm9000_open()
1332 dm9000_shutdown(struct net_device *dev) in dm9000_shutdown()
1417 struct device *dev = &pdev->dev; in dm9000_probe() local
1724 dm9000_drv_suspend(struct device *dev) in dm9000_drv_suspend()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c172 static int dwc_vbus_supply_init(struct udevice *dev) in dwc_vbus_supply_init()
193 static int dwc_vbus_supply_exit(struct udevice *dev) in dwc_vbus_supply_exit()
209 static int dwc_vbus_supply_init(struct udevice *dev) in dwc_vbus_supply_init()
215 static int dwc_vbus_supply_exit(struct udevice *dev) in dwc_vbus_supply_exit()
234 static void dwc_otg_core_host_init(struct udevice *dev, in dwc_otg_core_host_init()
523 struct usb_device *dev, void *buffer, in dwc_otg_submit_rh_msg_in_status()
698 struct usb_device *dev, void *buffer, in dwc_otg_submit_rh_msg_in()
719 struct usb_device *dev, in dwc_otg_submit_rh_msg_out()
1130 static int dwc2_reset(struct udevice *dev) in dwc2_reset()
1320 static int dwc2_usb_probe(struct udevice *dev) in dwc2_usb_probe()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c166 static inline u64 async_mask(struct mthca_dev *dev) in async_mask()
393 struct mthca_dev *dev = dev_ptr; in mthca_tavor_interrupt() local
421 struct mthca_dev *dev = eq->dev; in mthca_tavor_msi_x_interrupt() local
433 struct mthca_dev *dev = dev_ptr; in mthca_arbel_interrupt() local
455 struct mthca_dev *dev = eq->dev; in mthca_arbel_msi_x_interrupt() local
465 static int mthca_create_eq(struct mthca_dev *dev, in mthca_create_eq()
588 static void mthca_free_eq(struct mthca_dev *dev, in mthca_free_eq()
628 static void mthca_free_irqs(struct mthca_dev *dev) in mthca_free_irqs()
642 static int mthca_map_reg(struct mthca_dev *dev, in mthca_map_reg()
760 void mthca_unmap_eq_icm(struct mthca_dev *dev) in mthca_unmap_eq_icm()
[all …]
/openbmc/linux/drivers/net/ethernet/8390/
H A Dax88796.c104 void ax_NS8390_reinit(struct net_device *dev) in ax_NS8390_reinit()
117 static int ax_initial_check(struct net_device *dev) in ax_initial_check()
146 static void ax_reset_8390(struct net_device *dev) in ax_reset_8390()
176 struct net_device *dev = dev_id; in ax_ei_interrupt_filtered() local
364 static int ax_mii_probe(struct net_device *dev) in ax_mii_probe()
459 static int ax_mii_init(struct net_device *dev) in ax_mii_init()
491 static int ax_open(struct net_device *dev) in ax_open()
540 static int ax_close(struct net_device *dev) in ax_close()
577 static void ax_get_drvinfo(struct net_device *dev, in ax_get_drvinfo()
681 static int ax_init_dev(struct net_device *dev) in ax_init_dev()
[all …]
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c133 struct peak_usb_device dev; member
213 static int pcan_usb_set_sja1000(struct peak_usb_device *dev, u8 mode) in pcan_usb_set_sja1000()
223 static int pcan_usb_set_bus(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_bus()
233 static int pcan_usb_set_silent(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_silent()
262 static int pcan_usb_set_led(struct peak_usb_device *dev, u8 onoff) in pcan_usb_set_led()
274 static int pcan_usb_set_bittiming(struct peak_usb_device *dev, in pcan_usb_set_bittiming()
323 struct peak_usb_device *dev = &pdev->dev; in pcan_usb_restart() local
842 struct peak_usb_device *dev = netdev_priv(netdev); in pcan_usb_get_berr_counter() local
854 static int pcan_usb_start(struct peak_usb_device *dev) in pcan_usb_start()
885 static int pcan_usb_init(struct peak_usb_device *dev) in pcan_usb_init()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Dds.c237 static void pcmcia_release_dev(struct device *dev) in pcmcia_release_dev()
251 static int pcmcia_device_probe(struct device *dev) in pcmcia_device_probe()
353 static void pcmcia_device_remove(struct device *dev) in pcmcia_device_remove()
800 static inline int pcmcia_devmatch(struct pcmcia_device *dev, in pcmcia_devmatch()
979 static int runtime_suspend(struct device *dev) in runtime_suspend()
989 static int runtime_resume(struct device *dev) in runtime_resume()
1033 static ssize_t resources_show(struct device *dev, in resources_show()
1132 static int pcmcia_dev_suspend(struct device *dev) in pcmcia_dev_suspend()
1177 static int pcmcia_dev_resume(struct device *dev) in pcmcia_dev_resume()
1342 static int pcmcia_bus_add_socket(struct device *dev) in pcmcia_bus_add_socket()
[all …]
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c258 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_alloc_hw_device_stats() local
267 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_alloc_hw_port_stats() local
368 struct mlx5_ib_dev *dev = to_mdev(ibdev); in do_get_hw_stats() local
430 struct mlx5_ib_dev *dev = to_mdev(ibdev); in do_get_op_stat() local
461 struct mlx5_ib_dev *dev = to_mdev(ibdev); in do_get_op_stats() local
483 struct mlx5_ib_dev *dev = to_mdev(ibdev); in mlx5_ib_get_hw_stats() local
512 struct mlx5_ib_dev *dev = to_mdev(counter->device); in mlx5_ib_counter_alloc_stats() local
544 struct mlx5_ib_dev *dev = to_mdev(qp->device); in mlx5_ib_counter_bind_qp() local
844 struct mlx5_ib_dev *dev = to_mdev(ibdev); in read_flow_counters() local
977 struct mlx5_ib_dev *dev = to_mdev(device); in mlx5_ib_modify_stat() local
[all …]
/openbmc/qemu/system/
H A Dqdev-monitor.c341 static Object *dev; in qdev_get_peripheral() local
352 static Object *dev; in qdev_get_peripheral_anon() local
384 DeviceState *dev = kid->child; in qbus_error_append_dev_list_hint() local
418 DeviceState *dev = kid->child; in qbus_find_dev() local
424 DeviceState *dev = kid->child; in qbus_find_dev() local
430 DeviceState *dev = kid->child; in qbus_find_dev() local
499 DeviceState *dev; in qbus_find() local
625 DeviceState *dev = NULL; in qdev_device_add_from_qdict() local
853 DeviceState *dev; in qmp_device_add() local
885 DeviceState *dev; in find_device_state() local
[all …]
/openbmc/u-boot/drivers/block/
H A Dide.c80 static uchar ide_wait(int dev, ulong t) in ide_wait()
149 __weak void ide_input_data_shorts(int dev, ushort *sect_buf, int shorts) in ide_input_data_shorts()
185 static uchar atapi_wait_mask(int dev, ulong t, uchar mask, uchar res) in atapi_wait_mask()
707 __weak void ide_outb(int dev, int port, unsigned char val) in ide_outb()
726 __weak unsigned char ide_inb(int dev, int port) in ide_inb()
766 int dev = in ide_init() local
839 struct udevice *dev; in ide_init() local
847 __weak void ide_input_swap_data(int dev, ulong *sect_buf, int words) in ide_input_swap_data()
901 __weak void ide_input_data(int dev, ulong *sect_buf, int words) in ide_input_data()
919 __weak void ide_input_data(int dev, ulong *sect_buf, int words) in ide_input_data()
[all …]
/openbmc/linux/drivers/input/misc/
H A Dcm109.c363 struct cm109_dev *dev = urb->context; in cm109_urb_irq_callback() local
434 struct cm109_dev *dev = urb->context; in cm109_urb_ctl_callback() local
549 struct cm109_dev *dev = input_get_drvdata(idev); in cm109_input_open() local
591 struct cm109_dev *dev = input_get_drvdata(idev); in cm109_input_close() local
611 struct cm109_dev *dev = input_get_drvdata(idev); in cm109_input_ev() local
666 static void cm109_usb_cleanup(struct cm109_dev *dev) in cm109_usb_cleanup()
693 struct cm109_dev *dev; in cm109_usb_probe() local
822 struct cm109_dev *dev = usb_get_intfdata(intf); in cm109_usb_suspend() local
835 struct cm109_dev *dev = usb_get_intfdata(intf); in cm109_usb_resume() local
848 struct cm109_dev *dev = usb_get_intfdata(intf); in cm109_usb_pre_reset() local
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dvybrid_gpio.c23 static int vybrid_gpio_direction_input(struct udevice *dev, unsigned gpio) in vybrid_gpio_direction_input()
33 static int vybrid_gpio_direction_output(struct udevice *dev, unsigned gpio, in vybrid_gpio_direction_output()
45 static int vybrid_gpio_get_value(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_value()
52 static int vybrid_gpio_set_value(struct udevice *dev, unsigned gpio, in vybrid_gpio_set_value()
64 static int vybrid_gpio_get_function(struct udevice *dev, unsigned gpio) in vybrid_gpio_get_function()
93 static int vybrid_gpio_probe(struct udevice *dev) in vybrid_gpio_probe()
107 static int vybrid_gpio_odata_to_platdata(struct udevice *dev) in vybrid_gpio_odata_to_platdata()
/openbmc/u-boot/drivers/adc/
H A Dsandbox.c27 int sandbox_adc_start_channel(struct udevice *dev, int channel) in sandbox_adc_start_channel()
41 int sandbox_adc_start_channels(struct udevice *dev, unsigned int channel_mask) in sandbox_adc_start_channels()
55 int sandbox_adc_channel_data(struct udevice *dev, int channel, in sandbox_adc_channel_data()
76 int sandbox_adc_channels_data(struct udevice *dev, unsigned int channel_mask, in sandbox_adc_channels_data()
108 int sandbox_adc_stop(struct udevice *dev) in sandbox_adc_stop()
118 int sandbox_adc_probe(struct udevice *dev) in sandbox_adc_probe()
138 int sandbox_adc_ofdata_to_platdata(struct udevice *dev) in sandbox_adc_ofdata_to_platdata()
/openbmc/linux/net/rose/
H A Drose_dev.c35 static int rose_header(struct sk_buff *skb, struct net_device *dev, in rose_header()
56 static int rose_set_mac_address(struct net_device *dev, void *addr) in rose_set_mac_address()
77 static int rose_open(struct net_device *dev) in rose_open()
90 static int rose_close(struct net_device *dev) in rose_close()
97 static netdev_tx_t rose_xmit(struct sk_buff *skb, struct net_device *dev) in rose_xmit()
129 void rose_setup(struct net_device *dev) in rose_setup()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c37 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle()
115 static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) in wait_until_ep0_ready()
178 static int wait_until_txep_ready(struct usb_device *dev, u8 ep) in wait_until_txep_ready()
210 static int wait_until_rxep_ready(struct usb_device *dev, u8 ep) in wait_until_rxep_ready()
347 static int ctrlreq_out_status_phase(struct usb_device *dev) in ctrlreq_out_status_phase()
368 static int ctrlreq_in_status_phase(struct usb_device *dev) in ctrlreq_in_status_phase()
391 static u8 get_dev_speed(struct usb_device *dev) in get_dev_speed()
401 static void config_hub_port(struct usb_device *dev, u8 ep) in config_hub_port()
457 static int musb_submit_rh_msg(struct usb_device *dev, unsigned long pipe, in musb_submit_rh_msg()
851 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe, in submit_bulk_msg()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Ddas16m1.c105 static void das16m1_ai_set_queue(struct comedi_device *dev, in das16m1_ai_set_queue()
120 static void das16m1_ai_munge(struct comedi_device *dev, in das16m1_ai_munge()
166 static int das16m1_ai_cmdtest(struct comedi_device *dev, in das16m1_ai_cmdtest()
238 static int das16m1_ai_cmd(struct comedi_device *dev, in das16m1_ai_cmd()
295 static int das16m1_ai_cancel(struct comedi_device *dev, in das16m1_ai_cancel()
308 static int das16m1_ai_eoc(struct comedi_device *dev, in das16m1_ai_eoc()
321 static int das16m1_ai_insn_read(struct comedi_device *dev, in das16m1_ai_insn_read()
435 static int das16m1_ai_poll(struct comedi_device *dev, in das16m1_ai_poll()
453 struct comedi_device *dev = d; in das16m1_interrupt() local
503 static int das16m1_attach(struct comedi_device *dev, in das16m1_attach()
[all …]
/openbmc/linux/drivers/char/hw_random/
H A Dcctrng.c87 static int cc_trng_pm_get(struct device *dev) in cc_trng_pm_get()
109 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_init() local
120 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_go() local
128 struct device *dev = &(drvdata->pdev->dev); in cc_trng_pm_fini() local
136 struct device *dev = &(drvdata->pdev->dev); in cc_trng_parse_sampling_ratio() local
165 struct device *dev = &(drvdata->pdev->dev); in cc_trng_change_rosc() local
215 struct device *dev = &(drvdata->pdev->dev); in cctrng_read() local
278 struct device *dev = &(drvdata->pdev->dev); in cc_trng_hw_trigger() local
322 struct device *dev = &(drvdata->pdev->dev); in cc_trng_compwork_handler() local
461 struct device *dev = &pdev->dev; in cctrng_probe() local
[all …]
/openbmc/linux/drivers/i3c/
H A Dmaster.c657 struct i2c_dev_desc *dev; in i3c_master_alloc_i2c_dev() local
736 struct i2c_dev_desc *dev; in i3c_master_find_i2c_dev_by_addr() local
782 struct i3c_dev_desc *dev; in i3c_master_alloc_i3c_dev() local
1383 struct i3c_dev_desc *dev) in i3c_master_attach_i3c_dev()
1458 struct i2c_dev_desc *dev) in i3c_master_attach_i2c_dev()
2046 struct device *dev = &master->dev; in of_i3c_master_add_i2c_boardinfo() local
2081 struct device *dev = &master->dev; in of_i3c_master_add_i3c_boardinfo() local
2151 struct device *dev = &master->dev; in of_populate_i3c_bus() local
2186 struct i2c_dev_desc *dev; in i3c_master_i2c_adapter_xfer() local
2278 struct i2c_dev_desc *dev; in i3c_master_i2c_detach() local
[all …]
/openbmc/linux/drivers/hwmon/
H A Dpc87360.c406 static ssize_t in_input_show(struct device *dev, in in_input_show()
429 static ssize_t in_status_show(struct device *dev, in in_status_show()
451 static ssize_t in_min_show(struct device *dev, in in_min_show()
460 static ssize_t in_min_store(struct device *dev, in in_min_store()
495 static ssize_t in_max_show(struct device *dev, in in_max_show()
504 static ssize_t in_max_store(struct device *dev, in in_max_store()
605 static ssize_t cpu0_vid_show(struct device *dev, in cpu0_vid_show()
1148 static ssize_t fan_div_show(struct device *dev, in fan_div_show()
1163 static ssize_t fan_min_show(struct device *dev, in fan_min_show()
1274 static ssize_t name_show(struct device *dev, in name_show()
[all …]
/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c204 static ssize_t p2m_timeouts_show(struct device *dev, in p2m_timeouts_show()
214 static ssize_t sdram_size_show(struct device *dev, in sdram_size_show()
224 static ssize_t tw28xx_show(struct device *dev, in tw28xx_show()
237 static ssize_t input_map_show(struct device *dev, in input_map_show()
272 static ssize_t p2m_timeout_store(struct device *dev, in p2m_timeout_store()
288 static ssize_t p2m_timeout_show(struct device *dev, in p2m_timeout_show()
298 static ssize_t intervals_show(struct device *dev, in intervals_show()
317 static ssize_t sdram_offsets_show(struct device *dev, in sdram_offsets_show()
371 struct device *dev = kobj_to_dev(kobj); in sdram_show() local
399 static void solo_device_release(struct device *dev) in solo_device_release()
[all …]
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-max.c49 static int lnb_command(struct ddb *dev, u32 link, u32 lnb, u32 cmd) in lnb_command()
72 struct ddb *dev = port->dev; in max_send_master_cmd() local
92 static int lnb_send_diseqc(struct ddb *dev, u32 link, u32 input, in lnb_send_diseqc()
117 static int lnb_set_tone(struct ddb *dev, u32 link, u32 input, in lnb_set_tone()
143 static int lnb_set_voltage(struct ddb *dev, u32 link, u32 input, in lnb_set_voltage()
174 struct ddb *dev = port->dev; in max_set_input_unlocked() local
197 struct ddb *dev = port->dev; in max_set_tone() local
235 struct ddb *dev = port->dev; in max_set_voltage() local
348 struct ddb *dev = link->dev; in mxl_fw_read() local
401 struct ddb *dev = input->port->dev; in ddb_fe_attach_mxl5xx() local
[all …]
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_attr.c67 struct device *dev = container_of(kobj,struct device,kobj); in arcmsr_sysfs_iop_message_read() local
114 struct device *dev = container_of(kobj,struct device,kobj); in arcmsr_sysfs_iop_message_write() local
258 arcmsr_attr_host_driver_version(struct device *dev, in arcmsr_attr_host_driver_version()
267 arcmsr_attr_host_driver_posted_cmd(struct device *dev, in arcmsr_attr_host_driver_posted_cmd()
279 arcmsr_attr_host_driver_reset(struct device *dev, in arcmsr_attr_host_driver_reset()
291 arcmsr_attr_host_driver_abort(struct device *dev, in arcmsr_attr_host_driver_abort()
315 arcmsr_attr_host_fw_version(struct device *dev, in arcmsr_attr_host_fw_version()
328 arcmsr_attr_host_fw_request_len(struct device *dev, in arcmsr_attr_host_fw_request_len()
341 arcmsr_attr_host_fw_numbers_queue(struct device *dev, in arcmsr_attr_host_fw_numbers_queue()
354 arcmsr_attr_host_fw_sdram_size(struct device *dev, in arcmsr_attr_host_fw_sdram_size()
[all …]

1...<<31323334353637383940>>...639