/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_n.c | 94 static inline bool b43_nphy_ipa(struct b43_wldev *dev) in b43_nphy_ipa() 102 static u8 b43_nphy_get_rx_core_state(struct b43_wldev *dev) in b43_nphy_get_rx_core_state() 530 static void b43_nphy_reset_cca(struct b43_wldev *dev) in b43_nphy_reset_cca() 810 static u8 b43_radio_2057_rcal(struct b43_wldev *dev) in b43_radio_2057_rcal() 1300 static u8 b43_radio_2056_rcal(struct b43_wldev *dev) in b43_radio_2056_rcal() 1361 static void b43_radio_init2056(struct b43_wldev *dev) in b43_radio_init2056() 1485 static void b43_radio_init2055(struct b43_wldev *dev) in b43_radio_init2055() 2458 static void b43_nphy_rssi_cal(struct b43_wldev *dev) in b43_nphy_rssi_cal() 5976 static int b43_phy_initn(struct b43_wldev *dev) in b43_phy_initn() 6482 static void b43_nphy_op_free(struct b43_wldev *dev) in b43_nphy_op_free() [all …]
|
/openbmc/linux/include/linux/ |
H A D | pm_clock.h | 33 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks() 52 static inline bool pm_clk_no_clocks(struct device *dev) in pm_clk_no_clocks() 56 static inline void pm_clk_init(struct device *dev) in pm_clk_init() 59 static inline int pm_clk_create(struct device *dev) in pm_clk_create() 63 static inline void pm_clk_destroy(struct device *dev) in pm_clk_destroy() 66 static inline int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add() 71 static inline int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk() 75 static inline int of_pm_clk_add_clks(struct device *dev) in of_pm_clk_add_clks() 79 static inline void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove() 84 static inline void pm_clk_remove_clk(struct device *dev, struct clk *clk) in pm_clk_remove_clk() [all …]
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | ptm.c | 16 static struct pci_dev *pci_upstream_ptm(struct pci_dev *dev) in pci_upstream_ptm() 39 void pci_ptm_init(struct pci_dev *dev) in pci_ptm_init() 87 void pci_save_ptm_state(struct pci_dev *dev) in pci_save_ptm_state() 104 void pci_restore_ptm_state(struct pci_dev *dev) in pci_restore_ptm_state() 122 static int __pci_enable_ptm(struct pci_dev *dev) in __pci_enable_ptm() 168 int pci_enable_ptm(struct pci_dev *dev, u8 *granularity) in pci_enable_ptm() 201 static void __pci_disable_ptm(struct pci_dev *dev) in __pci_disable_ptm() 220 void pci_disable_ptm(struct pci_dev *dev) in pci_disable_ptm() 233 void pci_suspend_ptm(struct pci_dev *dev) in pci_suspend_ptm() 240 void pci_resume_ptm(struct pci_dev *dev) in pci_resume_ptm() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | loopback.c | 70 struct net_device *dev) in loopback_xmit() 119 static void loopback_get_stats64(struct net_device *dev, in loopback_get_stats64() 132 static u32 always_on(struct net_device *dev) in always_on() 142 static int loopback_dev_init(struct net_device *dev) in loopback_dev_init() 151 static void loopback_dev_free(struct net_device *dev) in loopback_dev_free() 164 static void gen_lo_setup(struct net_device *dev, in gen_lo_setup() 169 void (*dev_destructor)(struct net_device *dev)) in gen_lo_setup() 202 static void loopback_setup(struct net_device *dev) in loopback_setup() 211 struct net_device *dev; in loopback_net_init() local 243 struct net_device *dev) in blackhole_netdev_xmit() [all …]
|
/openbmc/linux/net/core/ |
H A D | dev.c | 782 struct net_device *dev; in dev_get_by_name() local 808 struct net_device *dev; in netdev_get_by_name() local 831 struct net_device *dev; in __dev_get_by_index() local 855 struct net_device *dev; in dev_get_by_index_rcu() local 869 struct net_device *dev; in dev_get_by_index() local 894 struct net_device *dev; in netdev_get_by_index() local 936 struct net_device *dev; in netdev_get_name() local 974 struct net_device *dev; in dev_getbyhwaddr_rcu() local 1524 struct net_device *dev; in __dev_close_many() local 1723 struct net_device *dev; in call_netdevice_register_net_notifiers() local [all …]
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | consumer.h | 50 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state() 54 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state() 58 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state() 95 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get() 116 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get() 125 static inline int pinctrl_select_default_state(struct device *dev) in pinctrl_select_default_state() 130 static inline int pinctrl_pm_select_default_state(struct device *dev) in pinctrl_pm_select_default_state() 135 static inline int pinctrl_pm_select_sleep_state(struct device *dev) in pinctrl_pm_select_sleep_state() 140 static inline int pinctrl_pm_select_idle_state(struct device *dev) in pinctrl_pm_select_idle_state() 147 static inline struct pinctrl * __must_check pinctrl_get_select(struct device *dev, in pinctrl_get_select() [all …]
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ps.c | 18 static void _rtl92e_hw_sleep(struct net_device *dev) in _rtl92e_hw_sleep() 36 struct net_device *dev = ieee->dev; in rtl92e_hw_sleep_wq() local 41 void rtl92e_hw_wakeup(struct net_device *dev) in rtl92e_hw_wakeup() 61 struct net_device *dev = ieee->dev; in rtl92e_hw_wakeup_wq() local 68 void rtl92e_enter_sleep(struct net_device *dev, u64 time) in rtl92e_enter_sleep() 112 void rtl92e_ips_enter(struct net_device *dev) in rtl92e_ips_enter() 127 void rtl92e_ips_leave(struct net_device *dev) in rtl92e_ips_leave() 145 struct net_device *dev = ieee->dev; in rtl92e_ips_leave_wq() local 171 void rtl92e_rtllib_ips_leave(struct net_device *dev) in rtl92e_rtllib_ips_leave() 204 void rtl92e_leisure_ps_enter(struct net_device *dev) in rtl92e_leisure_ps_enter() [all …]
|
/openbmc/linux/drivers/w1/ |
H A D | w1_io.c | 52 u8 w1_touch_bit(struct w1_master *dev, int bit) in w1_touch_bit() 72 static void w1_write_bit(struct w1_master *dev, int bit) in w1_write_bit() 101 static void w1_pre_write(struct w1_master *dev) in w1_pre_write() 118 static void w1_post_write(struct w1_master *dev) in w1_post_write() 134 void w1_write_8(struct w1_master *dev, u8 byte) in w1_write_8() 159 static u8 w1_read_bit(struct w1_master *dev) in w1_read_bit() 193 u8 w1_triplet(struct w1_master *dev, int bdir) in w1_triplet() 229 u8 w1_read_8(struct w1_master *dev) in w1_read_8() 318 int w1_reset_bus(struct w1_master *dev) in w1_reset_bus() 421 int w1_reset_resume_command(struct w1_master *dev) in w1_reset_resume_command() [all …]
|
/openbmc/u-boot/common/ |
H A D | stdio.c | 41 static void nulldev_putc(struct stdio_dev *dev, const char c) in nulldev_putc() 46 static void nulldev_puts(struct stdio_dev *dev, const char *s) in nulldev_puts() 51 static int nulldev_input(struct stdio_dev *dev) in nulldev_input() 68 static int stdio_serial_getc(struct stdio_dev *dev) in stdio_serial_getc() 73 static int stdio_serial_tstc(struct stdio_dev *dev) in stdio_serial_tstc() 85 struct stdio_dev dev; in drv_system_init() local 144 struct udevice *dev; in stdio_probe_device() local 206 struct stdio_dev* stdio_clone(struct stdio_dev *dev) in stdio_clone() 237 int stdio_register(struct stdio_dev *dev) in stdio_register() 283 struct stdio_dev *dev; in stdio_deregister() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | intf.c | 44 static bool is_eth_supported(struct mlx4_dev *dev) in is_eth_supported() 53 static bool is_ib_supported(struct mlx4_dev *dev) in is_ib_supported() 73 int mlx4_adev_init(struct mlx4_dev *dev) in mlx4_adev_init() 91 void mlx4_adev_cleanup(struct mlx4_dev *dev) in mlx4_adev_cleanup() 99 static void adev_release(struct device *dev) in adev_release() 162 int mlx4_do_bond(struct mlx4_dev *dev, bool enable) in mlx4_do_bond() 248 int mlx4_register_event_notifier(struct mlx4_dev *dev, in mlx4_register_event_notifier() 266 static int add_drivers(struct mlx4_dev *dev) in add_drivers() 297 static void delete_drivers(struct mlx4_dev *dev) in delete_drivers() 335 int mlx4_register_device(struct mlx4_dev *dev) in mlx4_register_device() [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | rx.c | 36 struct aac_dev *dev = dev_id; in aac_rx_intr_producer() local 76 struct aac_dev *dev = dev_id; in aac_rx_intr_message() local 117 static void aac_rx_disable_interrupt(struct aac_dev *dev) in aac_rx_disable_interrupt() 162 static int rx_sync_cmd(struct aac_dev *dev, u32 command, in rx_sync_cmd() 312 static void aac_rx_start_adapter(struct aac_dev *dev) in aac_rx_start_adapter() 330 static int aac_rx_check_health(struct aac_dev *dev) in aac_rx_check_health() 399 struct aac_dev *dev = fib->dev; in aac_rx_deliver_producer() local 422 struct aac_dev *dev = fib->dev; in aac_rx_deliver_message() local 515 int aac_rx_select_comm(struct aac_dev *dev, int comm) in aac_rx_select_comm() 543 int _aac_rx_init(struct aac_dev *dev) in _aac_rx_init() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-devres.c | 18 static void devm_gpiod_release(struct device *dev, void *res) in devm_gpiod_release() 25 static int devm_gpiod_match(struct device *dev, void *res, void *data) in devm_gpiod_match() 32 static void devm_gpiod_release_array(struct device *dev, void *res) in devm_gpiod_release_array() 56 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() 93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() 147 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index() 248 devm_gpiod_get_array_optional(struct device *dev, const char *con_id, in devm_gpiod_get_array_optional() 270 void devm_gpiod_put(struct device *dev, struct gpio_desc *desc) in devm_gpiod_put() 287 void devm_gpiod_unhinge(struct device *dev, struct gpio_desc *desc) in devm_gpiod_unhinge() 323 static void devm_gpio_release(struct device *dev, void *res) in devm_gpio_release() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | tpm_test.c | 39 static int test_timer(struct udevice *dev) in test_timer() 73 static int tpm_is_owned(struct udevice *dev) in tpm_is_owned() 83 static int test_early_extend(struct udevice *dev) in test_early_extend() 97 static int test_early_nvram(struct udevice *dev) in test_early_nvram() 111 static int test_early_nvram2(struct udevice *dev) in test_early_nvram2() 125 static int test_enable(struct udevice *dev) in test_enable() 151 static int test_fast_enable(struct udevice *dev) in test_fast_enable() 221 static int test_lock(struct udevice *dev) in test_lock() 254 static int test_readonly(struct udevice *dev) in test_readonly() 377 static int test_startup(struct udevice *dev) in test_startup() [all …]
|
/openbmc/u-boot/drivers/adc/ |
H A D | adc-uclass.c | 48 static int adc_supply_enable(struct udevice *dev) in adc_supply_enable() 93 int adc_stop(struct udevice *dev) in adc_stop() 103 int adc_start_channel(struct udevice *dev, int channel) in adc_start_channel() 196 struct udevice *dev; in adc_channel_single_shot() local 245 struct udevice *dev; in adc_channels_single_shot() local 269 static int adc_vdd_platdata_update(struct udevice *dev) in adc_vdd_platdata_update() 309 int adc_vdd_value(struct udevice *dev, int *uV) in adc_vdd_value() 327 int adc_vss_value(struct udevice *dev, int *uV) in adc_vss_value() 369 static int adc_vdd_platdata_set(struct udevice *dev) in adc_vdd_platdata_set() 394 static int adc_vss_platdata_set(struct udevice *dev) in adc_vss_platdata_set() [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | msi.c | 92 static inline uint8_t msi_flags_off(const PCIDevice* dev) in msi_flags_off() 97 static inline uint8_t msi_address_lo_off(const PCIDevice* dev) in msi_address_lo_off() 102 static inline uint8_t msi_address_hi_off(const PCIDevice* dev) in msi_address_hi_off() 126 void msi_set_message(PCIDevice *dev, MSIMessage msg) in msi_set_message() 169 bool msi_enabled(const PCIDevice *dev) in msi_enabled() 192 int msi_init(struct PCIDevice *dev, uint8_t offset, in msi_init() 256 void msi_uninit(struct PCIDevice *dev) in msi_uninit() 273 void msi_reset(PCIDevice *dev) in msi_reset() 352 void msi_notify(PCIDevice *dev, unsigned int vector) in msi_notify() 377 void msi_send_message(PCIDevice *dev, MSIMessage msg) in msi_send_message() [all …]
|
/openbmc/qemu/hw/rdma/vmw/ |
H A D | pvrdma_main.c | 63 PVRDMADev *dev = PVRDMA_DEV(obj); in pvrdma_format_statistics() local 162 static void free_dsr(PVRDMADev *dev) in free_dsr() 187 static int load_dsr(PVRDMADev *dev) in load_dsr() 298 PVRDMADev *dev = PVRDMA_DEV(pdev); in uninit_msix() local 310 PVRDMADev *dev = PVRDMA_DEV(pdev); in init_msix() local 332 PVRDMADev *dev = PVRDMA_DEV(pdev); in pvrdma_fini() local 383 PVRDMADev *dev = opaque; in pvrdma_regs_read() local 402 PVRDMADev *dev = opaque; in pvrdma_regs_write() local 472 PVRDMADev *dev = opaque; in pvrdma_uar_write() local 539 PVRDMADev *dev = PVRDMA_DEV(pdev); in init_bars() local [all …]
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_tis_st33zp24_i2c.c | 126 static int st33zp24_i2c_check_locality(struct udevice *dev) in st33zp24_i2c_check_locality() 146 static int st33zp24_i2c_request_locality(struct udevice *dev) in st33zp24_i2c_request_locality() 178 static u8 st33zp24_i2c_status(struct udevice *dev) in st33zp24_i2c_status() 192 static int st33zp24_i2c_get_burstcount(struct udevice *dev) in st33zp24_i2c_get_burstcount() 228 static void st33zp24_i2c_cancel(struct udevice *dev) in st33zp24_i2c_cancel() 419 static int st33zp24_i2c_cleanup(struct udevice *dev) in st33zp24_i2c_cleanup() 432 static int st33zp24_i2c_init(struct udevice *dev) in st33zp24_i2c_init() 454 static int st33zp24_i2c_open(struct udevice *dev) in st33zp24_i2c_open() 470 static int st33zp24_i2c_close(struct udevice *dev) in st33zp24_i2c_close() 505 static int st33zp24_i2c_probe(struct udevice *dev) in st33zp24_i2c_probe() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-designware-common.c | 64 struct dw_i2c_dev *dev = context; in dw_reg_read() local 73 struct dw_i2c_dev *dev = context; in dw_reg_write() local 82 struct dw_i2c_dev *dev = context; in dw_reg_read_swab() local 91 struct dw_i2c_dev *dev = context; in dw_reg_write_swab() local 100 struct dw_i2c_dev *dev = context; in dw_reg_read_word() local 110 struct dw_i2c_dev *dev = context; in dw_reg_write_word() local 126 int i2c_dw_init_regmap(struct dw_i2c_dev *dev) in i2c_dw_init_regmap() 392 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev) in i2c_dw_set_sda_hold() 442 void __i2c_dw_disable(struct dw_i2c_dev *dev) in __i2c_dw_disable() 485 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev) in i2c_dw_clk_rate() [all …]
|
/openbmc/linux/drivers/mcb/ |
H A D | mcb-core.c | 18 struct mcb_device *dev) in mcb_match_id() 31 static int mcb_match(struct device *dev, struct device_driver *drv) in mcb_match() 56 static int mcb_probe(struct device *dev) in mcb_probe() 82 static void mcb_remove(struct device *dev) in mcb_remove() 96 static void mcb_shutdown(struct device *dev) in mcb_shutdown() 208 static void mcb_release_dev(struct device *dev) in mcb_release_dev() 255 static void mcb_free_bus(struct device *dev) in mcb_free_bus() 365 struct mcb_device *dev; in mcb_alloc_dev() local 383 void mcb_free_dev(struct mcb_device *dev) in mcb_free_dev() 471 static int __mcb_get_irq(struct mcb_device *dev) in __mcb_get_irq() [all …]
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 67 bool ocrdma_alloc_stats_resources(struct ocrdma_dev *dev) in ocrdma_alloc_stats_resources() 102 static char *ocrdma_resource_stats(struct ocrdma_dev *dev) in ocrdma_resource_stats() 219 static char *ocrdma_rx_stats(struct ocrdma_dev *dev) in ocrdma_rx_stats() 266 static u64 ocrdma_sysfs_rcv_pkts(struct ocrdma_dev *dev) in ocrdma_sysfs_rcv_pkts() 287 static char *ocrdma_tx_stats(struct ocrdma_dev *dev) in ocrdma_tx_stats() 361 static char *ocrdma_wqe_stats(struct ocrdma_dev *dev) in ocrdma_wqe_stats() 394 static char *ocrdma_db_errstats(struct ocrdma_dev *dev) in ocrdma_db_errstats() 642 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_write() local 690 struct ocrdma_dev *dev = pstats->dev; in ocrdma_dbgfs_ops_read() local 758 void ocrdma_add_port_stats(struct ocrdma_dev *dev) in ocrdma_add_port_stats() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | sr9700.c | 48 static int sr_read_reg(struct usbnet *dev, u8 reg, u8 *value) in sr_read_reg() 53 static int sr_write_reg(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg() 72 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) in wait_phy_eeprom_ready() 159 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_eeprom() local 179 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_read() local 218 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_write() local 234 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_link() local 248 struct usbnet *dev = netdev_priv(netdev); in sr9700_ioctl() local 267 struct usbnet *dev = netdev_priv(netdev); in sr9700_set_multicast() local 298 struct usbnet *dev = netdev_priv(netdev); in sr9700_set_mac_address() local [all …]
|
/openbmc/linux/drivers/net/can/cc770/ |
H A D | cc770.c | 199 static void set_reset_mode(struct net_device *dev) in set_reset_mode() 218 static void set_normal_mode(struct net_device *dev) in set_normal_mode() 290 static int cc770_probe_chip(struct net_device *dev) in cc770_probe_chip() 328 static void cc770_start(struct net_device *dev) in cc770_start() 386 static void cc770_tx(struct net_device *dev, int mo) in cc770_tx() 760 static int cc770_open(struct net_device *dev) in cc770_open() 788 static int cc770_close(struct net_device *dev) in cc770_close() 801 struct net_device *dev; in alloc_cc770dev() local 827 void free_cc770dev(struct net_device *dev) in free_cc770dev() 844 int register_cc770dev(struct net_device *dev) in register_cc770dev() [all …]
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-tvaudio.c | 171 static void mute_input_7134(struct saa7134_dev *dev) in mute_input_7134() 239 static void tvaudio_setmode(struct saa7134_dev *dev, in tvaudio_setmode() 462 struct saa7134_dev *dev = data; in tvaudio_thread() local 698 static int getstereo_7133(struct saa7134_dev *dev) in getstereo_7133() 711 static int mute_input_7133(struct saa7134_dev *dev) in mute_input_7133() 762 struct saa7134_dev *dev = data; in tvaudio_thread_ddep() local 858 void saa7134_enable_i2s(struct saa7134_dev *dev) in saa7134_enable_i2s() 968 void saa7134_tvaudio_init(struct saa7134_dev *dev) in saa7134_tvaudio_init() 1000 int saa7134_tvaudio_init2(struct saa7134_dev *dev) in saa7134_tvaudio_init2() 1031 int saa7134_tvaudio_close(struct saa7134_dev *dev) in saa7134_tvaudio_close() [all …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | ether3.c | 144 #define ether3_writebuffer(dev,data,length) \ argument 147 #define ether3_writeword(dev,data) \ argument 150 #define ether3_writelong(dev,data) { \ argument 159 #define ether3_readbuffer(dev,data,length) \ argument 162 #define ether3_readword(dev) \ argument 165 #define ether3_readlong(dev) \ argument 174 struct net_device *dev = private->dev; in ether3_ledoff() local 318 ether3_init_for_open(struct net_device *dev) in ether3_init_for_open() 398 ether3_open(struct net_device *dev) in ether3_open() 414 ether3_close(struct net_device *dev) in ether3_close() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-reg.c | 19 void fimc_hw_reset(struct fimc_dev *dev) in fimc_hw_reset() 74 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_rotation() local 107 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_target_format() local 149 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_out_dma_size() local 168 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_out_dma() local 233 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_prescaler() local 249 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_scaler() local 313 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_mainscaler() local 348 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_enable_capture() local 373 struct fimc_dev *dev = ctx->fimc_dev; in fimc_hw_set_effect() local [all …]
|