/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 664 odev->funcs->cmap_write(odev, i, r, g, b); in ofdrm_device_set_gamma_linear() 672 odev->funcs->cmap_write(odev, i, r, g, b); in ofdrm_device_set_gamma_linear() 678 odev->funcs->cmap_write(odev, i, i, i, i); in ofdrm_device_set_gamma_linear() 703 odev->funcs->cmap_write(odev, i, r, g, b); in ofdrm_device_set_gamma() 711 odev->funcs->cmap_write(odev, i, r, g, b); in ofdrm_device_set_gamma() 721 odev->funcs->cmap_write(odev, i, r, g, b); in ofdrm_device_set_gamma() 1100 if (IS_ERR(odev)) in ofdrm_device_create() 1102 dev = &odev->dev; in ofdrm_device_create() 1271 odev->formats, ARRAY_SIZE(odev->formats)); in ofdrm_device_create() 1323 return odev; in ofdrm_device_create() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | hso.c | 698 if (!odev) { in hso_net_open() 708 odev->rx_buf_size = 0; in hso_net_open() 745 if (!odev || !test_bit(HSO_NET_RUNNING, &odev->flags)) { in write_bulk_callback() 795 odev); in hso_net_start_xmit() 825 if (!odev) in hso_net_tx_timeout() 858 odev->rx_buf_missing) ? count : odev-> in packetizeRx() 884 odev->skb_rx_buf = netdev_alloc_skb(odev->net, in packetizeRx() 938 odev->net->stats.rx_bytes += odev->rx_buf_size; in packetizeRx() 995 if (!odev || !test_bit(HSO_NET_RUNNING, &odev->flags)) { in read_bulk_callback() 1001 net = odev->net; in read_bulk_callback() [all …]
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_worker.c | 1542 if (!odev->ldev || odev->state.disk == D_DISKLESS) in _drbd_may_sync_now() 1550 if (!odev) in _drbd_may_sync_now() 1554 odev->state.aftr_isp || odev->state.peer_isp || in _drbd_may_sync_now() 1555 odev->state.user_isp) in _drbd_may_sync_now() 1569 struct drbd_device *odev; in drbd_pause_after() local 1574 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in drbd_pause_after() 1595 struct drbd_device *odev; in drbd_resume_next() local 1600 if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) in drbd_resume_next() 1630 struct drbd_device *odev; in drbd_resync_after_valid() local 1641 if (odev == device) in drbd_resync_after_valid() [all …]
|
/openbmc/linux/net/core/ |
H A D | pktgen.c | 2102 if (pkt_dev->odev) { in pktgen_setup_dev() 2108 if (!odev) { in pktgen_setup_dev() 2113 if (odev->type != ARPHRD_ETHER && odev->type != ARPHRD_LOOPBACK) { in pktgen_setup_dev() 2120 pkt_dev->odev = odev; in pktgen_setup_dev() 2125 dev_put(odev); in pktgen_setup_dev() 2136 if (!pkt_dev->odev) { in pktgen_setup_inject() 2956 skb->dev = odev; in fill_packet_ipv4() 3091 skb->dev = odev; in fill_packet_ipv6() 3444 struct net_device *odev = pkt_dev->odev; in pktgen_xmit() local 3450 if (unlikely(!netif_running(odev) || !netif_carrier_ok(odev))) { in pktgen_xmit() [all …]
|
/openbmc/linux/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->dev); in platinumfb_remove()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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 | hw.h | 638 void via_odev_to_seq(struct seq_file *m, u32 odev);
|
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()
|
/openbmc/linux/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()
|
/openbmc/linux/net/sctp/ |
H A D | protocol.c | 495 struct net_device *odev; in sctp_v4_get_dst() local 515 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst() 517 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()
|
/openbmc/linux/include/linux/ |
H A D | netdevice.h | 4144 static inline void netdev_ref_replace(struct net_device *odev, in netdev_ref_replace() argument 4149 if (odev) in netdev_ref_replace() 4150 netdev_tracker_free(odev, tracker); in netdev_ref_replace() 4153 __dev_put(odev); in netdev_ref_replace()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | omap_udc.c | 2618 omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) in omap_udc_setup() argument
|