pnd 39 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c u32 pnd, src; pnd 44 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c pnd = DPU_REG_READ(c, VBIF_XIN_PND_ERR); pnd 48 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c *pnd_errors = pnd; pnd 52 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c DPU_REG_WRITE(c, VBIF_XIN_CLR_ERR, pnd | src); pnd 266 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c u32 i, pnd, src; pnd 271 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c vbif->ops.clear_errors(vbif, &pnd, &src); pnd 272 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c if (pnd || src) { pnd 274 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c vbif->idx - VBIF_0, pnd, src); pnd 328 drivers/irqchip/irq-s3c24xx.c int pnd; pnd 331 drivers/irqchip/irq-s3c24xx.c pnd = readl_relaxed(intc->reg_intpnd); pnd 332 drivers/irqchip/irq-s3c24xx.c if (!pnd) pnd 352 drivers/irqchip/irq-s3c24xx.c if (!(pnd & (1 << offset))) pnd 353 drivers/irqchip/irq-s3c24xx.c offset = __ffs(pnd); pnd 50 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = netdev_priv(dev); pnd 61 drivers/net/usb/cdc-phonet.c usb_fill_bulk_urb(req, pnd->usb, pnd->tx_pipe, skb->data, skb->len, pnd 70 drivers/net/usb/cdc-phonet.c spin_lock_irqsave(&pnd->tx_lock, flags); pnd 71 drivers/net/usb/cdc-phonet.c pnd->tx_queue++; pnd 72 drivers/net/usb/cdc-phonet.c if (pnd->tx_queue >= dev->tx_queue_len) pnd 74 drivers/net/usb/cdc-phonet.c spin_unlock_irqrestore(&pnd->tx_lock, flags); pnd 87 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = netdev_priv(dev); pnd 107 drivers/net/usb/cdc-phonet.c spin_lock_irqsave(&pnd->tx_lock, flags); pnd 108 drivers/net/usb/cdc-phonet.c pnd->tx_queue--; pnd 110 drivers/net/usb/cdc-phonet.c spin_unlock_irqrestore(&pnd->tx_lock, flags); pnd 116 drivers/net/usb/cdc-phonet.c static int rx_submit(struct usbpn_dev *pnd, struct urb *req, gfp_t gfp_flags) pnd 118 drivers/net/usb/cdc-phonet.c struct net_device *dev = pnd->dev; pnd 126 drivers/net/usb/cdc-phonet.c usb_fill_bulk_urb(req, pnd->usb, pnd->rx_pipe, page_address(page), pnd 140 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = netdev_priv(dev); pnd 148 drivers/net/usb/cdc-phonet.c spin_lock_irqsave(&pnd->rx_lock, flags); pnd 149 drivers/net/usb/cdc-phonet.c skb = pnd->rx_skb; pnd 151 drivers/net/usb/cdc-phonet.c skb = pnd->rx_skb = netdev_alloc_skb(dev, 12); pnd 167 drivers/net/usb/cdc-phonet.c pnd->rx_skb = NULL; /* Last fragment */ pnd 170 drivers/net/usb/cdc-phonet.c spin_unlock_irqrestore(&pnd->rx_lock, flags); pnd 204 drivers/net/usb/cdc-phonet.c rx_submit(pnd, req, GFP_ATOMIC); pnd 211 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = netdev_priv(dev); pnd 214 drivers/net/usb/cdc-phonet.c unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber; pnd 216 drivers/net/usb/cdc-phonet.c err = usb_set_interface(pnd->usb, num, pnd->active_setting); pnd 223 drivers/net/usb/cdc-phonet.c if (!req || rx_submit(pnd, req, GFP_KERNEL)) { pnd 228 drivers/net/usb/cdc-phonet.c pnd->urbs[i] = req; pnd 237 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = netdev_priv(dev); pnd 239 drivers/net/usb/cdc-phonet.c unsigned num = pnd->data_intf->cur_altsetting->desc.bInterfaceNumber; pnd 244 drivers/net/usb/cdc-phonet.c struct urb *req = pnd->urbs[i]; pnd 250 drivers/net/usb/cdc-phonet.c pnd->urbs[i] = NULL; pnd 253 drivers/net/usb/cdc-phonet.c return usb_set_interface(pnd->usb, num, !pnd->active_setting); pnd 320 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd; pnd 351 drivers/net/usb/cdc-phonet.c dev = alloc_netdev(struct_size(pnd, urbs, rxq_size), ifname, pnd 356 drivers/net/usb/cdc-phonet.c pnd = netdev_priv(dev); pnd 359 drivers/net/usb/cdc-phonet.c pnd->dev = dev; pnd 360 drivers/net/usb/cdc-phonet.c pnd->usb = usbdev; pnd 361 drivers/net/usb/cdc-phonet.c pnd->intf = intf; pnd 362 drivers/net/usb/cdc-phonet.c pnd->data_intf = data_intf; pnd 363 drivers/net/usb/cdc-phonet.c spin_lock_init(&pnd->tx_lock); pnd 364 drivers/net/usb/cdc-phonet.c spin_lock_init(&pnd->rx_lock); pnd 367 drivers/net/usb/cdc-phonet.c pnd->rx_pipe = usb_rcvbulkpipe(usbdev, pnd 369 drivers/net/usb/cdc-phonet.c pnd->tx_pipe = usb_sndbulkpipe(usbdev, pnd 372 drivers/net/usb/cdc-phonet.c pnd->rx_pipe = usb_rcvbulkpipe(usbdev, pnd 374 drivers/net/usb/cdc-phonet.c pnd->tx_pipe = usb_sndbulkpipe(usbdev, pnd 377 drivers/net/usb/cdc-phonet.c pnd->active_setting = data_desc - data_intf->altsetting; pnd 379 drivers/net/usb/cdc-phonet.c err = usb_driver_claim_interface(&usbpn_driver, data_intf, pnd); pnd 385 drivers/net/usb/cdc-phonet.c !pnd->active_setting); pnd 386 drivers/net/usb/cdc-phonet.c usb_set_intfdata(intf, pnd); pnd 405 drivers/net/usb/cdc-phonet.c struct usbpn_dev *pnd = usb_get_intfdata(intf); pnd 407 drivers/net/usb/cdc-phonet.c if (pnd->disconnected) pnd 410 drivers/net/usb/cdc-phonet.c pnd->disconnected = 1; pnd 412 drivers/net/usb/cdc-phonet.c (pnd->intf == intf) ? pnd->data_intf : pnd->intf); pnd 413 drivers/net/usb/cdc-phonet.c unregister_netdev(pnd->dev); pnd 53 net/phonet/pn_dev.c struct phonet_device *pnd = kmalloc(sizeof(*pnd), GFP_ATOMIC); pnd 54 net/phonet/pn_dev.c if (pnd == NULL) pnd 56 net/phonet/pn_dev.c pnd->netdev = dev; pnd 57 net/phonet/pn_dev.c bitmap_zero(pnd->addrs, 64); pnd 60 net/phonet/pn_dev.c list_add_rcu(&pnd->list, &pndevs->list); pnd 61 net/phonet/pn_dev.c return pnd; pnd 67 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 70 net/phonet/pn_dev.c list_for_each_entry(pnd, &pndevs->list, list) { pnd 71 net/phonet/pn_dev.c if (pnd->netdev == dev) pnd 72 net/phonet/pn_dev.c return pnd; pnd 80 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 82 net/phonet/pn_dev.c list_for_each_entry_rcu(pnd, &pndevs->list, list) { pnd 83 net/phonet/pn_dev.c if (pnd->netdev == dev) pnd 84 net/phonet/pn_dev.c return pnd; pnd 92 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 97 net/phonet/pn_dev.c pnd = __phonet_get(dev); pnd 98 net/phonet/pn_dev.c if (pnd) pnd 99 net/phonet/pn_dev.c list_del_rcu(&pnd->list); pnd 102 net/phonet/pn_dev.c if (pnd) { pnd 105 net/phonet/pn_dev.c for_each_set_bit(addr, pnd->addrs, 64) pnd 107 net/phonet/pn_dev.c kfree(pnd); pnd 114 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 118 net/phonet/pn_dev.c list_for_each_entry_rcu(pnd, &pndevs->list, list) { pnd 119 net/phonet/pn_dev.c dev = pnd->netdev; pnd 123 net/phonet/pn_dev.c ((pnd->netdev->flags & IFF_UP)) == IFF_UP) pnd 136 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 141 net/phonet/pn_dev.c pnd = __phonet_get(dev); pnd 142 net/phonet/pn_dev.c if (pnd == NULL) pnd 143 net/phonet/pn_dev.c pnd = __phonet_device_alloc(dev); pnd 144 net/phonet/pn_dev.c if (unlikely(pnd == NULL)) pnd 146 net/phonet/pn_dev.c else if (test_and_set_bit(addr >> 2, pnd->addrs)) pnd 155 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 159 net/phonet/pn_dev.c pnd = __phonet_get(dev); pnd 160 net/phonet/pn_dev.c if (!pnd || !test_and_clear_bit(addr >> 2, pnd->addrs)) { pnd 162 net/phonet/pn_dev.c pnd = NULL; pnd 163 net/phonet/pn_dev.c } else if (bitmap_empty(pnd->addrs, 64)) pnd 164 net/phonet/pn_dev.c list_del_rcu(&pnd->list); pnd 166 net/phonet/pn_dev.c pnd = NULL; pnd 169 net/phonet/pn_dev.c if (pnd) pnd 170 net/phonet/pn_dev.c kfree_rcu(pnd, rcu); pnd 178 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 182 net/phonet/pn_dev.c pnd = __phonet_get_rcu(dev); pnd 183 net/phonet/pn_dev.c if (pnd) { pnd 184 net/phonet/pn_dev.c BUG_ON(bitmap_empty(pnd->addrs, 64)); pnd 187 net/phonet/pn_dev.c if (test_bit(daddr >> 2, pnd->addrs)) pnd 190 net/phonet/pn_dev.c saddr = find_first_bit(pnd->addrs, 64) << 2; pnd 212 net/phonet/pn_dev.c struct phonet_device *pnd; pnd 216 net/phonet/pn_dev.c list_for_each_entry_rcu(pnd, &pndevs->list, list) { pnd 218 net/phonet/pn_dev.c if ((pnd->netdev->reg_state != NETREG_REGISTERED) || pnd 219 net/phonet/pn_dev.c ((pnd->netdev->flags & IFF_UP)) != IFF_UP) pnd 222 net/phonet/pn_dev.c if (test_bit(addr >> 2, pnd->addrs)) { pnd 124 net/phonet/pn_netlink.c struct phonet_device *pnd; pnd 130 net/phonet/pn_netlink.c list_for_each_entry_rcu(pnd, &pndevs->list, list) { pnd 139 net/phonet/pn_netlink.c for_each_set_bit(addr, pnd->addrs, 64) { pnd 143 net/phonet/pn_netlink.c if (fill_addr(skb, pnd->netdev, addr << 2,