/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 286 void __iomem *(*cmap_ioremap)(struct ofdrm_device *odev, 289 void (*cmap_write)(struct ofdrm_device *odev, unsigned char index, 356 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci() argument 358 struct drm_device *dev = &odev->dev; in ofdrm_device_init_pci() 388 static int ofdrm_device_init_pci(struct ofdrm_device *odev) in ofdrm_device_init_pci() argument 398 static struct resource *ofdrm_find_fb_resource(struct ofdrm_device *odev, in ofdrm_find_fb_resource() argument 401 struct platform_device *pdev = to_platform_device(odev->dev.dev); in ofdrm_find_fb_resource() 424 static void __iomem *get_cmap_address_of(struct ofdrm_device *odev, struct device_node *of_node, in get_cmap_address_of() argument 427 struct drm_device *dev = &odev->dev; in get_cmap_address_of() 456 static void __iomem *ofdrm_mach64_cmap_ioremap(struct ofdrm_device *odev, in ofdrm_mach64_cmap_ioremap() argument 474 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 486 ofdrm_rage128_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_rage128_cmap_ioremap() argument 493 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 504 ofdrm_rage_m3a_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_rage_m3a_cmap_ioremap() argument 511 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 530 ofdrm_rage_m3b_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_rage_m3b_cmap_ioremap() argument 537 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 556 ofdrm_radeon_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_radeon_cmap_ioremap() argument 563 ofdrm_gxt2000_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_gxt2000_cmap_ioremap() argument 570 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 579 ofdrm_avivo_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_avivo_cmap_ioremap() argument 593 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 612 ofdrm_qemu_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) ofdrm_qemu_cmap_ioremap() argument 637 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 649 ofdrm_device_set_gamma_linear(struct ofdrm_device *odev, const struct drm_format_info *format) ofdrm_device_set_gamma_linear() argument 687 ofdrm_device_set_gamma(struct ofdrm_device *odev, const struct drm_format_info *format, struct drm_color_lut *lut) ofdrm_device_set_gamma() argument 792 struct ofdrm_device *odev = ofdrm_device_of_dev(dev); ofdrm_primary_plane_helper_atomic_update() local 832 struct ofdrm_device *odev = ofdrm_device_of_dev(dev); ofdrm_primary_plane_helper_atomic_disable() local 879 struct ofdrm_device *odev = ofdrm_device_of_dev(crtc->dev); ofdrm_crtc_helper_mode_valid() local 914 struct ofdrm_device *odev = ofdrm_device_of_dev(crtc->dev); ofdrm_crtc_helper_atomic_flush() local 992 struct ofdrm_device *odev = ofdrm_device_of_dev(connector->dev); ofdrm_connector_helper_get_modes() local 1081 struct ofdrm_device *odev; ofdrm_device_create() local 1349 struct ofdrm_device *odev; ofdrm_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | hso.c | 696 struct hso_net *odev = netdev_priv(net); in hso_net_open() local 699 if (!odev) { in hso_net_open() 704 odev->skb_tx_buf = NULL; in hso_net_open() 707 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open() 708 odev->rx_parse_state = WAIT_IP; in hso_net_open() 709 odev->rx_buf_size = 0; in hso_net_open() 710 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open() 711 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open() 714 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open() 715 hso_start_net_device(odev in hso_net_open() 726 struct hso_net *odev = netdev_priv(net); hso_net_close() local 742 struct hso_net *odev = urb->context; write_bulk_callback() local 773 struct hso_net *odev = netdev_priv(net); hso_net_start_xmit() local 824 struct hso_net *odev = netdev_priv(net); hso_net_tx_timeout() local 841 packetizeRx(struct hso_net *odev, unsigned char *ip_pkt, unsigned int count, unsigned char is_eop) packetizeRx() argument 983 struct hso_net *odev = urb->context; read_bulk_callback() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | hso.c | 695 struct hso_net *odev = netdev_priv(net); in hso_net_open() local 698 if (!odev) { in hso_net_open() 703 odev->skb_tx_buf = NULL; in hso_net_open() 706 spin_lock_irqsave(&odev->net_lock, flags); in hso_net_open() 707 odev->rx_parse_state = WAIT_IP; in hso_net_open() 708 odev->rx_buf_size = 0; in hso_net_open() 709 odev->rx_buf_missing = sizeof(struct iphdr); in hso_net_open() 710 spin_unlock_irqrestore(&odev->net_lock, flags); in hso_net_open() 713 set_bit(HSO_NET_RUNNING, &odev->flags); in hso_net_open() 714 hso_start_net_device(odev in hso_net_open() 725 struct hso_net *odev = netdev_priv(net); hso_net_close() local 741 struct hso_net *odev = urb->context; write_bulk_callback() local 772 struct hso_net *odev = netdev_priv(net); hso_net_start_xmit() local 823 struct hso_net *odev = netdev_priv(net); hso_net_tx_timeout() local 840 packetizeRx(struct hso_net *odev, unsigned char *ip_pkt, unsigned int count, unsigned char is_eop) packetizeRx() argument 982 struct hso_net *odev = urb->context; read_bulk_callback() local [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_worker.c | 1535 struct drbd_device *odev = device; in _drbd_may_sync_now() local 1539 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now() 1542 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now() 1546 odev = minor_to_device(resync_after); in _drbd_may_sync_now() 1547 if (!odev) in _drbd_may_sync_now() 1549 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now() 1550 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now() 1551 odev->state.aftr_isp || odev in _drbd_may_sync_now() 1566 struct drbd_device *odev; drbd_pause_after() local 1592 struct drbd_device *odev; drbd_resume_next() local 1627 struct drbd_device *odev; drbd_resync_after_valid() local [all...] |
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_worker.c | 1538 struct drbd_device *odev = device; in _drbd_may_sync_now() local 1542 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now() 1545 resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; in _drbd_may_sync_now() 1549 odev = minor_to_device(resync_after); in _drbd_may_sync_now() 1550 if (!odev) in _drbd_may_sync_now() 1552 if ((odev->state.conn >= C_SYNC_SOURCE && in _drbd_may_sync_now() 1553 odev->state.conn <= C_PAUSED_SYNC_T) || in _drbd_may_sync_now() 1554 odev->state.aftr_isp || odev in _drbd_may_sync_now() 1569 struct drbd_device *odev; drbd_pause_after() local 1595 struct drbd_device *odev; drbd_resume_next() local 1630 struct drbd_device *odev; drbd_resync_after_valid() local [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | pktgen.c | 405 struct net_device *odev; /* The out-going device. member 620 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show() 1199 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write() 1258 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write() 2029 if (pkt_dev->odev != dev) in pktgen_change_name() 2098 struct net_device *odev; in pktgen_setup_dev() local 2102 if (pkt_dev->odev) { in pktgen_setup_dev() 2103 netdev_put(pkt_dev->odev, &pkt_dev->dev_tracker); in pktgen_setup_dev() 2104 pkt_dev->odev = NULL; in pktgen_setup_dev() 2107 odev in pktgen_setup_dev() 2858 fill_packet_ipv4(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet_ipv4() argument 2986 fill_packet_ipv6(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet_ipv6() argument 3116 fill_packet(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet() argument 3444 struct net_device *odev = pkt_dev->odev; pktgen_xmit() local [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | pktgen.c | 390 struct net_device *odev; /* The out-going device. member 596 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show() 1090 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write() 1146 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write() 1922 if (pkt_dev->odev != dev) in pktgen_change_name() 1991 struct net_device *odev; in pktgen_setup_dev() local 1995 if (pkt_dev->odev) { in pktgen_setup_dev() 1996 dev_put(pkt_dev->odev); in pktgen_setup_dev() 1997 pkt_dev->odev = NULL; in pktgen_setup_dev() 2000 odev in pktgen_setup_dev() 2719 fill_packet_ipv4(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet_ipv4() argument 2847 fill_packet_ipv6(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet_ipv6() argument 2977 fill_packet(struct net_device *odev, struct pktgen_dev *pkt_dev) fill_packet() argument 3302 struct net_device *odev = pkt_dev->odev; pktgen_xmit() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | platinumfb.c | 530 static int platinumfb_probe(struct platform_device* odev) in platinumfb_probe() argument 532 struct device_node *dp = odev->dev.of_node; in platinumfb_probe() 538 dev_info(&odev->dev, "Found Apple Platinum video hardware\n"); in platinumfb_probe() 540 info = framebuffer_alloc(sizeof(*pinfo), &odev->dev); in platinumfb_probe() 548 dev_err(&odev->dev, "Can't get resources\n"); in platinumfb_probe() 552 dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n", in platinumfb_probe() 555 dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n", in platinumfb_probe() 626 dev_set_drvdata(&odev->dev, info); in platinumfb_probe() 639 static int platinumfb_remove(struct platform_device* odev) in platinumfb_remove() argument 641 struct fb_info *info = dev_get_drvdata(&odev in platinumfb_remove() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | platinumfb.c | 527 static int platinumfb_probe(struct platform_device* odev) in platinumfb_probe() argument 529 struct device_node *dp = odev->dev.of_node; in platinumfb_probe() 535 dev_info(&odev->dev, "Found Apple Platinum video hardware\n"); in platinumfb_probe() 537 info = framebuffer_alloc(sizeof(*pinfo), &odev->dev); in platinumfb_probe() 545 dev_err(&odev->dev, "Can't get resources\n"); in platinumfb_probe() 549 dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n", in platinumfb_probe() 552 dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n", in platinumfb_probe() 623 dev_set_drvdata(&odev->dev, info); in platinumfb_probe() 636 static void platinumfb_remove(struct platform_device* odev) in platinumfb_remove() argument 638 struct fb_info *info = dev_get_drvdata(&odev in platinumfb_remove() [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | seg6_local.c | 282 struct net_device *odev; in input_action_end_dx2() local 301 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2() 302 if (!odev) in input_action_end_dx2() 308 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2() 311 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2() 321 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx2() 324 skb->dev = odev; in input_action_end_dx2()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_mirred.c | 173 struct net_device *odev, *ndev; in tcf_mirred_init() local 182 odev = rcu_replace_pointer(m->tcfm_dev, ndev, in tcf_mirred_init() 184 netdev_put(odev, &m->tcfm_dev_tracker); in tcf_mirred_init()
|
/kernel/linux/linux-5.10/fs/efs/ |
H A D | efs.h | 48 __be16 odev; member
|
H A D | inode.c | 116 rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); in efs_iget()
|
/kernel/linux/linux-6.6/fs/efs/ |
H A D | efs.h | 45 __be16 odev; member
|
H A D | inode.c | 118 rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); in efs_iget()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 247 struct net_device *odev = NULL; in mtk_flow_offload_replace() local 328 odev = act->dev; in mtk_flow_offload_replace() 443 err = mtk_flow_set_output_device(eth, &foe, odev, data.eth.h_dest, in mtk_flow_offload_replace()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | seg6_local.c | 850 struct net_device *odev; in input_action_end_dx2() local 869 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2() 870 if (!odev) in input_action_end_dx2() 876 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2() 879 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2() 889 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx2() 892 skb->dev = odev; in input_action_end_dx2()
|
/kernel/linux/linux-5.10/net/netrom/ |
H A D | nr_route.c | 104 struct net_device *odev; in nr_add_node() local 106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node() 107 dev_put(odev); in nr_add_node()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | devmap.c | 842 struct bpf_dtab_netdev *dev, *odev; in dev_map_notification() local 847 odev = cmpxchg(&dtab->netdev_map[i], dev, NULL); in dev_map_notification() 848 if (dev == odev) in dev_map_notification()
|
/kernel/linux/linux-6.6/net/netrom/ |
H A D | nr_route.c | 104 struct net_device *odev; in nr_add_node() local 106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node() 107 dev_put(odev); in nr_add_node()
|
/kernel/linux/linux-5.10/net/sctp/ |
H A D | protocol.c | 491 struct net_device *odev; in sctp_v4_get_dst() local 513 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst() 515 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
H A D | hw.c | 900 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 D | viafbdev.c | 1460 static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) in odev_update() argument 1481 *odev |= devices; in odev_update() 1483 *odev &= ~devices; in odev_update() 1485 *odev = devices; in odev_update()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/via/ |
H A D | hw.c | 900 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()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | devmap.c | 1122 struct bpf_dtab_netdev *dev, *odev; in dev_map_notification() local 1127 odev = unrcu_pointer(cmpxchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev), NULL)); in dev_map_notification() 1128 if (dev == odev) { in dev_map_notification()
|