Home
last modified time | relevance | path

Searched defs:dev (Results 526 – 550 of 15975) sorted by relevance

1...<<21222324252627282930>>...639

/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c76 struct cx231xx *dev = bus->dev; in cx231xx_i2c_send_bytes() local
187 struct cx231xx *dev = bus->dev; in cx231xx_i2c_recv_bytes() local
274 struct cx231xx *dev = bus->dev; in cx231xx_i2c_recv_bytes_with_saddr() local
337 struct cx231xx *dev = bus->dev; in cx231xx_i2c_check_for_device() local
364 struct cx231xx *dev = bus->dev; in cx231xx_i2c_xfer() local
476 void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port) in cx231xx_do_i2c_scan()
516 struct cx231xx *dev = bus->dev; in cx231xx_i2c_register() local
553 struct cx231xx *dev = i2c_mux_priv(muxc); in cx231xx_i2c_mux_select() local
558 int cx231xx_i2c_mux_create(struct cx231xx *dev) in cx231xx_i2c_mux_create()
568 int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no) in cx231xx_i2c_mux_register()
[all …]
/openbmc/u-boot/drivers/serial/
H A Dserial-uclass.c76 struct udevice *dev; in serial_find_console_or_panic() local
173 static void _serial_putc(struct udevice *dev, char ch) in _serial_putc()
192 static int __serial_getc(struct udevice *dev) in __serial_getc()
206 static int __serial_tstc(struct udevice *dev) in __serial_tstc()
217 static int _serial_tstc(struct udevice *dev) in _serial_tstc()
230 static int _serial_getc(struct udevice *dev) in _serial_getc()
246 static int _serial_getc(struct udevice *dev) in _serial_getc()
251 static int _serial_tstc(struct udevice *dev) in _serial_tstc()
308 int serial_setconfig(struct udevice *dev, uint config) in serial_setconfig()
426 static int serial_post_probe(struct udevice *dev) in serial_post_probe()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dinit.c24 mt7603_set_tmac_template(struct mt7603_dev *dev) in mt7603_set_tmac_template()
40 mt7603_dma_sched_init(struct mt7603_dev *dev) in mt7603_dma_sched_init()
114 mt7603_phy_init(struct mt7603_dev *dev) in mt7603_phy_init()
133 mt7603_mac_init(struct mt7603_dev *dev) in mt7603_mac_init()
270 mt7603_init_hardware(struct mt7603_dev *dev) in mt7603_init_hardware()
336 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config() local
384 static u32 __mt7603_reg_addr(struct mt7603_dev *dev, u32 addr) in __mt7603_reg_addr()
421 struct mt7603_dev *dev = hw->priv; in mt7603_regd_notifier() local
444 mt7603_init_txpower(struct mt7603_dev *dev, in mt7603_init_txpower()
485 int mt7603_register_device(struct mt7603_dev *dev) in mt7603_register_device()
[all …]
/openbmc/linux/drivers/watchdog/
H A Darmada_37xx_wdt.c84 static u64 get_counter_value(struct armada_37xx_watchdog *dev, int id) in get_counter_value()
104 static void counter_enable(struct armada_37xx_watchdog *dev, int id) in counter_enable()
113 static void counter_disable(struct armada_37xx_watchdog *dev, int id) in counter_disable()
146 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_ping() local
157 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_get_timeleft() local
169 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_set_timeout() local
200 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_start() local
225 struct armada_37xx_watchdog *dev = watchdog_get_drvdata(wdt); in armada_37xx_wdt_stop() local
250 struct armada_37xx_watchdog *dev; in armada_37xx_wdt_probe() local
318 static int __maybe_unused armada_37xx_wdt_suspend(struct device *dev) in armada_37xx_wdt_suspend()
[all …]
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dsonic.c43 static void sonic_msg_init(struct net_device *dev) in sonic_msg_init()
53 static int sonic_alloc_descriptors(struct net_device *dev) in sonic_alloc_descriptors()
96 static int sonic_open(struct net_device *dev) in sonic_open()
177 static int sonic_close(struct net_device *dev) in sonic_close()
223 static void sonic_tx_timeout(struct net_device *dev, unsigned int txqueue) in sonic_tx_timeout()
273 static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev) in sonic_send_packet()
346 struct net_device *dev = dev_id; in sonic_interrupt() local
555 static void sonic_rx(struct net_device *dev) in sonic_rx()
639 static struct net_device_stats *sonic_get_stats(struct net_device *dev) in sonic_get_stats()
658 static void sonic_multicast_list(struct net_device *dev) in sonic_multicast_list()
[all …]
/openbmc/linux/drivers/media/rc/
H A Drc-ir-raw.c26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread() local
72 int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev) in ir_raw_event_store()
100 int ir_raw_event_store_edge(struct rc_dev *dev, bool pulse) in ir_raw_event_store_edge()
201 void ir_raw_event_set_idle(struct rc_dev *dev, bool idle) in ir_raw_event_set_idle()
227 void ir_raw_event_handle(struct rc_dev *dev) in ir_raw_event_handle()
243 static int change_protocol(struct rc_dev *dev, u64 *rc_proto) in change_protocol()
556 struct rc_dev *dev = raw->dev; in ir_raw_edge_handle() local
612 int ir_raw_event_prepare(struct rc_dev *dev) in ir_raw_event_prepare()
631 int ir_raw_event_register(struct rc_dev *dev) in ir_raw_event_register()
648 void ir_raw_event_free(struct rc_dev *dev) in ir_raw_event_free()
[all …]
/openbmc/linux/drivers/ps3/
H A Dps3-vuart.c83 struct ps3_system_bus_device *dev) in to_port_priv()
142 int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev, in ps3_vuart_get_triggers()
351 static int ps3_vuart_raw_write(struct ps3_system_bus_device *dev, in ps3_vuart_raw_write()
414 void ps3_vuart_clear_rx_bytes(struct ps3_system_bus_device *dev, in ps3_vuart_clear_rx_bytes()
598 int ps3_vuart_read(struct ps3_system_bus_device *dev, void *buf, in ps3_vuart_read()
663 struct ps3_system_bus_device *dev = in ps3_vuart_work() local
704 void ps3_vuart_cancel_async(struct ps3_system_bus_device *dev) in ps3_vuart_cancel_async()
808 struct ps3_system_bus_device *dev) in ps3_vuart_handle_interrupt_disconnect()
981 static int ps3_vuart_probe(struct ps3_system_bus_device *dev) in ps3_vuart_probe()
1087 static int ps3_vuart_cleanup(struct ps3_system_bus_device *dev) in ps3_vuart_cleanup()
[all …]
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-dvb.c79 struct cx8802_dev *dev = q->drv_priv; in queue_setup() local
122 struct cx8802_dev *dev = q->drv_priv; in start_streaming() local
133 struct cx8802_dev *dev = q->drv_priv; in stop_streaming() local
165 struct cx8802_dev *dev = fe->dvb->priv; in cx88_dvb_bus_ctrl() local
370 struct cx8802_dev *dev = fe->dvb->priv; in or51132_set_ts_param() local
383 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_pll_rf_set() local
396 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_set_ts_param() local
425 struct cx8802_dev *dev = fe->dvb->priv; in nxt200x_set_ts_param() local
439 struct cx8802_dev *dev = fe->dvb->priv; in cx24123_set_ts_param() local
448 struct cx8802_dev *dev = fe->dvb->priv; in kworld_dvbs_100_set_voltage() local
[all …]
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c271 static ssize_t lbs_mesh_show(struct device *dev, in lbs_mesh_show()
285 static ssize_t lbs_mesh_store(struct device *dev, in lbs_mesh_store()
366 static ssize_t bootflag_show(struct device *dev, in bootflag_show()
418 static ssize_t boottime_show(struct device *dev, in boottime_show()
439 static ssize_t boottime_store(struct device *dev, in boottime_store()
481 static ssize_t channel_show(struct device *dev, in channel_show()
674 static ssize_t metric_id_show(struct device *dev, in metric_id_show()
887 struct net_device *dev = priv->dev; in lbs_deinit_mesh() local
905 static int lbs_mesh_stop(struct net_device *dev) in lbs_mesh_stop()
1067 struct net_device *dev, struct rxpd *rxpd) in lbs_mesh_set_dev()
[all …]
/openbmc/linux/drivers/hwmon/
H A Dg762.c641 int (*psetter)(struct device *dev, in g762_of_prop_import_one()
727 static ssize_t fan1_input_show(struct device *dev, in fan1_input_show()
765 static ssize_t pwm1_mode_store(struct device *dev, in pwm1_mode_store()
817 static ssize_t fan1_pulses_show(struct device *dev, in fan1_pulses_show()
828 static ssize_t fan1_pulses_store(struct device *dev, in fan1_pulses_store()
859 static ssize_t pwm1_enable_show(struct device *dev, in pwm1_enable_show()
871 static ssize_t pwm1_enable_store(struct device *dev, in pwm1_enable_store()
931 static ssize_t fan1_target_show(struct device *dev, in fan1_target_show()
983 static ssize_t fan1_alarm_show(struct device *dev, in fan1_alarm_show()
1025 static inline int g762_fan_init(struct device *dev) in g762_fan_init()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c115 static void t1_set_rxmode(struct net_device *dev) in t1_set_rxmode()
243 static int cxgb_open(struct net_device *dev) in cxgb_open()
266 static int cxgb_close(struct net_device *dev) in cxgb_close()
340 static u32 get_msglevel(struct net_device *dev) in get_msglevel()
423 static int get_regs_len(struct net_device *dev) in get_regs_len()
567 static int get_link_ksettings(struct net_device *dev, in get_link_ksettings()
672 static void get_pauseparam(struct net_device *dev, in get_pauseparam()
683 static int set_pauseparam(struct net_device *dev, in set_pauseparam()
780 static int get_eeprom_len(struct net_device *dev) in get_eeprom_len()
891 static void t1_netpoll(struct net_device *dev) in t1_netpoll()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dqmi_wwan.c79 static int qmimux_open(struct net_device *dev) in qmimux_open()
92 static int qmimux_stop(struct net_device *dev) in qmimux_stop()
127 static void qmimux_setup(struct net_device *dev) in qmimux_setup()
157 static bool qmimux_has_slaves(struct usbnet *dev) in qmimux_has_slaves()
225 struct net_device *dev = to_net_dev(d); in mux_id_show() local
309 struct usbnet *dev = netdev_priv(net); in qmi_wwan_netdev_setup() local
394 struct net_device *dev = to_net_dev(d); in add_mux_show() local
679 struct usbnet *dev = usb_get_intfdata(intf); in qmi_wwan_cdc_wdm_manage_power() local
891 struct usbnet *dev = usb_get_intfdata(intf); in qmi_wwan_suspend() local
914 struct usbnet *dev = usb_get_intfdata(intf); in qmi_wwan_resume() local
[all …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_serdes.c25 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
32 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
42 static void b53_serdes_set_lane(struct b53_device *dev, u8 lane) in b53_serdes_set_lane()
54 static void b53_serdes_write(struct b53_device *dev, u8 lane, in b53_serdes_write()
61 static u16 b53_serdes_read(struct b53_device *dev, u8 lane, in b53_serdes_read()
73 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_config() local
91 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_an_restart() local
105 struct b53_device *dev = pcs_to_b53_pcs(pcs)->dev; in b53_serdes_get_state() local
139 void b53_serdes_link_set(struct b53_device *dev, int port, unsigned int mode, in b53_serdes_link_set()
165 void b53_serdes_phylink_get_caps(struct b53_device *dev, int port, in b53_serdes_phylink_get_caps()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_parport.c71 static int parport_data_reg_insn_bits(struct comedi_device *dev, in parport_data_reg_insn_bits()
84 static int parport_data_reg_insn_config(struct comedi_device *dev, in parport_data_reg_insn_config()
106 static int parport_status_reg_insn_bits(struct comedi_device *dev, in parport_status_reg_insn_bits()
116 static int parport_ctrl_reg_insn_bits(struct comedi_device *dev, in parport_ctrl_reg_insn_bits()
135 static int parport_intr_insn_bits(struct comedi_device *dev, in parport_intr_insn_bits()
144 static int parport_intr_cmdtest(struct comedi_device *dev, in parport_intr_cmdtest()
183 static int parport_intr_cmd(struct comedi_device *dev, in parport_intr_cmd()
195 static int parport_intr_cancel(struct comedi_device *dev, in parport_intr_cancel()
209 struct comedi_device *dev = d; in parport_interrupt() local
224 static int parport_attach(struct comedi_device *dev, in parport_attach()
/openbmc/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_drv.c37 static bool fsl_dcu_drm_is_volatile_reg(struct device *dev, unsigned int reg) in fsl_dcu_drm_is_volatile_reg()
53 static void fsl_dcu_irq_reset(struct drm_device *dev) in fsl_dcu_irq_reset()
63 struct drm_device *dev = arg; in fsl_dcu_drm_irq() local
82 static int fsl_dcu_irq_install(struct drm_device *dev, unsigned int irq) in fsl_dcu_irq_install()
92 static void fsl_dcu_irq_uninstall(struct drm_device *dev) in fsl_dcu_irq_uninstall()
100 static int fsl_dcu_load(struct drm_device *dev, unsigned long flags) in fsl_dcu_load()
141 static void fsl_dcu_unload(struct drm_device *dev) in fsl_dcu_unload()
168 static int fsl_dcu_drm_pm_suspend(struct device *dev) in fsl_dcu_drm_pm_suspend()
189 static int fsl_dcu_drm_pm_resume(struct device *dev) in fsl_dcu_drm_pm_resume()
248 struct device *dev = &pdev->dev; in fsl_dcu_drm_probe() local
/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dether1.c299 ether1_reset (struct net_device *dev) in ether1_reset()
306 ether1_init_2(struct net_device *dev) in ether1_init_2()
444 ether1_init_for_open (struct net_device *dev) in ether1_init_for_open()
612 ether1_txalloc (struct net_device *dev, int size) in ether1_txalloc()
637 ether1_open (struct net_device *dev) in ether1_open()
742 ether1_xmit_done (struct net_device *dev) in ether1_xmit_done()
842 ether1_recv_done (struct net_device *dev) in ether1_recv_done()
944 ether1_close (struct net_device *dev) in ether1_close()
961 ether1_setmulticastlist (struct net_device *dev) in ether1_setmulticastlist()
988 struct net_device *dev; in ether1_probe() local
[all …]
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c509.c282 struct net_device *dev; in el3_isa_match() local
406 struct net_device *dev = NULL; in el3_pnp_probe() local
562 struct net_device *dev = NULL; in el3_eisa_probe() local
612 struct net_device *dev; in el3_device_remove() local
656 el3_open(struct net_device *dev) in el3_open()
764 struct net_device *dev = dev_id; in el3_interrupt() local
907 el3_rx(struct net_device *dev) in el3_rx()
1195 el3_down(struct net_device *dev) in el3_down()
1223 el3_up(struct net_device *dev) in el3_up()
1318 struct net_device *dev; in el3_suspend() local
[all …]
/openbmc/linux/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c66 struct net_device *dev; member
147 static void dump_eth_one(struct net_device *dev) in dump_eth_one()
817 struct net_device *dev = data->dev; in tsi108_poll() local
885 static void tsi108_rx_int(struct net_device *dev) in tsi108_rx_int()
962 static void tsi108_tx_int(struct net_device *dev) in tsi108_tx_int()
988 struct net_device *dev = dev_id; in tsi108_irq() local
1076 static int tsi108_get_mac(struct net_device *dev) in tsi108_get_mac()
1272 static int tsi108_open(struct net_device *dev) in tsi108_open()
1375 static int tsi108_close(struct net_device *dev) in tsi108_close()
1540 struct net_device *dev = NULL; in tsi108_init_one() local
[all …]
/openbmc/linux/drivers/pci/
H A Dprobe.c75 struct device *dev; in no_pci_devices() local
400 struct pci_dev *dev = child->self; in pci_read_bridge_io() local
440 struct pci_dev *dev = child->self; in pci_read_bridge_mmio() local
462 struct pci_dev *dev = child->self; in pci_read_bridge_mmio_pref() local
515 struct pci_dev *dev = child->self; in pci_read_bridge_bases() local
1739 static u32 pci_class(struct pci_dev *dev) in pci_class()
2312 struct pci_dev *dev; in pci_alloc_dev() local
2426 struct pci_dev *dev; in pci_scan_device() local
2589 struct pci_dev *dev; in pci_scan_single_device() local
2677 struct pci_dev *dev; in pci_scan_slot() local
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-meta-out.c20 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_queue_setup() local
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare() local
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue() local
80 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_start_streaming() local
108 struct vivid_dev *dev = vb2_get_drv_priv(vq); in meta_out_stop_streaming() local
116 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_request_complete() local
135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_out() local
151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_out() local
162 void vivid_meta_out_process(struct vivid_dev *dev, in vivid_meta_out_process()
/openbmc/u-boot/drivers/rtc/
H A Drtc-uclass.c12 int dm_rtc_get(struct udevice *dev, struct rtc_time *time) in dm_rtc_get()
22 int dm_rtc_set(struct udevice *dev, struct rtc_time *time) in dm_rtc_set()
32 int dm_rtc_reset(struct udevice *dev) in dm_rtc_reset()
42 int rtc_read8(struct udevice *dev, unsigned int reg) in rtc_read8()
52 int rtc_write8(struct udevice *dev, unsigned int reg, int val) in rtc_write8()
62 int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep) in rtc_read16()
79 int rtc_write16(struct udevice *dev, unsigned int reg, u16 value) in rtc_write16()
92 int rtc_read32(struct udevice *dev, unsigned int reg, u32 *valuep) in rtc_read32()
109 int rtc_write32(struct udevice *dev, unsigned int reg, u32 value) in rtc_write32()
/openbmc/u-boot/arch/x86/include/asm/
H A Dpnp_def.h34 static inline void pnp_write_config(uint16_t dev, uint8_t reg, uint8_t value) in pnp_write_config()
42 static inline uint8_t pnp_read_config(uint16_t dev, uint8_t reg) in pnp_read_config()
50 static inline void pnp_set_logical_device(uint16_t dev) in pnp_set_logical_device()
57 static inline void pnp_set_enable(uint16_t dev, int enable) in pnp_set_enable()
62 static inline int pnp_read_enable(uint16_t dev) in pnp_read_enable()
67 static inline void pnp_set_iobase(uint16_t dev, uint8_t index, uint16_t iobase) in pnp_set_iobase()
73 static inline uint16_t pnp_read_iobase(uint16_t dev, uint8_t index) in pnp_read_iobase()
79 static inline void pnp_set_irq(uint16_t dev, uint8_t index, unsigned irq) in pnp_set_irq()
84 static inline void pnp_set_drq(uint16_t dev, uint8_t index, unsigned drq) in pnp_set_drq()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdns3-plat.c55 struct device *dev = &pdev->dev; in cdns3_plat_probe() local
182 struct device *dev = cdns->dev; in cdns3_plat_remove() local
195 static int cdns3_set_platform_suspend(struct device *dev, in cdns3_set_platform_suspend()
207 static int cdns3_controller_suspend(struct device *dev, pm_message_t msg) in cdns3_controller_suspend()
231 static int cdns3_controller_resume(struct device *dev, pm_message_t msg) in cdns3_controller_resume()
272 static int cdns3_plat_runtime_suspend(struct device *dev) in cdns3_plat_runtime_suspend()
277 static int cdns3_plat_runtime_resume(struct device *dev) in cdns3_plat_runtime_resume()
284 static int cdns3_plat_suspend(struct device *dev) in cdns3_plat_suspend()
301 static int cdns3_plat_resume(struct device *dev) in cdns3_plat_resume()
/openbmc/linux/drivers/base/
H A Disa.c19 struct device dev; member
26 static int isa_bus_match(struct device *dev, struct device_driver *driver) in isa_bus_match()
39 static int isa_bus_probe(struct device *dev) in isa_bus_probe()
49 static void isa_bus_remove(struct device *dev) in isa_bus_remove()
57 static void isa_bus_shutdown(struct device *dev) in isa_bus_shutdown()
65 static int isa_bus_suspend(struct device *dev, pm_message_t state) in isa_bus_suspend()
75 static int isa_bus_resume(struct device *dev) in isa_bus_resume()
95 static void isa_dev_release(struct device *dev) in isa_dev_release()
102 struct device *dev = isa_driver->devices; in isa_unregister_driver() local
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_pci.c45 static int drm_get_pci_domain(struct drm_device *dev) in drm_get_pci_domain()
59 int drm_pci_set_busid(struct drm_device *dev, struct drm_master *master) in drm_pci_set_busid()
77 static int drm_legacy_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) in drm_legacy_pci_irq_by_busid()
105 int drm_legacy_irq_by_busid(struct drm_device *dev, void *data, in drm_legacy_irq_by_busid()
123 void drm_legacy_pci_agp_destroy(struct drm_device *dev) in drm_legacy_pci_agp_destroy()
133 static void drm_legacy_pci_agp_init(struct drm_device *dev) in drm_legacy_pci_agp_init()
151 struct drm_device *dev; in drm_legacy_get_pci_dev() local
248 struct drm_device *dev, *tmp; in drm_legacy_pci_exit() local

1...<<21222324252627282930>>...639