Home
last modified time | relevance | path

Searched defs:dev (Results 101 – 125 of 13879) sorted by relevance

12345678910>>...556

/OK3568_Linux_fs/kernel/drivers/media/pci/cx23885/
H A Dcx23885-core.c307 static void cx23885_irq_add(struct cx23885_dev *dev, u32 mask) in cx23885_irq_add()
317 void cx23885_irq_add_enable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_add_enable()
328 void cx23885_irq_enable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_enable()
341 static inline void cx23885_irq_enable_all(struct cx23885_dev *dev) in cx23885_irq_enable_all()
346 void cx23885_irq_disable(struct cx23885_dev *dev, u32 mask) in cx23885_irq_disable()
356 static inline void cx23885_irq_disable_all(struct cx23885_dev *dev) in cx23885_irq_disable_all()
361 void cx23885_irq_remove(struct cx23885_dev *dev, u32 mask) in cx23885_irq_remove()
372 static u32 cx23885_irq_get_mask(struct cx23885_dev *dev) in cx23885_irq_get_mask()
454 int cx23885_sram_channel_setup(struct cx23885_dev *dev, in cx23885_sram_channel_setup()
526 void cx23885_sram_channel_dump(struct cx23885_dev *dev, in cx23885_sram_channel_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i810/
H A Di810_dma.c55 static struct drm_buf *i810_freelist_get(struct drm_device * dev) in i810_freelist_get()
79 static int i810_freelist_put(struct drm_device *dev, struct drm_buf *buf) in i810_freelist_put()
97 struct drm_device *dev; in i810_mmap_buffers() local
129 struct drm_device *dev = file_priv->minor->dev; in i810_map_buffer() local
174 static int i810_dma_get_buffer(struct drm_device *dev, drm_i810_dma_t *d, in i810_dma_get_buffer()
204 static int i810_dma_cleanup(struct drm_device *dev) in i810_dma_cleanup()
241 static int i810_wait_ring(struct drm_device *dev, int n) in i810_wait_ring()
274 static void i810_kernel_lost_context(struct drm_device *dev) in i810_kernel_lost_context()
286 static int i810_freelist_init(struct drm_device *dev, drm_i810_private_t *dev_priv) in i810_freelist_init()
321 static int i810_dma_initialize(struct drm_device *dev, in i810_dma_initialize()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/fuel_gauge/
H A Dfuel_gauge_uclass.c13 int fuel_gauge_capability(struct udevice *dev) in fuel_gauge_capability()
23 int fuel_gauge_bat_is_exist(struct udevice *dev) in fuel_gauge_bat_is_exist()
33 int fuel_gauge_get_current(struct udevice *dev) in fuel_gauge_get_current()
43 int fuel_gauge_get_voltage(struct udevice *dev) in fuel_gauge_get_voltage()
53 int fuel_gauge_update_get_soc(struct udevice *dev) in fuel_gauge_update_get_soc()
63 bool fuel_gauge_get_chrg_online(struct udevice *dev) in fuel_gauge_get_chrg_online()
73 int fuel_gauge_get_temperature(struct udevice *dev, int *temp) in fuel_gauge_get_temperature()
83 int charger_set_charger_voltage(struct udevice *dev, int uV) in charger_set_charger_voltage()
93 int charger_set_current(struct udevice *dev, int ichrg_uA) in charger_set_current()
103 int charger_set_iprechg_current(struct udevice *dev, int iprechrg_uA) in charger_set_iprechg_current()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dinput-polldev.c21 static void input_polldev_queue_work(struct input_polled_dev *dev) in input_polldev_queue_work()
34 struct input_polled_dev *dev = in input_polled_device_work() local
43 struct input_polled_dev *dev = input_get_drvdata(input); in input_open_polled_device() local
59 struct input_polled_dev *dev = input_get_drvdata(input); in input_close_polled_device() local
69 static ssize_t input_polldev_get_poll(struct device *dev, in input_polldev_get_poll()
77 static ssize_t input_polldev_set_poll(struct device *dev, in input_polldev_set_poll()
115 static ssize_t input_polldev_get_max(struct device *dev, in input_polldev_get_max()
125 static ssize_t input_polldev_get_min(struct device *dev, in input_polldev_get_min()
159 struct input_polled_dev *dev; in input_allocate_polled_device() local
179 static int devm_input_polldev_match(struct device *dev, void *res, void *data) in devm_input_polldev_match()
[all …]
/OK3568_Linux_fs/kernel/drivers/ssb/
H A Ddriver_gige.c32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) in gige_read8()
37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) in gige_read16()
42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) in gige_read32()
47 static inline void gige_write8(struct ssb_gige *dev, in gige_write8()
53 static inline void gige_write16(struct ssb_gige *dev, in gige_write16()
59 static inline void gige_write32(struct ssb_gige *dev, in gige_write32()
66 u8 gige_pcicfg_read8(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read8()
73 u16 gige_pcicfg_read16(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read16()
80 u32 gige_pcicfg_read32(struct ssb_gige *dev, unsigned int offset) in gige_pcicfg_read32()
87 void gige_pcicfg_write8(struct ssb_gige *dev, in gige_pcicfg_write8()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dsandbox.c82 int out_get_value(struct udevice *dev, int output_count, int reg_type, in out_get_value()
109 static int out_set_value(struct udevice *dev, int output_count, int reg_type, in out_set_value()
144 static int out_get_mode(struct udevice *dev) in out_get_mode()
170 static int out_set_mode(struct udevice *dev, int mode) in out_set_mode()
205 static int buck_get_voltage(struct udevice *dev) in buck_get_voltage()
211 static int buck_set_voltage(struct udevice *dev, int uV) in buck_set_voltage()
217 static int buck_get_current(struct udevice *dev) in buck_get_current()
227 static int buck_set_current(struct udevice *dev, int uA) in buck_set_current()
237 static int buck_get_enable(struct udevice *dev) in buck_get_enable()
245 static int buck_set_enable(struct udevice *dev, bool enable) in buck_set_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A Dnull_blk_zoned.c11 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no()
16 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev()
128 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev() local
148 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev()
155 static inline void null_lock_zone(struct nullb_device *dev, unsigned int zno) in null_lock_zone()
162 static inline void null_unlock_zone(struct nullb_device *dev, unsigned int zno) in null_unlock_zone()
174 struct nullb_device *dev = nullb->dev; in null_report_zones() local
213 struct nullb_device *dev = nullb->dev; in null_zone_valid_read_len() local
228 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone()
259 static void null_close_first_imp_zone(struct nullb_device *dev) in null_close_first_imp_zone()
[all …]
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_device.c28 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev) in br_dev_xmit()
112 static void br_set_lockdep_class(struct net_device *dev) in br_set_lockdep_class()
117 static int br_dev_init(struct net_device *dev) in br_dev_init()
159 static void br_dev_uninit(struct net_device *dev) in br_dev_uninit()
171 static int br_dev_open(struct net_device *dev) in br_dev_open()
186 static void br_dev_set_multicast_list(struct net_device *dev) in br_dev_set_multicast_list()
190 static void br_dev_change_rx_flags(struct net_device *dev, int change) in br_dev_change_rx_flags()
196 static int br_dev_stop(struct net_device *dev) in br_dev_stop()
211 static void br_get_stats64(struct net_device *dev, in br_get_stats64()
220 static int br_change_mtu(struct net_device *dev, int new_mtu) in br_change_mtu()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dclock_ops.c42 static inline void __pm_clk_enable(struct device *dev, struct pm_clock_entry *ce) in __pm_clk_enable()
61 static void pm_clk_acquire(struct device *dev, struct pm_clock_entry *ce) in pm_clk_acquire()
80 static int __pm_clk_add(struct device *dev, const char *con_id, in __pm_clk_add()
123 int pm_clk_add(struct device *dev, const char *con_id) in pm_clk_add()
139 int pm_clk_add_clk(struct device *dev, struct clk *clk) in pm_clk_add_clk()
156 int of_pm_clk_add_clk(struct device *dev, const char *name) in of_pm_clk_add_clk()
188 int of_pm_clk_add_clks(struct device *dev) in of_pm_clk_add_clks()
264 void pm_clk_remove(struct device *dev, const char *con_id) in pm_clk_remove()
302 void pm_clk_remove_clk(struct device *dev, struct clk *clk) in pm_clk_remove_clk()
335 void pm_clk_init(struct device *dev) in pm_clk_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dsr9700.c26 static int sr_read(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_read()
37 static int sr_write(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write()
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()
59 static void sr_write_async(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write_async()
65 static void sr_write_reg_async(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg_async()
71 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) in wait_phy_eeprom_ready()
94 static int sr_share_read_word(struct usbnet *dev, int phy, u8 reg, in sr_share_read_word()
119 static int sr_share_write_word(struct usbnet *dev, int phy, u8 reg, in sr_share_write_word()
145 static int sr_read_eeprom_word(struct usbnet *dev, u8 offset, void *value) in sr_read_eeprom_word()
[all …]
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-designware-common.c63 struct dw_i2c_dev *dev = context; in dw_reg_read() local
72 struct dw_i2c_dev *dev = context; in dw_reg_write() local
81 struct dw_i2c_dev *dev = context; in dw_reg_read_swab() local
90 struct dw_i2c_dev *dev = context; in dw_reg_write_swab() local
99 struct dw_i2c_dev *dev = context; in dw_reg_read_word() local
109 struct dw_i2c_dev *dev = context; in dw_reg_write_word() local
125 int i2c_dw_init_regmap(struct dw_i2c_dev *dev) in i2c_dw_init_regmap()
187 int i2c_dw_validate_speed(struct dw_i2c_dev *dev) in i2c_dw_validate_speed()
256 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_acpi_configure() local
313 void i2c_dw_adjust_bus_speed(struct dw_i2c_dev *dev) in i2c_dw_adjust_bus_speed()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-devres.c18 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()
39 static int devm_gpiod_match_array(struct device *dev, void *res, void *data) in devm_gpiod_match_array()
56 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get()
74 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional()
93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index()
147 struct gpio_desc *devm_gpiod_get_from_of_node(struct device *dev, in devm_gpiod_get_from_of_node()
202 struct gpio_desc *devm_fwnode_gpiod_get_index(struct device *dev, in devm_fwnode_gpiod_get_index()
241 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional()
[all …]
/OK3568_Linux_fs/kernel/kernel/time/
H A Dclockevents.c91 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state()
147 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state()
171 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown()
181 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume()
202 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta()
233 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta()
272 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta()
303 int clockevents_program_event(struct clock_event_device *dev, ktime_t expires, in clockevents_program_event()
345 struct clock_event_device *dev; in clockevents_notify_released() local
361 struct clock_event_device *dev, *newdev = NULL; in clockevents_replace() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/seeq/
H A Dether3.c115 ether3_setbuffer(struct net_device *dev, buffer_rw_t read, int start) in ether3_setbuffer()
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
182 static inline void ether3_ledon(struct net_device *dev) in ether3_ledon()
221 ether3_ramtest(struct net_device *dev, unsigned char byte) in ether3_ramtest()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c67 static void stk1160_set_std(struct stk1160 *dev) in stk1160_set_std()
122 static void stk1160_set_fmt(struct stk1160 *dev, in stk1160_set_fmt()
161 static bool stk1160_set_alternate(struct stk1160 *dev) in stk1160_set_alternate()
203 static int stk1160_start_streaming(struct stk1160 *dev) in stk1160_start_streaming()
269 static void stk1160_stop_hw(struct stk1160 *dev) in stk1160_stop_hw()
288 static int stk1160_stop_streaming(struct stk1160 *dev) in stk1160_stop_streaming()
334 struct stk1160 *dev = video_drvdata(file); in vidioc_querycap() local
355 struct stk1160 *dev = video_drvdata(file); in vidioc_g_fmt_vid_cap() local
368 static int stk1160_try_fmt(struct stk1160 *dev, struct v4l2_format *f, in stk1160_try_fmt()
474 struct stk1160 *dev = video_drvdata(file); in vidioc_try_fmt_vid_cap() local
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c70 static inline u16 hpi_read_reg(struct c67x00_device *dev, int reg) in hpi_read_reg()
76 static inline void hpi_write_reg(struct c67x00_device *dev, int reg, u16 value) in hpi_write_reg()
82 static inline u16 hpi_read_word_nolock(struct c67x00_device *dev, u16 reg) in hpi_read_word_nolock()
88 static u16 hpi_read_word(struct c67x00_device *dev, u16 reg) in hpi_read_word()
100 static void hpi_write_word_nolock(struct c67x00_device *dev, u16 reg, u16 value) in hpi_write_word_nolock()
106 static void hpi_write_word(struct c67x00_device *dev, u16 reg, u16 value) in hpi_write_word()
118 static void hpi_write_words_le16(struct c67x00_device *dev, u16 addr, in hpi_write_words_le16()
136 static void hpi_read_words_le16(struct c67x00_device *dev, u16 addr, in hpi_read_words_le16()
150 static void hpi_set_bits(struct c67x00_device *dev, u16 reg, u16 mask) in hpi_set_bits()
161 static void hpi_clear_bits(struct c67x00_device *dev, u16 reg, u16 mask) in hpi_clear_bits()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dks8851_mll.c106 static u8 ks_rdreg8(struct eth_device *dev, u16 offset) in ks_rdreg8()
116 static u16 ks_rdreg16(struct eth_device *dev, u16 offset) in ks_rdreg16()
123 static void ks_wrreg8(struct eth_device *dev, u16 offset, u8 val) in ks_wrreg8()
132 static void ks_wrreg16(struct eth_device *dev, u16 offset, u16 val) in ks_wrreg16()
145 static inline void ks_inblk(struct eth_device *dev, u16 *wptr, u32 len) in ks_inblk()
159 static inline void ks_outblk(struct eth_device *dev, u16 *wptr, u32 len) in ks_outblk()
167 static void ks_enable_int(struct eth_device *dev) in ks_enable_int()
172 static void ks_set_powermode(struct eth_device *dev, unsigned pwrmode) in ks_set_powermode()
188 static void ks_read_config(struct eth_device *dev) in ks_read_config()
228 static void ks_soft_reset(struct eth_device *dev, unsigned op) in ks_soft_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/
H A Dr819xU_phy.c41 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 e_rfpath) in rtl8192_phy_CheckIsLegalRFPath()
67 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, u32 bitmask, in rtl8192_setBBreg()
92 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask) in rtl8192_QueryBBReg()
125 static u32 rtl8192_phy_RFSerialRead(struct net_device *dev, in rtl8192_phy_RFSerialRead()
208 static void rtl8192_phy_RFSerialWrite(struct net_device *dev, in rtl8192_phy_RFSerialWrite()
272 void rtl8192_phy_SetRFReg(struct net_device *dev, in rtl8192_phy_SetRFReg()
321 u32 rtl8192_phy_QueryRFReg(struct net_device *dev, in rtl8192_phy_QueryRFReg()
350 static u32 phy_FwRFSerialRead(struct net_device *dev, in phy_FwRFSerialRead()
415 static void phy_FwRFSerialWrite(struct net_device *dev, in phy_FwRFSerialWrite()
470 void rtl8192_phy_configmac(struct net_device *dev) in rtl8192_phy_configmac()
[all …]
/OK3568_Linux_fs/kernel/drivers/pnp/pnpacpi/
H A Drsparser.c18 static void decode_irq_flags(struct pnp_dev *dev, int flags, u8 *triggering, in decode_irq_flags()
53 static int dma_flags(struct pnp_dev *dev, int type, int bus_master, in dma_flags()
101 static void pnpacpi_add_irqresource(struct pnp_dev *dev, struct resource *r) in pnpacpi_add_irqresource()
122 static int vendor_resource_matches(struct pnp_dev *dev, in vendor_resource_matches()
151 static void pnpacpi_parse_allocated_vendor(struct pnp_dev *dev, in pnpacpi_parse_allocated_vendor()
167 struct pnp_dev *dev = data; in pnpacpi_allocated_resource() local
270 int pnpacpi_parse_allocated_resource(struct pnp_dev *dev) in pnpacpi_parse_allocated_resource()
291 static __init void pnpacpi_parse_dma_option(struct pnp_dev *dev, in pnpacpi_parse_dma_option()
305 static __init void pnpacpi_parse_irq_option(struct pnp_dev *dev, in pnpacpi_parse_irq_option()
322 static __init void pnpacpi_parse_ext_irq_option(struct pnp_dev *dev, in pnpacpi_parse_ext_irq_option()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c77 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state()
82 void mlx5_set_nic_state(struct mlx5_core_dev *dev, u8 state) in mlx5_set_nic_state()
92 static bool sensor_pci_not_working(struct mlx5_core_dev *dev) in sensor_pci_not_working()
101 static bool sensor_fw_synd_rfr(struct mlx5_core_dev *dev) in sensor_fw_synd_rfr()
113 u32 mlx5_health_check_fatal_sensors(struct mlx5_core_dev *dev) in mlx5_health_check_fatal_sensors()
129 static int lock_sem_sw_reset(struct mlx5_core_dev *dev, bool lock) in lock_sem_sw_reset()
162 static bool reset_fw_if_needed(struct mlx5_core_dev *dev) in reset_fw_if_needed()
193 static void enter_error_state(struct mlx5_core_dev *dev, bool force) in enter_error_state()
203 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) in mlx5_enter_error_state()
228 void mlx5_error_sw_reset(struct mlx5_core_dev *dev) in mlx5_error_sw_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/pci/saa7164/
H A Dsaa7164-api.c13 int saa7164_api_get_load_info(struct saa7164_dev *dev, struct tmFwInfoStruct *i) in saa7164_api_get_load_info()
37 int saa7164_api_collect_debug(struct saa7164_dev *dev) in saa7164_api_collect_debug()
65 int saa7164_api_set_debug(struct saa7164_dev *dev, u8 level) in saa7164_api_set_debug()
93 struct saa7164_dev *dev = port->dev; in saa7164_api_set_vbi_format() local
156 struct saa7164_dev *dev = port->dev; in saa7164_api_set_gop_size() local
175 struct saa7164_dev *dev = port->dev; in saa7164_api_set_encoder() local
234 struct saa7164_dev *dev = port->dev; in saa7164_api_get_encoder() local
312 struct saa7164_dev *dev = port->dev; in saa7164_api_set_aspect_ratio() local
356 struct saa7164_dev *dev = port->dev; in saa7164_api_set_usercontrol() local
390 struct saa7164_dev *dev = port->dev; in saa7164_api_get_usercontrol() local
[all …]
/OK3568_Linux_fs/kernel/net/bluetooth/rfcomm/
H A Dtty.c83 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_destruct() local
113 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_activate() local
125 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_carrier_raised() local
133 struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); in rfcomm_dev_shutdown() local
151 struct rfcomm_dev *dev; in __rfcomm_dev_lookup() local
162 struct rfcomm_dev *dev; in rfcomm_dev_get() local
176 static void rfcomm_reparent_device(struct rfcomm_dev *dev) in rfcomm_reparent_device()
203 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_address() local
209 struct rfcomm_dev *dev = dev_get_drvdata(tty_dev); in show_channel() local
219 struct rfcomm_dev *dev, *entry; in __rfcomm_dev_add() local
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/cx231xx/
H A Dcx231xx-core.c58 void cx231xx_remove_from_devlist(struct cx231xx *dev) in cx231xx_remove_from_devlist()
73 void cx231xx_add_into_devlist(struct cx231xx *dev) in cx231xx_add_into_devlist()
85 struct cx231xx *dev = NULL; in cx231xx_register_extension() local
100 struct cx231xx *dev = NULL; in cx231xx_unregister_extension() local
113 void cx231xx_init_extension(struct cx231xx *dev) in cx231xx_init_extension()
125 void cx231xx_close_extension(struct cx231xx *dev) in cx231xx_close_extension()
144 struct cx231xx *dev = i2c_bus->dev; in cx231xx_send_usb_command() local
221 static int __usb_control_msg(struct cx231xx *dev, unsigned int pipe, in __usb_control_msg()
278 int cx231xx_read_ctrl_reg(struct cx231xx *dev, u8 req, u16 reg, in cx231xx_read_ctrl_reg()
317 int cx231xx_send_vendor_cmd(struct cx231xx *dev, in cx231xx_send_vendor_cmd()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dpci-driver.c224 struct pci_dev *dev) in pci_match_id()
254 struct pci_dev *dev) in pci_match_device()
285 struct pci_dev *dev; member
294 struct device *dev = &pci_dev->dev; in local_pci_probe() local
325 static bool pci_physfn_is_probed(struct pci_dev *dev) in pci_physfn_is_probed()
334 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe()
395 int __weak pcibios_alloc_irq(struct pci_dev *dev) in pcibios_alloc_irq()
400 void __weak pcibios_free_irq(struct pci_dev *dev) in pcibios_free_irq()
417 static int pci_device_probe(struct device *dev) in pci_device_probe()
442 static int pci_device_remove(struct device *dev) in pci_device_remove()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c86 static u64 get_async_ev_mask(struct mlx4_dev *dev) in get_async_ev_mask()
144 struct mlx4_dev *dev = &priv->dev; in mlx4_gen_slave_eqe() local
194 static void slave_event(struct mlx4_dev *dev, u8 slave, struct mlx4_eqe *eqe) in slave_event()
223 static void mlx4_slave_event(struct mlx4_dev *dev, int slave, in mlx4_slave_event()
240 struct mlx4_dev *dev = &priv->dev; in mlx4_set_eq_affinity_hint() local
253 int mlx4_gen_pkey_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_pkey_eqe()
273 int mlx4_gen_guid_change_eqe(struct mlx4_dev *dev, int slave, u8 port) in mlx4_gen_guid_change_eqe()
290 int mlx4_gen_port_state_change_eqe(struct mlx4_dev *dev, int slave, u8 port, in mlx4_gen_port_state_change_eqe()
311 enum slave_port_state mlx4_get_slave_port_state(struct mlx4_dev *dev, int slave, u8 port) in mlx4_get_slave_port_state()
327 static int mlx4_set_slave_port_state(struct mlx4_dev *dev, int slave, u8 port, in mlx4_set_slave_port_state()
[all …]

12345678910>>...556