Home
last modified time | relevance | path

Searched refs:dev (Results 2676 - 2700 of 38041) sorted by relevance

1...<<101102103104105106107108109110>>...1522

/kernel/linux/linux-6.6/drivers/gpu/drm/lima/
H A Dlima_mmu.c24 dev_err(dev->dev, \
32 struct lima_device *dev = ip->dev; in lima_mmu_irq_handler() local
43 dev_err(dev->dev, "mmu page fault at 0x%x from bus id %d of type %s on %s\n", in lima_mmu_irq_handler()
50 dev_err(dev->dev, "mmu %s irq bus error\n", lima_ip_name(ip)); in lima_mmu_irq_handler()
56 pipe = dev->pipe + (ip->id == lima_ip_gpmmu ? lima_pipe_gp : lima_pipe_pp); in lima_mmu_irq_handler()
64 struct lima_device *dev in lima_mmu_hw_init() local
97 struct lima_device *dev = ip->dev; lima_mmu_init() local
131 struct lima_device *dev = ip->dev; lima_mmu_switch_vm() local
150 struct lima_device *dev = ip->dev; lima_mmu_page_fault_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_disp_aal.c35 int mtk_aal_clk_enable(struct device *dev) in mtk_aal_clk_enable() argument
37 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_enable()
42 void mtk_aal_clk_disable(struct device *dev) in mtk_aal_clk_disable() argument
44 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_clk_disable()
49 void mtk_aal_config(struct device *dev, unsigned int w, in mtk_aal_config() argument
53 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_config()
59 void mtk_aal_gamma_set(struct device *dev, struct drm_crtc_state *state) in mtk_aal_gamma_set() argument
61 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_gamma_set()
67 void mtk_aal_start(struct device *dev) in mtk_aal_start() argument
69 struct mtk_disp_aal *aal = dev_get_drvdata(dev); in mtk_aal_start()
74 mtk_aal_stop(struct device *dev) mtk_aal_stop() argument
81 mtk_disp_aal_bind(struct device *dev, struct device *master, void *data) mtk_disp_aal_bind() argument
87 mtk_disp_aal_unbind(struct device *dev, struct device *master, void *data) mtk_disp_aal_unbind() argument
99 struct device *dev = &pdev->dev; mtk_disp_aal_probe() local
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtick-internal.h20 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast);
21 extern void tick_handle_periodic(struct clock_event_device *dev);
22 extern void tick_check_new_device(struct clock_event_device *dev);
28 extern void tick_install_replacement(struct clock_event_device *dev);
32 extern int clockevents_tick_resume(struct clock_event_device *dev);
34 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() argument
36 return !(dev->features & CLOCK_EVT_FEAT_DUMMY); in tick_device_is_functional()
39 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() argument
41 return dev->state_use_accessors; in clockevent_get_state()
44 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() argument
76 tick_install_broadcast_device(struct clock_event_device *dev, int cpu) tick_install_broadcast_device() argument
77 tick_is_broadcast_device(struct clock_event_device *dev) tick_is_broadcast_device() argument
78 tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) tick_device_uses_broadcast() argument
84 tick_broadcast_update_freq(struct clock_event_device *dev, u32 freq) tick_broadcast_update_freq() argument
87 tick_set_periodic_handler(struct clock_event_device *dev, int broadcast) tick_set_periodic_handler() argument
[all...]
/kernel/linux/linux-5.10/drivers/i2c/
H A Di2c-core-base.c95 static int i2c_device_match(struct device *dev, struct device_driver *drv) in i2c_device_match() argument
97 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_match()
106 if (acpi_driver_match_device(dev, drv)) in i2c_device_match()
118 static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env) in i2c_device_uevent() argument
120 struct i2c_client *client = to_i2c_client(dev); in i2c_device_uevent()
123 rc = of_device_uevent_modalias(dev, env); in i2c_device_uevent()
127 rc = acpi_device_uevent_modalias(dev, env); in i2c_device_uevent()
209 dev_err(&adap->dev, in i2c_generic_scl_recovery()
255 dev_dbg(&adap->dev, "Trying i2c bus recovery\n"); in i2c_recover_bus()
263 struct device *dev in i2c_gpio_init_pinctrl_recovery() local
308 struct device *dev = &adap->dev; i2c_gpio_init_generic_recovery() local
441 i2c_device_probe(struct device *dev) i2c_device_probe() argument
552 i2c_device_remove(struct device *dev) i2c_device_remove() argument
579 i2c_device_shutdown(struct device *dev) i2c_device_shutdown() argument
593 i2c_client_dev_release(struct device *dev) i2c_client_dev_release() argument
599 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
607 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) modalias_show() argument
658 i2c_verify_client(struct device *dev) i2c_verify_client() argument
719 __i2c_check_addr_busy(struct device *dev, void *addrp) __i2c_check_addr_busy() argument
745 i2c_check_mux_children(struct device *dev, void *addrp) i2c_check_mux_children() argument
1025 devm_i2c_release_dummy(struct device *dev, void *res) devm_i2c_release_dummy() argument
1042 devm_i2c_new_dummy_device(struct device *dev, struct i2c_adapter *adapter, u16 address) devm_i2c_new_dummy_device() argument
1110 i2c_adapter_dev_release(struct device *dev) i2c_adapter_dev_release() argument
1141 new_device_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) new_device_store() argument
1209 delete_device_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) delete_device_store() argument
1278 i2c_verify_adapter(struct device *dev) i2c_verify_adapter() argument
1531 struct device *dev = &adapter->dev; i2c_add_adapter() local
1604 __unregister_client(struct device *dev, void *dummy) __unregister_client() argument
1612 __unregister_dummy(struct device *dev, void *dummy) __unregister_dummy() argument
1708 i2c_parse_timing(struct device *dev, char *prop_name, u32 *cur_val_p, u32 def_val, bool use_def) i2c_parse_timing() argument
1736 i2c_parse_fw_timings(struct device *dev, struct i2c_timings *t, bool use_defaults) i2c_parse_fw_timings() argument
1765 i2c_for_each_dev(void *data, int (*fn)(struct device *dev, void *data)) i2c_for_each_dev() argument
1777 __process_new_driver(struct device *dev, void *data) __process_new_driver() argument
1818 __process_removed_driver(struct device *dev, void *data) __process_removed_driver() argument
1846 i2c_cmd(struct device *dev, void *_arg) i2c_cmd() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_transport_sas.c174 struct Scsi_Host *shost = dev_to_shost(job->dev); in sas_smp_dispatch()
177 if (!scsi_is_host_device(job->dev)) in sas_smp_dispatch()
178 rphy = dev_to_rphy(job->dev); in sas_smp_dispatch()
181 dev_warn(job->dev, "space for a smp response is missing\n"); in sas_smp_dispatch()
200 q = bsg_setup_queue(&rphy->dev, dev_name(&rphy->dev), in sas_bsg_initialize()
223 static int sas_host_setup(struct transport_container *tc, struct device *dev, in sas_host_setup() argument
226 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_setup()
236 dev_printk(KERN_ERR, dev, "fail to a bsg device %d\n", in sas_host_setup()
242 static int sas_host_remove(struct transport_container *tc, struct device *dev, in sas_host_remove() argument
255 sas_host_match(struct attribute_container *cont, struct device *dev) sas_host_match() argument
275 do_sas_phy_delete(struct device *dev, void *data) do_sas_phy_delete() argument
292 sas_remove_children(struct device *dev) sas_remove_children() argument
513 show_sas_device_type(struct device *dev, struct device_attribute *attr, char *buf) show_sas_device_type() argument
524 do_sas_phy_enable(struct device *dev, size_t count, int enable) do_sas_phy_enable() argument
540 store_sas_phy_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_phy_enable() argument
561 show_sas_phy_enable(struct device *dev, struct device_attribute *attr, char *buf) show_sas_phy_enable() argument
573 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) do_sas_phy_reset() argument
588 store_sas_link_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_link_reset() argument
596 store_sas_hard_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_hard_reset() argument
620 sas_phy_setup(struct transport_container *tc, struct device *dev, struct device *cdev) sas_phy_setup() argument
636 sas_phy_match(struct attribute_container *cont, struct device *dev) sas_phy_match() argument
655 sas_phy_release(struct device *dev) sas_phy_release() argument
760 struct device *dev = &phy->dev; sas_phy_delete() local
779 scsi_is_sas_phy(const struct device *dev) scsi_is_sas_phy() argument
807 sas_port_match(struct attribute_container *cont, struct device *dev) sas_port_match() argument
827 sas_port_release(struct device *dev) sas_port_release() argument
989 struct device *dev = &port->dev; sas_port_delete() local
1026 scsi_is_sas_port(const struct device *dev) scsi_is_sas_port() argument
1168 show_sas_rphy_device_type(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_device_type() argument
1183 show_sas_rphy_enclosure_identifier(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_enclosure_identifier() argument
1203 show_sas_rphy_bay_identifier(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_bay_identifier() argument
1327 sas_rphy_match(struct attribute_container *cont, struct device *dev) sas_rphy_match() argument
1346 sas_end_dev_match(struct attribute_container *cont, struct device *dev) sas_end_dev_match() argument
1369 sas_expander_match(struct attribute_container *cont, struct device *dev) sas_expander_match() argument
1393 sas_expander_release(struct device *dev) sas_expander_release() argument
1402 sas_end_device_release(struct device *dev) sas_end_device_release() argument
1569 struct device *dev = &rphy->dev; sas_rphy_free() local
1620 struct device *dev = &rphy->dev; sas_rphy_remove() local
1648 scsi_is_sas_rphy(const struct device *dev) scsi_is_sas_rphy() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aeroflex/
H A Dgreth.c67 static int greth_open(struct net_device *dev);
69 struct net_device *dev);
71 struct net_device *dev);
72 static int greth_rx(struct net_device *dev, int limit);
73 static int greth_rx_gbit(struct net_device *dev, int limit);
74 static void greth_clean_tx(struct net_device *dev);
75 static void greth_clean_tx_gbit(struct net_device *dev);
77 static int greth_close(struct net_device *dev);
78 static int greth_set_mac_add(struct net_device *dev, void *p);
79 static void greth_set_multicast_list(struct net_device *dev);
339 greth_open(struct net_device *dev) greth_open() argument
374 greth_close(struct net_device *dev) greth_close() argument
394 greth_start_xmit(struct sk_buff *skb, struct net_device *dev) greth_start_xmit() argument
463 greth_start_xmit_gbit(struct sk_buff *skb, struct net_device *dev) greth_start_xmit_gbit() argument
585 struct net_device *dev = dev_id; greth_interrupt() local
618 greth_clean_tx(struct net_device *dev) greth_clean_tx() argument
657 greth_update_tx_stats(struct net_device *dev, u32 stat) greth_update_tx_stats() argument
672 greth_clean_tx_gbit(struct net_device *dev) greth_clean_tx_gbit() argument
738 greth_rx(struct net_device *dev, int limit) greth_rx() argument
854 greth_rx_gbit(struct net_device *dev, int limit) greth_rx_gbit() argument
1017 greth_set_mac_add(struct net_device *dev, void *p) greth_set_mac_add() argument
1042 greth_set_hash_filter(struct net_device *dev) greth_set_hash_filter() argument
1061 greth_set_multicast_list(struct net_device *dev) greth_set_multicast_list() argument
1095 greth_get_msglevel(struct net_device *dev) greth_get_msglevel() argument
1101 greth_set_msglevel(struct net_device *dev, u32 value) greth_set_msglevel() argument
1107 greth_get_regs_len(struct net_device *dev) greth_get_regs_len() argument
1112 greth_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) greth_get_drvinfo() argument
1121 greth_get_regs(struct net_device *dev, struct ethtool_regs *regs, void *p) greth_get_regs() argument
1199 greth_link_change(struct net_device *dev) greth_link_change() argument
1252 greth_mdio_probe(struct net_device *dev) greth_mdio_probe() argument
1343 struct net_device *dev; greth_of_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_transport_sas.c174 struct Scsi_Host *shost = dev_to_shost(job->dev); in sas_smp_dispatch()
177 if (!scsi_is_host_device(job->dev)) in sas_smp_dispatch()
178 rphy = dev_to_rphy(job->dev); in sas_smp_dispatch()
181 dev_warn(job->dev, "space for a smp response is missing\n"); in sas_smp_dispatch()
200 q = bsg_setup_queue(&rphy->dev, dev_name(&rphy->dev), in sas_bsg_initialize()
223 static int sas_host_setup(struct transport_container *tc, struct device *dev, in sas_host_setup() argument
226 struct Scsi_Host *shost = dev_to_shost(dev); in sas_host_setup()
237 dev_printk(KERN_ERR, dev, "fail to a bsg device %d\n", in sas_host_setup()
248 static int sas_host_remove(struct transport_container *tc, struct device *dev, in sas_host_remove() argument
261 sas_host_match(struct attribute_container *cont, struct device *dev) sas_host_match() argument
281 do_sas_phy_delete(struct device *dev, void *data) do_sas_phy_delete() argument
298 sas_remove_children(struct device *dev) sas_remove_children() argument
519 show_sas_device_type(struct device *dev, struct device_attribute *attr, char *buf) show_sas_device_type() argument
530 do_sas_phy_enable(struct device *dev, size_t count, int enable) do_sas_phy_enable() argument
546 store_sas_phy_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_phy_enable() argument
567 show_sas_phy_enable(struct device *dev, struct device_attribute *attr, char *buf) show_sas_phy_enable() argument
579 do_sas_phy_reset(struct device *dev, size_t count, int hard_reset) do_sas_phy_reset() argument
594 store_sas_link_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_link_reset() argument
602 store_sas_hard_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) store_sas_hard_reset() argument
626 sas_phy_setup(struct transport_container *tc, struct device *dev, struct device *cdev) sas_phy_setup() argument
642 sas_phy_match(struct attribute_container *cont, struct device *dev) sas_phy_match() argument
661 sas_phy_release(struct device *dev) sas_phy_release() argument
766 struct device *dev = &phy->dev; sas_phy_delete() local
785 scsi_is_sas_phy(const struct device *dev) scsi_is_sas_phy() argument
813 sas_port_match(struct attribute_container *cont, struct device *dev) sas_port_match() argument
833 sas_port_release(struct device *dev) sas_port_release() argument
995 struct device *dev = &port->dev; sas_port_delete() local
1032 scsi_is_sas_port(const struct device *dev) scsi_is_sas_port() argument
1174 show_sas_rphy_device_type(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_device_type() argument
1189 show_sas_rphy_enclosure_identifier(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_enclosure_identifier() argument
1209 show_sas_rphy_bay_identifier(struct device *dev, struct device_attribute *attr, char *buf) show_sas_rphy_bay_identifier() argument
1333 sas_rphy_match(struct attribute_container *cont, struct device *dev) sas_rphy_match() argument
1352 sas_end_dev_match(struct attribute_container *cont, struct device *dev) sas_end_dev_match() argument
1375 sas_expander_match(struct attribute_container *cont, struct device *dev) sas_expander_match() argument
1399 sas_expander_release(struct device *dev) sas_expander_release() argument
1408 sas_end_device_release(struct device *dev) sas_end_device_release() argument
1575 struct device *dev = &rphy->dev; sas_rphy_free() local
1626 struct device *dev = &rphy->dev; sas_rphy_remove() local
1654 scsi_is_sas_rphy(const struct device *dev) scsi_is_sas_rphy() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/
H A Dray_cs.c62 static int ray_dev_close(struct net_device *dev);
63 static int ray_dev_config(struct net_device *dev, struct ifmap *map);
64 static struct net_device_stats *ray_get_stats(struct net_device *dev);
65 static int ray_dev_init(struct net_device *dev);
67 static int ray_open(struct net_device *dev);
69 struct net_device *dev);
70 static void set_multicast_list(struct net_device *dev);
71 static void ray_update_multi_list(struct net_device *dev, int all);
77 static iw_stats *ray_get_wireless_stats(struct net_device *dev);
88 static int ray_hw_xmit(unsigned char *data, int len, struct net_device *dev, UCHA
272 struct net_device *dev; ray_probe() local
330 struct net_device *dev; ray_detach() local
351 struct net_device *dev = (struct net_device *)link->priv; ray_config() local
448 ccs_base(ray_dev_t *dev) ccs_base() argument
453 rcs_base(ray_dev_t *dev) rcs_base() argument
466 ray_init(struct net_device *dev) ray_init() argument
524 dl_startup_params(struct net_device *dev) dl_startup_params() argument
734 struct net_device *dev = link->priv; ray_release() local
754 struct net_device *dev = link->priv; ray_suspend() local
764 struct net_device *dev = link->priv; ray_resume() local
775 ray_dev_init(struct net_device *dev) ray_dev_init() argument
813 ray_dev_config(struct net_device *dev, struct ifmap *map) ray_dev_config() argument
828 ray_dev_start_xmit(struct sk_buff *skb, struct net_device *dev) ray_dev_start_xmit() argument
872 ray_hw_xmit(unsigned char *data, int len, struct net_device *dev, UCHAR msg_type) ray_hw_xmit() argument
1027 ray_get_name(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_name() argument
1038 ray_set_freq(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_freq() argument
1061 ray_get_freq(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_freq() argument
1075 ray_set_essid(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_essid() argument
1104 ray_get_essid(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_essid() argument
1126 ray_get_wap(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_wap() argument
1141 ray_set_rate(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_rate() argument
1168 ray_get_rate(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_rate() argument
1186 ray_set_rts(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_rts() argument
1213 ray_get_rts(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_rts() argument
1230 ray_set_frag(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_frag() argument
1257 ray_get_frag(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_frag() argument
1274 ray_set_mode(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_mode() argument
1303 ray_get_mode(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_mode() argument
1320 ray_get_range(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_range() argument
1351 ray_set_framing(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_set_framing() argument
1363 ray_get_framing(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_framing() argument
1375 ray_get_country(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_get_country() argument
1387 ray_commit(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ray_commit() argument
1397 ray_get_wireless_stats(struct net_device *dev) ray_get_wireless_stats() argument
1485 ray_open(struct net_device *dev) ray_open() argument
1522 ray_dev_close(struct net_device *dev) ray_dev_close() argument
1542 ray_reset(struct net_device *dev) ray_reset() argument
1682 ray_get_stats(struct net_device *dev) ray_get_stats() argument
1711 ray_update_parm(struct net_device *dev, UCHAR objid, UCHAR *value, int len) ray_update_parm() argument
1745 ray_update_multi_list(struct net_device *dev, int all) ray_update_multi_list() argument
1795 set_multicast_list(struct net_device *dev) set_multicast_list() argument
1833 struct net_device *dev = (struct net_device *)dev_id; ray_interrupt() local
2044 ray_rx(struct net_device *dev, ray_dev_t *local, struct rcs __iomem *prcs) ray_rx() argument
2105 rx_data(struct net_device *dev, struct rcs __iomem *prcs, unsigned int pkt_addr, int rx_len) rx_data() argument
2475 struct net_device *dev = link->priv; associate() local
2561 struct net_device *dev; ray_cs_proc_show() local
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dndisc.c73 const struct net_device *dev,
76 static bool ndisc_allow_add(const struct net_device *dev,
170 __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, in ndisc_fill_addr_option()
171 ndisc_addr_option_pad(skb->dev->type)); in ndisc_fill_addr_option()
172 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option()
180 ndisc_ops_fill_redirect_addr_option(skb->dev, skb, ops_data); in ndisc_fill_redirect_addr_option()
196 static inline int ndisc_is_useropt(const struct net_device *dev, in ndisc_is_useropt() argument
204 ndisc_ops_is_useropt(dev, opt->nd_opt_type); in ndisc_is_useropt()
207 static struct nd_opt_hdr *ndisc_next_useropt(const struct net_device *dev, in ndisc_next_useropt() argument
215 } while (cur < end && !ndisc_is_useropt(dev, cu in ndisc_next_useropt()
219 ndisc_parse_options(const struct net_device *dev, u8 *opt, int opt_len, struct ndisc_options *ndopts) ndisc_parse_options() argument
288 ndisc_mc_map(const struct in6_addr *addr, char *buf, struct net_device *dev, int dir) ndisc_mc_map() argument
314 ndisc_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) ndisc_hash() argument
329 struct net_device *dev = neigh->dev; ndisc_constructor() local
378 struct net_device *dev = n->dev; pndisc_constructor() local
391 struct net_device *dev = n->dev; pndisc_destructor() local
400 ndisc_allow_add(const struct net_device *dev, struct netlink_ext_ack *extack) ndisc_allow_add() argument
413 ndisc_alloc_skb(struct net_device *dev, int len) ndisc_alloc_skb() argument
520 ndisc_send_na(struct net_device *dev, const struct in6_addr *daddr, const struct in6_addr *solicited_addr, bool router, bool solicited, bool override, bool inc_opt) ndisc_send_na() argument
576 ndisc_send_unsol_na(struct net_device *dev) ndisc_send_unsol_na() argument
602 ndisc_send_ns(struct net_device *dev, const struct in6_addr *solicit, const struct in6_addr *daddr, const struct in6_addr *saddr, u64 nonce) ndisc_send_ns() argument
654 ndisc_send_rs(struct net_device *dev, const struct in6_addr *saddr, const struct in6_addr *daddr) ndisc_send_rs() argument
723 struct net_device *dev = neigh->dev; ndisc_solicit() local
747 pndisc_is_router(const void *pkey, struct net_device *dev) pndisc_is_router() argument
762 ndisc_update(const struct net_device *dev, struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags, u8 icmp6_type, struct ndisc_options *ndopts) ndisc_update() argument
780 struct net_device *dev = skb->dev; ndisc_recv_ns() local
964 struct net_device *dev = skb->dev; ndisc_recv_na() local
1591 struct net_device *dev = skb->dev; ndisc_send_redirect() local
1794 struct net_device *dev = netdev_notifier_info_to_dev(ptr); ndisc_netdev_event() local
1858 struct net_device *dev = ctl->extra1; ndisc_ifinfo_sysctl_change() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c29 #include <linux/can/dev.h>
461 static u8 kvaser_usb_hydra_channel_from_cmd(const struct kvaser_usb *dev, in kvaser_usb_hydra_channel_from_cmd() argument
469 if (dev->card_data.hydra.channel_to_he[i] == src_he) { in kvaser_usb_hydra_channel_from_cmd()
478 static u16 kvaser_usb_hydra_get_next_transid(struct kvaser_usb *dev) in kvaser_usb_hydra_get_next_transid() argument
483 &dev->card_data.hydra; in kvaser_usb_hydra_get_next_transid()
510 kvaser_usb_hydra_net_priv_from_cmd(const struct kvaser_usb *dev, in kvaser_usb_hydra_net_priv_from_cmd() argument
514 u8 channel = kvaser_usb_hydra_channel_from_cmd(dev, cmd); in kvaser_usb_hydra_net_priv_from_cmd()
516 if (channel >= dev->nchannels) in kvaser_usb_hydra_net_priv_from_cmd()
517 dev_err(&dev->intf->dev, in kvaser_usb_hydra_net_priv_from_cmd()
544 kvaser_usb_hydra_send_simple_cmd(struct kvaser_usb *dev, u8 cmd_no, int channel) kvaser_usb_hydra_send_simple_cmd() argument
588 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_send_simple_cmd_async() local
616 kvaser_usb_hydra_wait_cmd(const struct kvaser_usb *dev, u8 cmd_no, struct kvaser_cmd *cmd) kvaser_usb_hydra_wait_cmd() argument
669 kvaser_usb_hydra_map_channel_resp(struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_map_channel_resp() argument
707 kvaser_usb_hydra_map_channel(struct kvaser_usb *dev, u16 transid, u8 channel, const char *name) kvaser_usb_hydra_map_channel() argument
743 kvaser_usb_hydra_get_single_capability(struct kvaser_usb *dev, u16 cap_cmd_req, u16 *status) kvaser_usb_hydra_get_single_capability() argument
819 kvaser_usb_hydra_start_chip_reply(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_start_chip_reply() argument
837 kvaser_usb_hydra_stop_chip_reply(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_stop_chip_reply() argument
849 kvaser_usb_hydra_flush_queue_reply(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_flush_queue_reply() argument
861 kvaser_usb_hydra_get_busparams_reply(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_get_busparams_reply() argument
980 kvaser_usb_hydra_state_event(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_state_event() argument
1000 kvaser_usb_hydra_error_event_parameter(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_error_event_parameter() argument
1038 kvaser_usb_hydra_error_event(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_error_event() argument
1168 kvaser_usb_hydra_tx_acknowledge(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_tx_acknowledge() argument
1219 kvaser_usb_hydra_rx_msg_std(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_rx_msg_std() argument
1280 kvaser_usb_hydra_rx_msg_ext(const struct kvaser_usb *dev, const struct kvaser_cmd_ext *cmd) kvaser_usb_hydra_rx_msg_ext() argument
1360 kvaser_usb_hydra_handle_cmd_std(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_handle_cmd_std() argument
1408 kvaser_usb_hydra_handle_cmd_ext(const struct kvaser_usb *dev, const struct kvaser_cmd_ext *cmd) kvaser_usb_hydra_handle_cmd_ext() argument
1427 kvaser_usb_hydra_handle_cmd(const struct kvaser_usb *dev, const struct kvaser_cmd *cmd) kvaser_usb_hydra_handle_cmd() argument
1442 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_frame_to_cmd_ext() local
1525 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_frame_to_cmd_std() local
1588 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_get_busparams() local
1638 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_set_bittiming() local
1668 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_set_data_bittiming() local
1719 kvaser_usb_hydra_setup_endpoints(struct kvaser_usb *dev) kvaser_usb_hydra_setup_endpoints() argument
1745 kvaser_usb_hydra_init_card(struct kvaser_usb *dev) kvaser_usb_hydra_init_card() argument
1799 kvaser_usb_hydra_get_software_info(struct kvaser_usb *dev) kvaser_usb_hydra_get_software_info() argument
1820 kvaser_usb_hydra_get_software_details(struct kvaser_usb *dev) kvaser_usb_hydra_get_software_details() argument
1888 kvaser_usb_hydra_get_card_info(struct kvaser_usb *dev) kvaser_usb_hydra_get_card_info() argument
1909 kvaser_usb_hydra_get_capabilities(struct kvaser_usb *dev) kvaser_usb_hydra_get_capabilities() argument
1957 struct kvaser_usb *dev = priv->dev; kvaser_usb_hydra_set_opt_mode() local
2053 kvaser_usb_hydra_read_bulk_callback(struct kvaser_usb *dev, void *buf, int len) kvaser_usb_hydra_read_bulk_callback() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/qcom/
H A Dhidma.c195 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_callback()
196 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_callback()
205 mchan = devm_kzalloc(dmadev->ddev.dev, sizeof(*mchan), GFP_KERNEL); in hidma_chan_init()
231 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_issue_task()
258 status = pm_runtime_get(dmadev->ddev.dev); in hidma_issue_pending()
325 pm_runtime_get_sync(dmadev->ddev.dev); in hidma_tx_submit()
327 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_tx_submit()
328 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_tx_submit()
331 pm_runtime_mark_last_busy(dmadev->ddev.dev); in hidma_tx_submit()
332 pm_runtime_put_autosuspend(dmadev->ddev.dev); in hidma_tx_submit()
619 hidma_show_values(struct device *dev, struct device_attribute *attr, char *buf) hidma_show_values() argument
632 hidma_sysfs_uninit(struct hidma_dev *dev) hidma_sysfs_uninit() argument
638 hidma_create_sysfs_entry(struct hidma_dev *dev, char *name, int mode) hidma_create_sysfs_entry() argument
660 hidma_sysfs_init(struct hidma_dev *dev) hidma_sysfs_init() argument
672 struct device *dev = msi_desc_to_dev(desc); hidma_write_msi_msg() local
686 struct device *dev = dmadev->ddev.dev; hidma_free_msis() local
746 hidma_test_capability(struct device *dev, enum hidma_cap test_cap) hidma_test_capability() argument
[all...]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dnip_addrconf.c77 const struct net_device *dev);
78 static int nip_get_firstaddr(const struct net_device *dev,
80 static int nip_addrconf_ifdown(struct net_device *dev, bool unregister);
90 static inline bool nip_addrconf_link_ready(const struct net_device *dev) in nip_addrconf_link_ready() argument
92 return netif_oper_up(dev) && !qdisc_tx_is_noop(dev); in nip_addrconf_link_ready()
124 if (!netif_running(idev->dev)) { in nip_add_addr()
138 if (nip_chk_same_addr(dev_net(idev->dev), addr, idev->dev)) { in nip_add_addr()
197 idev->dev in nip_add_addr()
211 nip_add_dev(struct net_device *dev) nip_add_dev() argument
252 nip_find_idev(struct net_device *dev) nip_find_idev() argument
267 nip_addrconf_add_dev(struct net_device *dev) nip_addrconf_add_dev() argument
290 struct net_device *dev; ninet_addr_add() local
388 struct net_device *dev; ninet_addr_del() local
473 nip_chk_same_addr(struct net *net, const struct nip_addr *addr, const struct net_device *dev) nip_chk_same_addr() argument
503 nip_get_firstaddr(const struct net_device *dev, struct nip_addr *addr) nip_get_firstaddr() argument
520 nip_dev_get_saddr(struct net *net, const struct net_device *dev, const struct nip_addr *daddr, struct nip_addr *saddr) nip_dev_get_saddr() argument
532 struct net_device *dev = netdev_notifier_info_to_dev(ptr); nip_addrconf_notify() local
630 nip_addrconf_ifdown(struct net_device *dev, bool unregister) nip_addrconf_ifdown() argument
797 struct net_device *dev; nip_addrconf_cleanup() local
820 ninet_addr_get(const struct net_device *dev, struct ninet_ifaddr *ifa) ninet_addr_get() argument
837 struct net_device *dev; nip_addrconf_get_ifaddr() local
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dbareudp.c44 struct net_device *dev; /* netdev for bareudp tunnel */ member
78 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
88 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
102 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
118 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
129 dev_net(bareudp->dev)))) { in bareudp_udp_encap_recv()
130 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
135 bareudp->dev->stats.rx_dropped++; in bareudp_udp_encap_recv()
139 skb->dev = bareudp->dev; in bareudp_udp_encap_recv()
184 bareudp_init(struct net_device *dev) bareudp_init() argument
201 bareudp_uninit(struct net_device *dev) bareudp_uninit() argument
254 bareudp_open(struct net_device *dev) bareudp_open() argument
273 bareudp_stop(struct net_device *dev) bareudp_stop() argument
281 bareudp_xmit_skb(struct sk_buff *skb, struct net_device *dev, struct bareudp_dev *bareudp, const struct ip_tunnel_info *info) bareudp_xmit_skb() argument
344 bareudp6_xmit_skb(struct sk_buff *skb, struct net_device *dev, struct bareudp_dev *bareudp, const struct ip_tunnel_info *info) bareudp6_xmit_skb() argument
425 bareudp_xmit(struct sk_buff *skb, struct net_device *dev) bareudp_xmit() argument
464 bareudp_fill_metadata_dst(struct net_device *dev, struct sk_buff *skb) bareudp_fill_metadata_dst() argument
531 bareudp_setup(struct net_device *dev) bareudp_setup() argument
605 bareudp_configure(struct net *net, struct net_device *dev, struct bareudp_conf *conf) bareudp_configure() argument
636 bareudp_link_config(struct net_device *dev, struct nlattr *tb[]) bareudp_link_config() argument
649 bareudp_dellink(struct net_device *dev, struct list_head *head) bareudp_dellink() argument
657 bareudp_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) bareudp_newlink() argument
685 bareudp_get_size(const struct net_device *dev) bareudp_get_size() argument
694 bareudp_fill_info(struct sk_buff *skb, const struct net_device *dev) bareudp_fill_info() argument
732 struct net_device *dev; bareudp_dev_create() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_kms.c25 struct device *dev = &mdp5_kms->pdev->dev; in mdp5_hw_init() local
28 pm_runtime_get_sync(dev); in mdp5_hw_init()
60 pm_runtime_put_sync(dev); in mdp5_hw_init()
84 struct msm_drm_private *priv = s->dev->dev_private; in mdp5_get_global_state()
139 drm_atomic_private_obj_init(mdp5_kms->dev, &mdp5_kms->glob_state, in mdp5_global_obj_init()
148 pm_runtime_get_sync(&mdp5_kms->pdev->dev); in mdp5_enable_commit()
154 pm_runtime_put_sync(&mdp5_kms->pdev->dev); in mdp5_disable_commit()
178 for_each_crtc_mask(mdp5_kms->dev, crtc, crtc_mask) in mdp5_wait_flush()
241 struct drm_device *dev in smp_show() local
340 struct drm_device *dev = mdp5_kms->dev; construct_encoder() local
376 struct drm_device *dev = mdp5_kms->dev; modeset_init_intf() local
462 struct drm_device *dev = mdp5_kms->dev; modeset_init() local
548 struct device *dev = &mdp5_kms->pdev->dev; read_mdp_hw_revision() local
564 struct device *dev = &pdev->dev; get_clk() local
578 mdp5_kms_init(struct drm_device *dev) mdp5_kms_init() argument
701 struct drm_device *dev = mdp5_kms->dev; construct_pipes() local
770 struct drm_device *dev = mdp5_kms->dev; hwmixer_init() local
796 struct drm_device *dev = mdp5_kms->dev; interface_init() local
826 mdp5_init(struct platform_device *pdev, struct drm_device *dev) mdp5_init() argument
943 mdp5_bind(struct device *dev, struct device *master, void *data) mdp5_bind() argument
953 mdp5_unbind(struct device *dev, struct device *master, void *data) mdp5_unbind() argument
1016 mdp5_runtime_suspend(struct device *dev) mdp5_runtime_suspend() argument
1026 mdp5_runtime_resume(struct device *dev) mdp5_runtime_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c44 static void cedrus_h264_write_sram(struct cedrus_dev *dev, in cedrus_h264_write_sram() argument
51 cedrus_write(dev, VE_AVC_SRAM_PORT_OFFSET, off << 2); in cedrus_h264_write_sram()
54 cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, *buffer++); in cedrus_h264_write_sram()
101 struct cedrus_dev *dev = ctx->dev; in cedrus_write_frame_list() local
161 cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_FRAMEBUFFER_LIST, in cedrus_write_frame_list()
164 cedrus_write(dev, VE_H264_OUTPUT_FRAME_IDX, position); in cedrus_write_frame_list()
176 struct cedrus_dev *dev = ctx->dev; in _cedrus_write_ref_list() local
211 cedrus_h264_write_sram(dev, sra in _cedrus_write_ref_list()
242 struct cedrus_dev *dev = ctx->dev; cedrus_write_scaling_lists() local
265 struct cedrus_dev *dev = ctx->dev; cedrus_write_pred_weight_table() local
304 cedrus_skip_bits(struct cedrus_dev *dev, int num) cedrus_skip_bits() argument
329 struct cedrus_dev *dev = ctx->dev; cedrus_set_params() local
466 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_status() local
481 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_clear() local
489 struct cedrus_dev *dev = ctx->dev; cedrus_h264_irq_disable() local
499 struct cedrus_dev *dev = ctx->dev; cedrus_h264_setup() local
517 struct cedrus_dev *dev = ctx->dev; cedrus_h264_start() local
655 struct cedrus_dev *dev = ctx->dev; cedrus_h264_stop() local
678 struct cedrus_dev *dev = ctx->dev; cedrus_h264_trigger() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Daddi_apci_3xxx.c350 struct comedi_device *dev = d; in apci3xxx_irq_handler() local
351 struct comedi_subdevice *s = dev->read_subdev; in apci3xxx_irq_handler()
356 status = readl(dev->mmio + 16); in apci3xxx_irq_handler()
359 writel(status, dev->mmio + 16); in apci3xxx_irq_handler()
361 val = readl(dev->mmio + 28); in apci3xxx_irq_handler()
365 comedi_handle_events(dev, s); in apci3xxx_irq_handler()
372 static int apci3xxx_ai_started(struct comedi_device *dev) in apci3xxx_ai_started() argument
374 if ((readl(dev->mmio + 8) & 0x80000) == 0x80000) in apci3xxx_ai_started()
380 static int apci3xxx_ai_setup(struct comedi_device *dev, unsigned int chanspec) in apci3xxx_ai_setup() argument
388 if (apci3xxx_ai_started(dev)) in apci3xxx_ai_setup()
419 apci3xxx_ai_eoc(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned long context) apci3xxx_ai_eoc() argument
432 apci3xxx_ai_insn_read(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_ai_insn_read() argument
460 apci3xxx_ai_ns_to_timer(struct comedi_device *dev, unsigned int *ns, unsigned int flags) apci3xxx_ai_ns_to_timer() argument
510 apci3xxx_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) apci3xxx_ai_cmdtest() argument
567 apci3xxx_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) apci3xxx_ai_cmd() argument
590 apci3xxx_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s) apci3xxx_ai_cancel() argument
596 apci3xxx_ao_eoc(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned long context) apci3xxx_ao_eoc() argument
609 apci3xxx_ao_insn_write(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_ao_insn_write() argument
639 apci3xxx_di_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_di_insn_bits() argument
649 apci3xxx_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_do_insn_bits() argument
664 apci3xxx_dio_insn_config(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_dio_insn_config() argument
697 apci3xxx_dio_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_dio_insn_bits() argument
725 apci3xxx_reset(struct comedi_device *dev) apci3xxx_reset() argument
753 apci3xxx_auto_attach(struct comedi_device *dev, unsigned long context) apci3xxx_auto_attach() argument
901 apci3xxx_detach(struct comedi_device *dev) apci3xxx_detach() argument
915 apci3xxx_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) apci3xxx_pci_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/
H A Dhisi_femac.c117 struct device *dev; member
148 dma_unmap_single(priv->dev, dma_addr, skb->len, DMA_TO_DEVICE); in hisi_femac_tx_dma_unmap()
151 static void hisi_femac_xmit_reclaim(struct net_device *dev) in hisi_femac_xmit_reclaim() argument
154 struct hisi_femac_priv *priv = netdev_priv(dev); in hisi_femac_xmit_reclaim()
159 netif_tx_lock(dev); in hisi_femac_xmit_reclaim()
165 netdev_err(dev, "xmitq_cnt_inuse=%d, tx_fifo_used=%d\n", in hisi_femac_xmit_reclaim()
181 netdev_completed_queue(dev, pkts_compl, bytes_compl); in hisi_femac_xmit_reclaim()
183 if (unlikely(netif_queue_stopped(dev)) && pkts_compl) in hisi_femac_xmit_reclaim()
184 netif_wake_queue(dev); in hisi_femac_xmit_reclaim()
186 netif_tx_unlock(dev); in hisi_femac_xmit_reclaim()
189 hisi_femac_adjust_link(struct net_device *dev) hisi_femac_adjust_link() argument
245 hisi_femac_rx(struct net_device *dev, int limit) hisi_femac_rx() argument
303 struct net_device *dev = priv->ndev; hisi_femac_poll() local
332 struct net_device *dev = (struct net_device *)dev_id; hisi_femac_interrupt() local
347 hisi_femac_init_queue(struct device *dev, struct hisi_femac_queue *queue, unsigned int num) hisi_femac_init_queue() argument
459 hisi_femac_net_open(struct net_device *dev) hisi_femac_net_open() argument
482 hisi_femac_net_close(struct net_device *dev) hisi_femac_net_close() argument
499 hisi_femac_net_xmit(struct sk_buff *skb, struct net_device *dev) hisi_femac_net_xmit() argument
550 hisi_femac_set_mac_address(struct net_device *dev, void *p) hisi_femac_set_mac_address() argument
615 struct net_device *dev = priv->ndev; hisi_femac_set_mc_addr_filter() local
642 struct net_device *dev = priv->ndev; hisi_femac_set_uc_addr_filter() local
665 hisi_femac_net_set_rx_mode(struct net_device *dev) hisi_femac_net_set_rx_mode() argument
770 struct device *dev = &pdev->dev; hisi_femac_drv_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Daddi_apci_3xxx.c349 struct comedi_device *dev = d; in apci3xxx_irq_handler() local
350 struct comedi_subdevice *s = dev->read_subdev; in apci3xxx_irq_handler()
355 status = readl(dev->mmio + 16); in apci3xxx_irq_handler()
358 writel(status, dev->mmio + 16); in apci3xxx_irq_handler()
360 val = readl(dev->mmio + 28); in apci3xxx_irq_handler()
364 comedi_handle_events(dev, s); in apci3xxx_irq_handler()
371 static int apci3xxx_ai_started(struct comedi_device *dev) in apci3xxx_ai_started() argument
373 if ((readl(dev->mmio + 8) & 0x80000) == 0x80000) in apci3xxx_ai_started()
379 static int apci3xxx_ai_setup(struct comedi_device *dev, unsigned int chanspec) in apci3xxx_ai_setup() argument
387 if (apci3xxx_ai_started(dev)) in apci3xxx_ai_setup()
418 apci3xxx_ai_eoc(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned long context) apci3xxx_ai_eoc() argument
431 apci3xxx_ai_insn_read(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_ai_insn_read() argument
459 apci3xxx_ai_ns_to_timer(struct comedi_device *dev, unsigned int *ns, unsigned int flags) apci3xxx_ai_ns_to_timer() argument
509 apci3xxx_ai_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_cmd *cmd) apci3xxx_ai_cmdtest() argument
566 apci3xxx_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) apci3xxx_ai_cmd() argument
589 apci3xxx_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s) apci3xxx_ai_cancel() argument
595 apci3xxx_ao_eoc(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned long context) apci3xxx_ao_eoc() argument
608 apci3xxx_ao_insn_write(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_ao_insn_write() argument
638 apci3xxx_di_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_di_insn_bits() argument
648 apci3xxx_do_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_do_insn_bits() argument
663 apci3xxx_dio_insn_config(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_dio_insn_config() argument
696 apci3xxx_dio_insn_bits(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) apci3xxx_dio_insn_bits() argument
724 apci3xxx_reset(struct comedi_device *dev) apci3xxx_reset() argument
752 apci3xxx_auto_attach(struct comedi_device *dev, unsigned long context) apci3xxx_auto_attach() argument
900 apci3xxx_detach(struct comedi_device *dev) apci3xxx_detach() argument
914 apci3xxx_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) apci3xxx_pci_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dvmd.c126 struct pci_dev *dev; member
301 static int vmd_msi_prepare(struct irq_domain *domain, struct device *dev, in vmd_msi_prepare() argument
304 struct pci_dev *pdev = to_pci_dev(dev); in vmd_msi_prepare()
338 pci_read_config_word(vmd->dev, PCI_REG_VMCONFIG, &reg); in vmd_set_msi_remapping()
341 pci_write_config_word(vmd->dev, PCI_REG_VMCONFIG, reg); in vmd_set_msi_remapping()
384 if (offset + len >= resource_size(&vmd->dev->resource[VMD_CFGBAR])) in vmd_cfg_addr()
487 dev_dbg(&pci_dev->dev, "Looking for ACPI companion (address 0x%x)\n", in vmd_acpi_find_companion()
490 return acpi_find_child_device(ACPI_COMPANION(bridge->dev.parent), addr, in vmd_acpi_find_companion()
520 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local
524 for (dev in vmd_domain_reset()
597 struct pci_dev *dev = vmd->dev; vmd_get_phys_offsets() local
649 struct pci_dev *dev = vmd->dev; vmd_get_bus_number_start() local
692 struct pci_dev *dev = vmd->dev; vmd_alloc_irqs() local
791 struct pci_dev *dev; vmd_enable_domain() local
973 vmd_probe(struct pci_dev *dev, const struct pci_device_id *id) vmd_probe() argument
1041 vmd_remove(struct pci_dev *dev) vmd_remove() argument
1054 vmd_shutdown(struct pci_dev *dev) vmd_shutdown() argument
1062 vmd_suspend(struct device *dev) vmd_suspend() argument
1074 vmd_resume(struct device *dev) vmd_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
H A Dksz_common.h57 struct device *dev; member
118 void (*cfg_port_member)(struct ksz_device *dev, int port, u8 member);
119 void (*flush_dyn_mac_table)(struct ksz_device *dev, int port);
120 void (*port_cleanup)(struct ksz_device *dev, int port);
121 void (*port_setup)(struct ksz_device *dev, int port, bool cpu_port);
122 void (*r_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 *val);
123 void (*w_phy)(struct ksz_device *dev, u16 phy, u16 reg, u16 val);
124 int (*r_dyn_mac_table)(struct ksz_device *dev, u16 addr, u8 *mac_addr,
127 int (*r_sta_mac_table)(struct ksz_device *dev, u16 addr,
129 void (*w_sta_mac_table)(struct ksz_device *dev, u1
181 ksz_read8(struct ksz_device *dev, u32 reg, u8 *val) ksz_read8() argument
190 ksz_read16(struct ksz_device *dev, u32 reg, u16 *val) ksz_read16() argument
199 ksz_read32(struct ksz_device *dev, u32 reg, u32 *val) ksz_read32() argument
208 ksz_read64(struct ksz_device *dev, u32 reg, u64 *val) ksz_read64() argument
220 ksz_write8(struct ksz_device *dev, u32 reg, u8 value) ksz_write8() argument
225 ksz_write16(struct ksz_device *dev, u32 reg, u16 value) ksz_write16() argument
230 ksz_write32(struct ksz_device *dev, u32 reg, u32 value) ksz_write32() argument
235 ksz_write64(struct ksz_device *dev, u32 reg, u64 value) ksz_write64() argument
247 ksz_pread8(struct ksz_device *dev, int port, int offset, u8 *data) ksz_pread8() argument
253 ksz_pread16(struct ksz_device *dev, int port, int offset, u16 *data) ksz_pread16() argument
259 ksz_pread32(struct ksz_device *dev, int port, int offset, u32 *data) ksz_pread32() argument
265 ksz_pwrite8(struct ksz_device *dev, int port, int offset, u8 data) ksz_pwrite8() argument
271 ksz_pwrite16(struct ksz_device *dev, int port, int offset, u16 data) ksz_pwrite16() argument
277 ksz_pwrite32(struct ksz_device *dev, int port, int offset, u32 data) ksz_pwrite32() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
H A Dsaa7134-go7007.c52 struct saa7134_dev *dev; member
86 static int gpio_write(struct saa7134_dev *dev, u8 addr, u16 data) in gpio_write() argument
108 static int gpio_read(struct saa7134_dev *dev, u8 addr, u16 *data) in gpio_read() argument
139 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_interface_reset() local
183 struct saa7134_dev *dev = saa->dev; in saa7134_go7007_write_interrupt() local
192 gpio_read(dev, HPI_ADDR_INTR_STATUS, &status_reg); in saa7134_go7007_write_interrupt()
202 gpio_write(dev, HPI_ADDR_INTR_WR_PARAM, data); in saa7134_go7007_write_interrupt()
203 gpio_write(dev, HPI_ADDR_INTR_WR_INDE in saa7134_go7007_write_interrupt()
211 struct saa7134_dev *dev = saa->dev; saa7134_go7007_read_interrupt() local
224 saa7134_go7007_irq_ts_done(struct saa7134_dev *dev, unsigned long status) saa7134_go7007_irq_ts_done() argument
251 struct saa7134_dev *dev = saa->dev; saa7134_go7007_stream_start() local
309 struct saa7134_dev *dev; saa7134_go7007_stream_stop() local
338 struct saa7134_dev *dev = saa->dev; saa7134_go7007_send_firmware() local
410 saa7134_go7007_init(struct saa7134_dev *dev) saa7134_go7007_init() argument
478 saa7134_go7007_fini(struct saa7134_dev *dev) saa7134_go7007_fini() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dnetdev.c29 static netdev_tx_t nsim_start_xmit(struct sk_buff *skb, struct net_device *dev) in nsim_start_xmit() argument
31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit()
47 static void nsim_set_rx_mode(struct net_device *dev) in nsim_set_rx_mode() argument
51 static int nsim_change_mtu(struct net_device *dev, int new_mtu) in nsim_change_mtu() argument
53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu()
58 dev->mtu = new_mtu; in nsim_change_mtu()
64 nsim_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) in nsim_get_stats64() argument
66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64()
82 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) in nsim_set_vf_mac() argument
84 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac()
95 nsim_set_vf_vlan(struct net_device *dev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) nsim_set_vf_vlan() argument
111 nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) nsim_set_vf_rate() argument
125 nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) nsim_set_vf_spoofchk() argument
137 nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) nsim_set_vf_rss_query_en() argument
149 nsim_set_vf_trust(struct net_device *dev, int vf, bool val) nsim_set_vf_trust() argument
162 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) nsim_get_vf_config() argument
185 nsim_set_vf_link_state(struct net_device *dev, int vf, int state) nsim_set_vf_link_state() argument
210 nsim_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) nsim_setup_tc() argument
226 nsim_set_features(struct net_device *dev, netdev_features_t features) nsim_set_features() argument
236 nsim_get_devlink_port(struct net_device *dev) nsim_get_devlink_port() argument
266 nsim_setup(struct net_device *dev) nsim_setup() argument
288 struct net_device *dev; nsim_create() local
338 struct net_device *dev = ns->netdev; nsim_destroy() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-scc.c93 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup()
95 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup()
99 fep->scc.sccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
103 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
116 static int setup_data(struct net_device *dev) in setup_data() argument
118 struct fs_enet_private *fep = netdev_priv(dev); in setup_data()
132 static int allocate_bd(struct net_device *dev) in allocate_bd() argument
134 struct fs_enet_private *fep = netdev_priv(dev); in allocate_bd()
148 static void free_bd(struct net_device *dev) in free_bd() argument
150 struct fs_enet_private *fep = netdev_priv(dev); in free_bd()
156 cleanup_data(struct net_device *dev) cleanup_data() argument
161 set_promiscuous_mode(struct net_device *dev) set_promiscuous_mode() argument
169 set_multicast_start(struct net_device *dev) set_multicast_start() argument
180 set_multicast_one(struct net_device *dev, const u8 * mac) set_multicast_one() argument
196 set_multicast_finish(struct net_device *dev) set_multicast_finish() argument
216 set_multicast_list(struct net_device *dev) set_multicast_list() argument
234 restart(struct net_device *dev) restart() argument
354 stop(struct net_device *dev) stop() argument
372 napi_clear_event_fs(struct net_device *dev) napi_clear_event_fs() argument
380 napi_enable_fs(struct net_device *dev) napi_enable_fs() argument
388 napi_disable_fs(struct net_device *dev) napi_disable_fs() argument
396 rx_bd_done(struct net_device *dev) rx_bd_done() argument
401 tx_kickstart(struct net_device *dev) tx_kickstart() argument
406 get_int_events(struct net_device *dev) get_int_events() argument
414 clear_int_events(struct net_device *dev, u32 int_events) clear_int_events() argument
422 ev_error(struct net_device *dev, u32 int_events) ev_error() argument
429 get_regs(struct net_device *dev, void *p, int *sizep) get_regs() argument
444 get_regs_len(struct net_device *dev) get_regs_len() argument
449 tx_restart(struct net_device *dev) tx_restart() argument
[all...]
/kernel/linux/linux-5.10/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c91 struct device *dev; member
132 if (pm_runtime_enabled(&x->dev)) in phy_mdm6600_power_on()
148 if (pm_runtime_enabled(&x->dev)) { in phy_mdm6600_power_off()
151 dev_warn(ddata->dev, "%s: phy_pm_runtime_get: %i\n", in phy_mdm6600_power_off()
192 struct device *dev; in phy_mdm6600_status() local
197 dev = ddata->dev; in phy_mdm6600_status()
208 dev_info(dev, "modem status: %i %s\n", in phy_mdm6600_status()
244 dev_dbg(ddata->dev, "OOB wake on mode_gpio1: %i\n", wakeup); in phy_mdm6600_wakeirq_thread()
245 error = pm_runtime_get_sync(ddata->dev); in phy_mdm6600_wakeirq_thread()
265 struct device *dev = ddata->dev; phy_mdm6600_init_irq() local
307 struct device *dev = ddata->dev; phy_mdm6600_init_lines() local
526 phy_mdm6600_runtime_suspend(struct device *dev) phy_mdm6600_runtime_suspend() argument
536 phy_mdm6600_runtime_resume(struct device *dev) phy_mdm6600_runtime_resume() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_probe_helper.c95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() local
128 drm_for_each_crtc(crtc, dev) { in drm_mode_validate_pipeline()
171 mode = drm_mode_create_from_cmdline_mode(connector->dev, in drm_helper_probe_add_cmdline_mode()
229 * @dev: drm_device
242 void drm_kms_helper_poll_enable(struct drm_device *dev) in drm_kms_helper_poll_enable() argument
249 if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll) in drm_kms_helper_poll_enable()
252 drm_connector_list_iter_begin(dev, &conn_iter); in drm_kms_helper_poll_enable()
260 if (dev->mode_config.delayed_event) { in drm_kms_helper_poll_enable()
276 schedule_delayed_work(&dev in drm_kms_helper_poll_enable()
333 struct drm_device *dev = connector->dev; drm_helper_probe_detect() local
419 struct drm_device *dev = connector->dev; drm_helper_probe_single_connector_modes() local
608 drm_kms_helper_hotplug_event(struct drm_device *dev) drm_kms_helper_hotplug_event() argument
622 struct drm_device *dev = container_of(delayed_work, struct drm_device, mode_config.output_poll_work); output_poll_execute() local
748 drm_kms_helper_poll_disable(struct drm_device *dev) drm_kms_helper_poll_disable() argument
775 drm_kms_helper_poll_init(struct drm_device *dev) drm_kms_helper_poll_init() argument
788 drm_kms_helper_poll_fini(struct drm_device *dev) drm_kms_helper_poll_fini() argument
821 drm_helper_hpd_irq_event(struct drm_device *dev) drm_helper_hpd_irq_event() argument
[all...]

Completed in 28 milliseconds

1...<<101102103104105106107108109110>>...1522