Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 24 of 24) sorted by relevance

/linux-4.19.296/drivers/ntb/test/
Dntb_tool.c208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
296 up = ntb_link_is_up(tc->ntb, &speed, &width); in tool_link_event()
298 dev_dbg(&tc->ntb->dev, "link is %s speed %d width %d\n", in tool_link_event()
301 wake_up(&tc->link_wq); in tool_link_event()
306 struct tool_ctx *tc = ctx; in tool_db_event() local
309 db_mask = ntb_db_vector_mask(tc->ntb, vec); in tool_db_event()
[all …]
/linux-4.19.296/drivers/misc/
Datmel_tclib.c45 struct atmel_tc *tc; in atmel_tc_alloc() local
49 list_for_each_entry(tc, &tc_list, node) { in atmel_tc_alloc()
50 if (tc->allocated) in atmel_tc_alloc()
53 if ((tc->pdev->dev.of_node && tc->id == block) || in atmel_tc_alloc()
54 (tc->pdev->id == block)) { in atmel_tc_alloc()
55 pdev = tc->pdev; in atmel_tc_alloc()
56 tc->allocated = true; in atmel_tc_alloc()
62 return pdev ? tc : NULL; in atmel_tc_alloc()
73 void atmel_tc_free(struct atmel_tc *tc) in atmel_tc_free() argument
76 if (tc->allocated) in atmel_tc_free()
[all …]
/linux-4.19.296/drivers/pwm/
Dpwm-atmel-tcb.c51 struct atmel_tc *tc; member
77 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request() local
78 void __iomem *regs = tc->regs; in atmel_tcb_pwm_request()
88 ret = clk_prepare_enable(tc->clk[group]); in atmel_tcb_pwm_request()
134 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free() local
136 clk_disable_unprepare(tc->clk[pwm->hwpwm / 2]); in atmel_tcb_pwm_free()
145 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable() local
146 void __iomem *regs = tc->regs; in atmel_tcb_pwm_disable()
204 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_enable() local
205 void __iomem *regs = tc->regs; in atmel_tcb_pwm_enable()
[all …]
/linux-4.19.296/fs/ntfs/
Dlcnalloc.c415 LCN tc; in ntfs_cluster_alloc() local
421 tc = lcn + bmp_pos + 1; in ntfs_cluster_alloc()
425 (unsigned long long)tc, in ntfs_cluster_alloc()
434 if (tc >= vol->mft_zone_end) { in ntfs_cluster_alloc()
441 tc > vol->mft_zone_pos) in ntfs_cluster_alloc()
442 && tc >= vol->mft_lcn) in ntfs_cluster_alloc()
443 vol->mft_zone_pos = tc; in ntfs_cluster_alloc()
456 if (tc >= vol->nr_clusters) in ntfs_cluster_alloc()
461 tc > vol->data1_zone_pos) in ntfs_cluster_alloc()
462 && tc >= vol->mft_zone_end) in ntfs_cluster_alloc()
[all …]
Dunistr.c366 unsigned char *tc; in ntfs_ucstonls() local
368 tc = kmalloc((ns_len + 64) & in ntfs_ucstonls()
370 if (tc) { in ntfs_ucstonls()
371 memcpy(tc, ns, ns_len); in ntfs_ucstonls()
374 ns = tc; in ntfs_ucstonls()
/linux-4.19.296/include/linux/
Dtimecounter.h93 static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) in timecounter_adjtime() argument
95 tc->nsec += delta; in timecounter_adjtime()
108 extern void timecounter_init(struct timecounter *tc,
120 extern u64 timecounter_read(struct timecounter *tc);
136 extern u64 timecounter_cyc2time(struct timecounter *tc,
Dtransport_class.h85 static inline int transport_container_register(struct transport_container *tc) in transport_container_register() argument
87 return attribute_container_register(&tc->ac); in transport_container_register()
90 static inline void transport_container_unregister(struct transport_container *tc) in transport_container_unregister() argument
92 if (unlikely(attribute_container_unregister(&tc->ac))) in transport_container_unregister()
Datmel_tc.h76 extern void atmel_tc_free(struct atmel_tc *tc);
Dnetdevice.h2063 int netdev_set_prio_tc_map(struct net_device *dev, u8 prio, u8 tc) in netdev_set_prio_tc_map() argument
2065 if (tc >= dev->num_tc) in netdev_set_prio_tc_map()
2068 dev->prio_tc_map[prio & TC_BITMASK] = tc & TC_BITMASK; in netdev_set_prio_tc_map()
2074 int netdev_set_tc_queue(struct net_device *dev, u8 tc, u16 count, u16 offset);
2087 u8 tc, u16 count, u16 offset);
Defi.h562 typedef efi_status_t efi_get_time_t (efi_time_t *tm, efi_time_cap_t *tc);
/linux-4.19.296/include/scsi/
Dscsi_transport.h61 #define transport_class_to_shost(tc) \ argument
62 dev_to_shost((tc)->parent)
/linux-4.19.296/drivers/xen/
Defi.c42 efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) in xen_efi_get_time() argument
54 if (tc) { in xen_efi_get_time()
55 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time()
56 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time()
57 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time()
/linux-4.19.296/drivers/s390/block/
Ddasd_eer.c603 int tc,rc; in dasd_eer_read() local
625 tc = 0; in dasd_eer_read()
626 while (!tc) { in dasd_eer_read()
627 tc = dasd_eer_read_buffer(eerb, (char *) &tailcount, in dasd_eer_read()
629 if (!tc) { in dasd_eer_read()
645 WARN_ON(tc != sizeof(tailcount)); in dasd_eer_read()
650 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); in dasd_eer_read()
651 WARN_ON(tc != effective_count); in dasd_eer_read()
/linux-4.19.296/include/linux/mlx5/
Dport.h164 u8 prio, u8 *tc);
167 u8 tc, u8 *tc_group);
170 u8 tc, u8 *bw_pct);
Ddriver.h808 struct timecounter tc; member
/linux-4.19.296/drivers/base/
Dtransport_class.c67 static int anon_transport_dummy_function(struct transport_container *tc, in anon_transport_dummy_function() argument
/linux-4.19.296/include/xen/
Dxen-ops.h167 efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc);
/linux-4.19.296/include/net/9p/
Dclient.h99 struct p9_fcall tc; member
/linux-4.19.296/drivers/
DMakefile102 obj-$(CONFIG_TC) += tc/
/linux-4.19.296/include/linux/qed/
Dqed_eth_if.h57 u8 tc; member
Dqed_if.h1232 #define TX_PI(tc) (RX_PI + 1 + tc) argument
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ioctl.c475 const struct v4l2_timecode *tc = &p->timecode; in v4l_print_buffer() local
504 tc->hours, tc->minutes, tc->seconds, in v4l_print_buffer()
505 tc->type, tc->flags, tc->frames, *(__u32 *)tc->userbits); in v4l_print_buffer()
/linux-4.19.296/include/sound/
Dhdaudio.h504 struct timecounter tc; member
/linux-4.19.296/
DMAINTAINERS14915 F: drivers/tc/
14916 F: include/linux/tc.h