/linux-4.1.27/arch/arm/mach-imx/ |
D | clk-pfd.c | 44 struct clk_pfd *pfd = to_clk_pfd(hw); in clk_pfd_enable() local 46 writel_relaxed(1 << ((pfd->idx + 1) * 8 - 1), pfd->reg + CLR); in clk_pfd_enable() 53 struct clk_pfd *pfd = to_clk_pfd(hw); in clk_pfd_disable() local 55 writel_relaxed(1 << ((pfd->idx + 1) * 8 - 1), pfd->reg + SET); in clk_pfd_disable() 61 struct clk_pfd *pfd = to_clk_pfd(hw); in clk_pfd_recalc_rate() local 63 u8 frac = (readl_relaxed(pfd->reg) >> (pfd->idx * 8)) & 0x3f; in clk_pfd_recalc_rate() 94 struct clk_pfd *pfd = to_clk_pfd(hw); in clk_pfd_set_rate() local 106 writel_relaxed(0x3f << (pfd->idx * 8), pfd->reg + CLR); in clk_pfd_set_rate() 107 writel_relaxed(frac << (pfd->idx * 8), pfd->reg + SET); in clk_pfd_set_rate() 114 struct clk_pfd *pfd = to_clk_pfd(hw); in clk_pfd_is_enabled() local [all …]
|
D | Makefile | 18 clk-pfd.o clk-busy.o clk.o \
|
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_tpacket.c | 234 struct pollfd pfd; in walk_v1_v2_rx() local 244 memset(&pfd, 0, sizeof(pfd)); in walk_v1_v2_rx() 245 pfd.fd = sock; in walk_v1_v2_rx() 246 pfd.events = POLLIN | POLLERR; in walk_v1_v2_rx() 247 pfd.revents = 0; in walk_v1_v2_rx() 278 poll(&pfd, 1, 1); in walk_v1_v2_rx() 353 struct pollfd pfd; in walk_v1_v2_tx() local 382 memset(&pfd, 0, sizeof(pfd)); in walk_v1_v2_tx() 383 pfd.fd = sock; in walk_v1_v2_tx() 384 pfd.events = POLLOUT | POLLERR; in walk_v1_v2_tx() [all …]
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
D | platform.c | 170 struct physmap_flash_data *pfd; in db1x_register_norflash() local 188 pfd = kzalloc(sizeof(struct physmap_flash_data), GFP_KERNEL); in db1x_register_norflash() 189 if (!pfd) in db1x_register_norflash() 242 pfd->width = width; in db1x_register_norflash() 243 pfd->parts = parts; in db1x_register_norflash() 244 pfd->nr_parts = 5; in db1x_register_norflash() 246 pd->dev.platform_data = pfd; in db1x_register_norflash() 256 kfree(pfd); in db1x_register_norflash()
|
/linux-4.1.27/Documentation/timers/ |
D | hpet_example.c | 134 struct pollfd pfd; in hpet_poll() local 177 pfd.fd = fd; in hpet_poll() 178 pfd.events = POLLIN; in hpet_poll() 181 pfd.revents = 0; in hpet_poll() 183 if (poll(&pfd, 1, -1) < 0) in hpet_poll() 196 pfd.revents); in hpet_poll()
|
/linux-4.1.27/Documentation/connector/ |
D | ucon.c | 121 struct pollfd pfd; in main() local 202 pfd.fd = s; in main() 205 pfd.events = POLLIN; in main() 206 pfd.revents = 0; in main() 207 switch (poll(&pfd, 1, -1)) { in main()
|
/linux-4.1.27/tools/hv/ |
D | hv_vss_daemon.c | 186 struct pollfd pfd; in main() local 270 pfd.fd = fd; in main() 275 pfd.events = POLLIN; in main() 276 pfd.revents = 0; in main() 278 if (poll(&pfd, 1, -1) < 0) { in main()
|
D | hv_kvp_daemon.c | 1431 struct pollfd pfd; in main() local 1537 pfd.fd = fd; in main() 1542 pfd.events = POLLIN; in main() 1543 pfd.revents = 0; in main() 1545 if (poll(&pfd, 1, -1) < 0) { in main()
|
/linux-4.1.27/Documentation/networking/ |
D | packet_mmap.txt | 490 struct pollfd pfd; 492 pfd.fd = fd; 493 pfd.revents = 0; 494 pfd.events = POLLIN|POLLRDNORM|POLLERR; 497 retval = poll(&pfd, 1, timeout); 526 struct pollfd pfd; 527 pfd.fd = fd; 528 pfd.revents = 0; 529 pfd.events = POLLOUT; 530 retval = poll(&pfd, 1, timeout); [all …]
|
/linux-4.1.27/tools/iio/ |
D | generic_buffer.c | 307 struct pollfd pfd = { in main() local 312 poll(&pfd, 1, -1); in main()
|
/linux-4.1.27/fs/ |
D | select.c | 805 struct pollfd * pfd, * pfd_end; in do_poll() local 807 pfd = walk->entries; in do_poll() 808 pfd_end = pfd + walk->len; in do_poll() 809 for (; pfd != pfd_end; pfd++) { in do_poll() 817 if (do_pollfd(pfd, pt, &can_busy_loop, in do_poll()
|