/openbmc/linux/drivers/media/rc/ |
H A D | rc-loopback.c | 23 struct rc_dev *dev; member 36 static int loop_set_tx_mask(struct rc_dev *dev, u32 mask) in loop_set_tx_mask() 50 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() 59 static int loop_set_tx_duty_cycle(struct rc_dev *dev, u32 duty_cycle) in loop_set_tx_duty_cycle() 73 static int loop_set_rx_carrier_range(struct rc_dev *dev, u32 min, u32 max) in loop_set_rx_carrier_range() 88 static int loop_tx_ir(struct rc_dev *dev, unsigned *txbuf, unsigned count) in loop_tx_ir() 141 static void loop_set_idle(struct rc_dev *dev, bool enable) in loop_set_idle() 151 static int loop_set_wideband_receiver(struct rc_dev *dev, int enable) in loop_set_wideband_receiver() 163 static int loop_set_carrier_report(struct rc_dev *dev, int enable) in loop_set_carrier_report() 175 static int loop_set_wakeup_filter(struct rc_dev *dev, in loop_set_wakeup_filter()
|
/openbmc/linux/drivers/media/usb/hdpvr/ |
H A D | hdpvr-control.c | 23 int hdpvr_config_call(struct hdpvr_device *dev, uint value, u8 valbuf) in hdpvr_config_call() 44 int get_video_info(struct hdpvr_device *dev, struct hdpvr_video_info *vidinf) in get_video_info() 76 int get_input_lines_info(struct hdpvr_device *dev) in get_input_lines_info() 102 int hdpvr_set_bitrate(struct hdpvr_device *dev) in hdpvr_set_bitrate() 120 int hdpvr_set_audio(struct hdpvr_device *dev, u8 input, in hdpvr_set_audio() 155 int hdpvr_set_options(struct hdpvr_device *dev) in hdpvr_set_options()
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_sandbox.c | 14 static int sandbox_warm_sysreset_request(struct udevice *dev, in sandbox_warm_sysreset_request() 32 int sandbox_warm_sysreset_get_status(struct udevice *dev, char *buf, int size) in sandbox_warm_sysreset_get_status() 39 int sandbox_warm_sysreset_get_last(struct udevice *dev) in sandbox_warm_sysreset_get_last() 44 static int sandbox_sysreset_request(struct udevice *dev, enum sysreset_t type) in sandbox_sysreset_request() 78 int sandbox_sysreset_get_status(struct udevice *dev, char *buf, int size) in sandbox_sysreset_get_status() 85 int sandbox_sysreset_get_last(struct udevice *dev) in sandbox_sysreset_get_last()
|
/openbmc/u-boot/test/dm/ |
H A D | led.c | 16 struct udevice *dev; in dm_test_led_base() local 33 struct udevice *dev; in dm_test_led_default_state() local 53 struct udevice *dev, *gpio; in dm_test_led_gpio() local 78 struct udevice *dev, *gpio; in dm_test_led_toggle() local 102 struct udevice *dev, *cmp; in dm_test_led_label() local 125 struct udevice *dev, *gpio; in dm_test_led_blink() local
|
H A D | i2c.c | 26 struct udevice *bus, *dev; in dm_test_i2c_find() local 47 struct udevice *bus, *dev; in dm_test_i2c_read_write() local 64 struct udevice *bus, *dev; in dm_test_i2c_speed() local 86 struct udevice *bus, *dev; in dm_test_i2c_offset_len() local 103 struct udevice *bus, *dev; in dm_test_i2c_probe_empty() local 118 struct udevice *bus, *dev; in dm_test_i2c_bytewise() local 174 struct udevice *dev; in dm_test_i2c_offset() local
|
/openbmc/qemu/hw/isa/ |
H A D | isa-bus.c | 52 ISABus *isa_bus_new(DeviceState *dev, MemoryRegion* address_space, in isa_bus_new() 95 qemu_irq isa_get_irq(ISADevice *dev, unsigned isairq) in isa_get_irq() 121 static inline void isa_init_ioport(ISADevice *dev, uint16_t ioport) in isa_init_ioport() 128 void isa_register_ioport(ISADevice *dev, MemoryRegion *io, uint16_t start) in isa_register_ioport() 134 int isa_register_portio_list(ISADevice *dev, in isa_register_portio_list() 168 ISADevice *dev; in isa_create_simple() local 175 bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp) in isa_realize_and_unref() 180 ISABus *isa_bus_from_device(ISADevice *dev) in isa_bus_from_device() 245 static char *isabus_get_fw_dev_path(DeviceState *dev) in isabus_get_fw_dev_path() 259 MemoryRegion *isa_address_space(ISADevice *dev) in isa_address_space() [all …]
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_eth.c | 50 struct net_device __rcu *dev; member 53 static int l2tp_eth_dev_init(struct net_device *dev) in l2tp_eth_dev_init() 62 static void l2tp_eth_dev_uninit(struct net_device *dev) in l2tp_eth_dev_uninit() 74 static netdev_tx_t l2tp_eth_dev_xmit(struct sk_buff *skb, struct net_device *dev) in l2tp_eth_dev_xmit() 90 static void l2tp_eth_get_stats64(struct net_device *dev, in l2tp_eth_get_stats64() 115 static void l2tp_eth_dev_setup(struct net_device *dev) in l2tp_eth_dev_setup() 128 struct net_device *dev; in l2tp_eth_dev_recv() local 170 struct net_device *dev; in l2tp_eth_delete() local 191 struct net_device *dev; in l2tp_eth_show() local 209 struct net_device *dev) in l2tp_eth_adjust_mtu() [all …]
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-medusa-video.c | 21 static void medusa_enable_bluefield_output(struct cx25821_dev *dev, int channel, in medusa_enable_bluefield_output() 76 static int medusa_initialize_ntsc(struct cx25821_dev *dev) in medusa_initialize_ntsc() 212 static int medusa_PALCombInit(struct cx25821_dev *dev, int dec) in medusa_PALCombInit() 243 static int medusa_initialize_pal(struct cx25821_dev *dev) in medusa_initialize_pal() 383 int medusa_set_videostandard(struct cx25821_dev *dev) in medusa_set_videostandard() 406 void medusa_set_resolution(struct cx25821_dev *dev, int width, in medusa_set_resolution() 466 static void medusa_set_decoderduration(struct cx25821_dev *dev, int decoder, in medusa_set_decoderduration() 551 int medusa_set_brightness(struct cx25821_dev *dev, int brightness, int decoder) in medusa_set_brightness() 572 int medusa_set_contrast(struct cx25821_dev *dev, int contrast, int decoder) in medusa_set_contrast() 593 int medusa_set_hue(struct cx25821_dev *dev, int hue, int decoder) in medusa_set_hue() [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | wd.c | 86 static int __init do_wd_probe(struct net_device *dev) in do_wd_probe() 130 struct net_device *dev = alloc_ei_netdev(); in wd_probe() local 163 static int __init wd_probe1(struct net_device *dev, int ioaddr) in wd_probe1() 372 wd_open(struct net_device *dev) in wd_open() 389 wd_reset_8390(struct net_device *dev) in wd_reset_8390() 412 wd_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page) in wd_get_8390_hdr() 462 wd_block_output(struct net_device *dev, int count, const unsigned char *buf, in wd_block_output() 480 wd_close(struct net_device *dev) in wd_close() 525 struct net_device *dev; in wd_init_module() local 554 static void cleanup_card(struct net_device *dev) in cleanup_card() [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-go7007.c | 52 struct saa7134_dev *dev; member 81 static int gpio_write(struct saa7134_dev *dev, u8 addr, u16 data) in gpio_write() 103 static int gpio_read(struct saa7134_dev *dev, u8 addr, u16 *data) in gpio_read() 134 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_interface_reset() local 178 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_write_interrupt() local 206 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_read_interrupt() local 246 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_stream_start() local 304 struct saa7134_dev *dev; in saa7134_go7007_stream_stop() local 333 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_send_firmware() local 405 static int saa7134_go7007_init(struct saa7134_dev *dev) in saa7134_go7007_init() [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | virtual.c | 29 static void update_voltage_constraints(struct device *dev, in update_voltage_constraints() 68 static void update_current_limit_constraints(struct device *dev, in update_current_limit_constraints() 108 static ssize_t show_min_uV(struct device *dev, in show_min_uV() 115 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, in set_min_uV() 134 static ssize_t show_max_uV(struct device *dev, in show_max_uV() 141 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, in set_max_uV() 160 static ssize_t show_min_uA(struct device *dev, in show_min_uA() 167 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, in set_min_uA() 186 static ssize_t show_max_uA(struct device *dev, in show_max_uA() 212 static ssize_t show_mode(struct device *dev, in show_mode() [all …]
|
/openbmc/linux/include/linux/ |
H A D | swiotlb.h | 149 static inline struct io_tlb_pool *swiotlb_find_pool(struct device *dev, in swiotlb_find_pool() 168 static inline bool is_swiotlb_buffer(struct device *dev, phys_addr_t paddr) in is_swiotlb_buffer() 194 static inline bool is_swiotlb_force_bounce(struct device *dev) in is_swiotlb_force_bounce() 215 static inline void swiotlb_dev_init(struct device *dev) in swiotlb_dev_init() 223 static inline bool is_swiotlb_force_bounce(struct device *dev) in is_swiotlb_force_bounce() 230 static inline size_t swiotlb_max_mapping_size(struct device *dev) in swiotlb_max_mapping_size() 240 static inline bool is_swiotlb_active(struct device *dev) in is_swiotlb_active() 266 static inline bool is_swiotlb_for_alloc(struct device *dev) in is_swiotlb_for_alloc() 271 static inline struct page *swiotlb_alloc(struct device *dev, size_t size) in swiotlb_alloc() 275 static inline bool swiotlb_free(struct device *dev, struct page *page, in swiotlb_free() [all …]
|
H A D | dma-direct.h | 27 static inline dma_addr_t translate_phys_to_dma(struct device *dev, in translate_phys_to_dma() 40 static inline phys_addr_t translate_dma_to_phys(struct device *dev, in translate_dma_to_phys() 58 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev, in phys_to_dma_unencrypted() 72 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() 77 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys() 93 static inline bool force_dma_unencrypted(struct device *dev) in force_dma_unencrypted() 99 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | host.c | 39 static int mmc_host_class_prepare(struct device *dev) in mmc_host_class_prepare() 57 static void mmc_host_class_complete(struct device *dev) in mmc_host_class_complete() 74 static void mmc_host_classdev_release(struct device *dev) in mmc_host_classdev_release() 83 static int mmc_host_classdev_shutdown(struct device *dev) in mmc_host_classdev_shutdown() 239 struct device *dev = host->parent; in mmc_of_parse_clk_phase() local 277 struct device *dev = host->parent; in mmc_of_parse() local 450 struct device *dev = host->parent; in mmc_of_parse_voltage() local 521 struct mmc_host *mmc_alloc_host(int extra, struct device *dev) in mmc_alloc_host() 590 static void devm_mmc_host_release(struct device *dev, void *res) in devm_mmc_host_release() 595 struct mmc_host *devm_mmc_alloc_host(struct device *dev, int extra) in devm_mmc_alloc_host() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | ntb_netdev.c | 86 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_event_handler() local 149 struct ntb_netdev *dev = netdev_priv(netdev); in __ntb_netdev_maybe_stop_tx() local 181 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_tx_handler() local 210 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_start_xmit() local 232 struct ntb_netdev *dev = from_timer(dev, t, tx_timer); in ntb_netdev_tx_timer() local 249 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_open() local 285 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_close() local 301 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_netdev_change_mtu() local 365 struct ntb_netdev *dev = netdev_priv(ndev); in ntb_get_drvinfo() local 406 struct ntb_netdev *dev; in ntb_netdev_probe() local [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 693 void saa7164_card_list(struct saa7164_dev *dev) in saa7164_card_list() 726 void saa7164_gpio_setup(struct saa7164_dev *dev) in saa7164_gpio_setup() 769 static void hauppauge_eeprom(struct saa7164_dev *dev, u8 *eeprom_data) in hauppauge_eeprom() 827 void saa7164_card_setup(struct saa7164_dev *dev) in saa7164_card_setup() 872 struct saa7164_dev *dev = bus->dev; in saa7164_i2caddr_to_unitid() local 899 struct saa7164_dev *dev = bus->dev; in saa7164_i2caddr_to_reglen() local 921 char *saa7164_unitid_name(struct saa7164_dev *dev, u8 unitid) in saa7164_unitid_name()
|
H A D | saa7164-buffer.c | 57 struct saa7164_dev *dev = buf->port->dev; in saa7164_buffer_display() local 83 struct saa7164_dev *dev = port->dev; in saa7164_buffer_alloc() local 152 struct saa7164_dev *dev; in saa7164_buffer_dealloc() local 175 struct saa7164_dev *dev = port->dev; in saa7164_buffer_zero_offsets() local 191 struct saa7164_dev *dev = port->dev; in saa7164_buffer_activate() local 223 struct saa7164_dev *dev = port->dev; in saa7164_buffer_cfg_port() local 270 struct saa7164_user_buffer *saa7164_buffer_alloc_user(struct saa7164_dev *dev, in saa7164_buffer_alloc_user()
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | enc28j60.c | 86 struct device *dev = &priv->spi->dev; in spi_read_buf() local 123 struct device *dev = &priv->spi->dev; in spi_write_buf() local 144 struct device *dev = &priv->spi->dev; in spi_read_op() local 171 struct device *dev = &priv->spi->dev; in spi_write_op() local 377 struct device *dev = &priv->spi->dev; in enc28j60_packet_write() local 411 struct device *dev = &priv->spi->dev; in poll_ready() local 481 struct device *dev = &priv->spi->dev; in enc28j60_set_hw_macaddr() local 528 struct device *dev = &priv->spi->dev; in enc28j60_dump_regs() local 589 struct device *dev = &priv->spi->dev; in nolock_rxfifo_init() local 1282 struct net_device *dev) in enc28j60_send_packet() [all …]
|
/openbmc/linux/drivers/misc/mei/hdcp/ |
H A D | mei_hdcp.c | 39 mei_hdcp_initiate_session(struct device *dev, struct hdcp_port_data *data, in mei_hdcp_initiate_session() 105 mei_hdcp_verify_receiver_cert_prepare_km(struct device *dev, in mei_hdcp_verify_receiver_cert_prepare_km() 182 mei_hdcp_verify_hprime(struct device *dev, struct hdcp_port_data *data, in mei_hdcp_verify_hprime() 298 mei_hdcp_initiate_locality_check(struct device *dev, in mei_hdcp_initiate_locality_check() 354 mei_hdcp_verify_lprime(struct device *dev, struct hdcp_port_data *data, in mei_hdcp_verify_lprime() 412 static int mei_hdcp_get_session_key(struct device *dev, in mei_hdcp_get_session_key() 473 mei_hdcp_repeater_check_flow_prepare_ack(struct device *dev, in mei_hdcp_repeater_check_flow_prepare_ack() 545 static int mei_hdcp_verify_mprime(struct device *dev, in mei_hdcp_verify_mprime() 618 static int mei_hdcp_enable_authentication(struct device *dev, in mei_hdcp_enable_authentication() 735 static int mei_component_master_bind(struct device *dev) in mei_component_master_bind() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mac.c | 1416 struct mt7996_dev *dev = phy->dev; in mt7996_mac_cca_stats_reset() local 1425 struct mt7996_dev *dev = phy->dev; in mt7996_mac_reset_counters() local 1446 struct mt7996_dev *dev = phy->dev; in mt7996_mac_set_coverage_class() local 1490 struct mt7996_dev *dev = phy->dev; in mt7996_phy_get_nf() local 1783 struct mt7996_dev *dev; in mt7996_mac_reset_work() local 1915 struct mt7996_dev *dev; in mt7996_mac_dump_work() local 2006 struct mt7996_dev *dev = phy->dev; in mt7996_mac_update_stats() local 2207 struct mt7996_dev *dev = phy->dev; in mt7996_dfs_stop_radar_detector() local 2246 struct mt7996_dev *dev = phy->dev; in mt7996_dfs_start_radar_detector() local 2278 struct mt7996_dev *dev = phy->dev; in mt7996_dfs_init_radar_specs() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | mcu.c | 24 static inline int firmware_running(struct mt7601u_dev *dev) in firmware_running() 42 static inline void trace_mt_mcu_msg_send_cs(struct mt7601u_dev *dev, in trace_mt_mcu_msg_send_cs() 68 static int mt7601u_mcu_wait_resp(struct mt7601u_dev *dev, u8 seq) in mt7601u_mcu_wait_resp() 110 mt7601u_mcu_msg_send(struct mt7601u_dev *dev, struct sk_buff *skb, in mt7601u_mcu_msg_send() 155 static int mt7601u_mcu_function_select(struct mt7601u_dev *dev, in mt7601u_mcu_function_select() 210 int mt7601u_write_reg_pairs(struct mt7601u_dev *dev, u32 base, in mt7601u_write_reg_pairs() 283 static int __mt7601u_dma_fw(struct mt7601u_dev *dev, in __mt7601u_dma_fw() 406 static int mt7601u_load_firmware(struct mt7601u_dev *dev) in mt7601u_load_firmware() 491 int mt7601u_mcu_init(struct mt7601u_dev *dev) in mt7601u_mcu_init() 506 int mt7601u_mcu_cmd_init(struct mt7601u_dev *dev) in mt7601u_mcu_cmd_init() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 59 struct net_device *dev; member 114 struct net_device *dev = mcast->dev; in ipoib_mcast_free() local 138 static struct ipoib_mcast *ipoib_mcast_alloc(struct net_device *dev) in ipoib_mcast_alloc() 213 struct net_device *dev = mcast->dev; in ipoib_mcast_join_finish() local 361 struct net_device *dev = mcast->dev; in ipoib_mcast_join_complete() local 554 struct net_device *dev = priv->dev; in ipoib_mcast_join_task() local 657 void ipoib_mcast_start_thread(struct net_device *dev) in ipoib_mcast_start_thread() 669 void ipoib_mcast_stop_thread(struct net_device *dev) in ipoib_mcast_stop_thread() 824 void ipoib_mcast_dev_flush(struct net_device *dev) in ipoib_mcast_dev_flush() 869 struct net_device *dev = priv->dev; in ipoib_mcast_restart_task() local [all …]
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 27 coresight_add_out_conn(struct device *dev, in coresight_add_out_conn() 80 struct device *dev = out_conn->dest_dev->dev.parent; in coresight_add_in_conn() local 103 struct device *dev = NULL; in coresight_find_device_by_fwnode() local 129 struct device *dev; in coresight_find_csdev_by_fwnode() local 168 static int of_coresight_get_cpu(struct device *dev) in of_coresight_get_cpu() 310 of_get_coresight_platform_data(struct device *dev, in of_get_coresight_platform_data() 742 static int acpi_coresight_get_cpu(struct device *dev) in acpi_coresight_get_cpu() 762 acpi_get_coresight_platform_data(struct device *dev, in acpi_get_coresight_platform_data() 777 acpi_get_coresight_platform_data(struct device *dev, in acpi_get_coresight_platform_data() 789 int coresight_get_cpu(struct device *dev) in coresight_get_cpu() [all …]
|
/openbmc/linux/drivers/net/ethernet/apple/ |
H A D | macmace.c | 116 static void mace_rxdma_reset(struct net_device *dev) in mace_rxdma_reset() 143 static void mace_txdma_reset(struct net_device *dev) in mace_txdma_reset() 165 static void mace_dma_off(struct net_device *dev) in mace_dma_off() 198 struct net_device *dev; in mace_probe() local 263 static void mace_reset(struct net_device *dev) in mace_reset() 368 static int mace_open(struct net_device *dev) in mace_open() 431 static int mace_close(struct net_device *dev) in mace_close() 483 static void mace_set_multicast(struct net_device *dev) in mace_set_multicast() 558 struct net_device *dev = (struct net_device *) dev_id; in mace_interrupt() local 678 struct net_device *dev = (struct net_device *) dev_id; in mace_dma_intr() local [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | adl_pci9111.c | 173 static void pci9111_fifo_reset(struct comedi_device *dev) in pci9111_fifo_reset() 183 static int pci9111_ai_cancel(struct comedi_device *dev, in pci9111_ai_cancel() 335 static int pci9111_ai_do_cmd(struct comedi_device *dev, in pci9111_ai_do_cmd() 389 static void pci9111_ai_munge(struct comedi_device *dev, in pci9111_ai_munge() 451 struct comedi_device *dev = p_device; in pci9111_interrupt() local 515 static int pci9111_ai_eoc(struct comedi_device *dev, in pci9111_ai_eoc() 528 static int pci9111_ai_insn_read(struct comedi_device *dev, in pci9111_ai_insn_read() 609 static int pci9111_reset(struct comedi_device *dev) in pci9111_reset() 623 static int pci9111_auto_attach(struct comedi_device *dev, in pci9111_auto_attach() 708 static void pci9111_detach(struct comedi_device *dev) in pci9111_detach() [all …]
|