Home
last modified time | relevance | path

Searched refs:odev (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/sysfb/
H A Dofdrm.c293 void __iomem *(*cmap_ioremap)(struct ofdrm_device *odev,
296 void (*cmap_write)(struct ofdrm_device *odev, unsigned char index,
359 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci() argument
361 struct drm_device *dev = &odev->sysfb.dev; in ofdrm_device_init_pci()
392 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci() argument
402 static struct resource *ofdrm_find_fb_resource(struct ofdrm_device *odev, in ofdrm_find_fb_resource() argument
405 struct platform_device *pdev = to_platform_device(odev->sysfb.dev.dev); in ofdrm_find_fb_resource()
428 static void __iomem *get_cmap_address_of(struct ofdrm_device *odev, struct device_node *of_node, in get_cmap_address_of() argument
431 struct drm_device *dev = &odev->sysfb.dev; in get_cmap_address_of()
460 static void __iomem *ofdrm_mach64_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_mach64_cmap_ioremap() argument
478 ofdrm_mach64_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_mach64_cmap_write() argument
490 ofdrm_rage128_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_rage128_cmap_ioremap() argument
497 ofdrm_rage128_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_rage128_cmap_write() argument
508 ofdrm_rage_m3a_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_rage_m3a_cmap_ioremap() argument
515 ofdrm_rage_m3a_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_rage_m3a_cmap_write() argument
534 ofdrm_rage_m3b_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_rage_m3b_cmap_ioremap() argument
541 ofdrm_rage_m3b_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_rage_m3b_cmap_write() argument
560 ofdrm_radeon_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_radeon_cmap_ioremap() argument
567 ofdrm_gxt2000_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_gxt2000_cmap_ioremap() argument
574 ofdrm_gxt2000_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_gxt2000_cmap_write() argument
583 ofdrm_avivo_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_avivo_cmap_ioremap() argument
597 ofdrm_avivo_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_avivo_cmap_write() argument
616 ofdrm_qemu_cmap_ioremap(struct ofdrm_device * odev,struct device_node * of_node,u64 fb_base) ofdrm_qemu_cmap_ioremap() argument
641 ofdrm_qemu_cmap_write(struct ofdrm_device * odev,unsigned char index,unsigned char r,unsigned char g,unsigned char b) ofdrm_qemu_cmap_write() argument
657 struct ofdrm_device *odev = ofdrm_device_of_dev(dev); ofdrm_set_gamma_lut() local
669 ofdrm_device_fill_gamma(struct ofdrm_device * odev,const struct drm_format_info * format) ofdrm_device_fill_gamma() argument
691 ofdrm_device_load_gamma(struct ofdrm_device * odev,const struct drm_format_info * format,struct drm_color_lut * lut) ofdrm_device_load_gamma() argument
733 struct ofdrm_device *odev = ofdrm_device_of_dev(crtc->dev); ofdrm_crtc_helper_atomic_flush() local
825 struct ofdrm_device *odev; ofdrm_device_create() local
1124 struct ofdrm_device *odev; ofdrm_probe() local
[all...]
/linux/drivers/net/usb/
H A Dhso.c692 struct hso_net *odev = netdev_priv(net); in hso_net_open() local
695 if (!odev) { in hso_net_open()
700 odev->skb_tx_buf = NULL; in hso_net_open()
703 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open()
704 odev->rx_parse_state = WAIT_IP; in hso_net_open()
705 odev->rx_buf_size = 0; in hso_net_open()
706 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open()
707 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open()
710 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open()
711 hso_start_net_device(odev->parent); in hso_net_open()
[all …]
/linux/drivers/block/drbd/
H A Ddrbd_worker.c1518 struct drbd_device *odev = device; in _drbd_may_sync_now()
1522 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now()
1525 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now()
1529 odev = minor_to_device(resync_after); in _drbd_may_sync_now()
1530 if (!odev) in _drbd_may_sync_now()
1532 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now()
1533 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now()
1534 odev->state.aftr_isp || odev in _drbd_may_sync_now()
1519 struct drbd_device *odev = device; _drbd_may_sync_now() local
1550 struct drbd_device *odev; drbd_pause_after() local
1576 struct drbd_device *odev; drbd_resume_next() local
1611 struct drbd_device *odev; drbd_resync_after_valid() local
[all...]
/linux/net/core/
H A Dpktgen.c409 struct net_device *odev; /* The out-going device. member
627 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show()
1237 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write()
1296 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write()
2091 if (pkt_dev->odev != dev) in pktgen_change_name()
2160 struct net_device *odev; in pktgen_setup_dev()
2164 if (pkt_dev->odev) { in pktgen_setup_dev()
2165 netdev_put(pkt_dev->odev, &pkt_dev->dev_tracker); in pktgen_setup_dev()
2166 pkt_dev->odev = NULL; in pktgen_setup_dev()
2169 odev in pktgen_setup_dev()
2162 struct net_device *odev; pktgen_setup_dev() local
2930 fill_packet_ipv4(struct net_device * odev,struct pktgen_dev * pkt_dev) fill_packet_ipv4() argument
3058 fill_packet_ipv6(struct net_device * odev,struct pktgen_dev * pkt_dev) fill_packet_ipv6() argument
3188 fill_packet(struct net_device * odev,struct pktgen_dev * pkt_dev) fill_packet() argument
3517 struct net_device *odev = pkt_dev->odev; pktgen_xmit() local
[all...]
/linux/net/sched/
H A Dact_mirred.c97 struct net_device *odev; in tcf_mirred_replace_dev() local
99 odev = rcu_replace_pointer(m->tcfm_dev, ndev, in tcf_mirred_replace_dev()
101 netdev_put(odev, &m->tcfm_dev_tracker); in tcf_mirred_replace_dev()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c280 struct net_device *idev = NULL, *odev = NULL; in mtk_flow_offload_replace() local
379 odev = act->dev; in mtk_flow_offload_replace()
492 err = mtk_flow_set_output_device(eth, &foe, odev, data.eth.h_dest, in mtk_flow_offload_replace()
/linux/net/ipv6/
H A Dseg6_local.c970 struct net_device *odev; in input_action_end_dx2()
989 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2()
990 if (!odev) in input_action_end_dx2()
996 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2()
999 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2()
1009 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx6_finish()
1012 skb->dev = odev; in input_action_end_dx6_finish()
956 struct net_device *odev; input_action_end_dx2() local
/linux/drivers/video/fbdev/via/
H A Dhw.c900 u32 odev = 0; in via_parse_odev() local
909 odev |= device_mapping[i].device; in via_parse_odev()
920 return odev; in via_parse_odev()
923 void via_odev_to_seq(struct seq_file *m, u32 odev) in via_odev_to_seq() argument
928 if (odev & device_mapping[i].device) { in via_odev_to_seq()
H A Dhw.h638 void via_odev_to_seq(struct seq_file *m, u32 odev);
/linux/net/sctp/
H A Dprotocol.c498 struct net_device *odev; in sctp_v4_get_dst() local
518 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst()
520 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()
/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c1094 struct net_device *odev = NULL; in airoha_ppe_flow_offload_replace() local
1162 odev = act->dev; in airoha_ppe_flow_offload_replace()
1193 err = airoha_ppe_foe_entry_prepare(eth, &hwe, odev, offload_type, in airoha_ppe_flow_offload_replace()
/linux/include/linux/
H A Dnetdevice.h4624 static inline void netdev_ref_replace(struct net_device *odev,
4629 if (odev)
4630 netdev_tracker_free(odev, tracker);
4633 __dev_put(odev);
/linux/drivers/usb/gadget/udc/
H A Domap_udc.c2611 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument