/linux-4.19.296/drivers/media/v4l2-core/ |
D | tuner-core.c | 88 i2c_adapter_id(t->i2c->adapter), t->i2c->addr 192 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local 212 struct tuner *t = fe->analog_demod_priv; in fe_set_config() local 253 struct tuner *t = to_tuner(i2c_get_clientdata(c)); in set_type() local 254 struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; in set_type() 255 struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; in set_type() 264 t->type = type; in set_type() 265 t->config = new_config; in set_type() 268 t->fe.callback = tuner_callback; in set_type() 272 tuner_detach(&t->fe); in set_type() [all …]
|
/linux-4.19.296/crypto/ |
D | gf128mul.c | 262 struct gf128mul_64k *t; in gf128mul_init_64k_bbe() local 265 t = kzalloc(sizeof(*t), GFP_KERNEL); in gf128mul_init_64k_bbe() 266 if (!t) in gf128mul_init_64k_bbe() 270 t->t[i] = kzalloc(sizeof(*t->t[i]), GFP_KERNEL); in gf128mul_init_64k_bbe() 271 if (!t->t[i]) { in gf128mul_init_64k_bbe() 272 gf128mul_free_64k(t); in gf128mul_init_64k_bbe() 273 t = NULL; in gf128mul_init_64k_bbe() 278 t->t[0]->t[1] = *g; in gf128mul_init_64k_bbe() 280 gf128mul_x_bbe(&t->t[0]->t[j + j], &t->t[0]->t[j]); in gf128mul_init_64k_bbe() 285 be128_xor(&t->t[i]->t[j + k], in gf128mul_init_64k_bbe() [all …]
|
D | cast5_generic.c | 314 u32 l, r, t; in __cast5_encrypt() local 336 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt() 337 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt() 338 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt() 339 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt() 340 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt() 341 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt() 342 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt() 343 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_encrypt() 344 t = l; l = r; r = t ^ F3(r, Km[8], Kr[8]); in __cast5_encrypt() [all …]
|
D | aes_generic.c | 1135 t = w ^ (x); \ 1137 (y) ^= ror32(u ^ t, 8) ^ \ 1138 ror32(v ^ t, 16) ^ \ 1139 ror32(t, 24); \ 1149 t = ror32(t, 8); \ 1150 t = ls_box(t) ^ rco_tab[i]; \ 1151 t ^= ctx->key_enc[4 * i]; \ 1152 ctx->key_enc[4 * i + 4] = t; \ 1153 t ^= ctx->key_enc[4 * i + 1]; \ 1154 ctx->key_enc[4 * i + 5] = t; \ [all …]
|
D | sha3_generic.c | 54 u64 t[5], tt, bc[5]; in keccakf_round() local 63 t[0] = bc[4] ^ rol64(bc[1], 1); in keccakf_round() 64 t[1] = bc[0] ^ rol64(bc[2], 1); in keccakf_round() 65 t[2] = bc[1] ^ rol64(bc[3], 1); in keccakf_round() 66 t[3] = bc[2] ^ rol64(bc[4], 1); in keccakf_round() 67 t[4] = bc[3] ^ rol64(bc[0], 1); in keccakf_round() 69 st[0] ^= t[0]; in keccakf_round() 73 st[ 1] = rol64(st[ 6] ^ t[1], 44); in keccakf_round() 74 st[ 6] = rol64(st[ 9] ^ t[4], 20); in keccakf_round() 75 st[ 9] = rol64(st[22] ^ t[2], 61); in keccakf_round() [all …]
|
/linux-4.19.296/drivers/iio/ |
D | industrialio-sw-trigger.c | 35 struct iio_sw_trigger_type *t = NULL, *iter; in __iio_find_sw_trigger_type() local 39 t = iter; in __iio_find_sw_trigger_type() 43 return t; in __iio_find_sw_trigger_type() 46 int iio_register_sw_trigger_type(struct iio_sw_trigger_type *t) in iio_register_sw_trigger_type() argument 52 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 56 list_add_tail(&t->list, &iio_trigger_types_list); in iio_register_sw_trigger_type() 62 t->group = configfs_register_default_group(iio_triggers_group, t->name, in iio_register_sw_trigger_type() 64 if (IS_ERR(t->group)) { in iio_register_sw_trigger_type() 66 list_del(&t->list); in iio_register_sw_trigger_type() 68 ret = PTR_ERR(t->group); in iio_register_sw_trigger_type() [all …]
|
/linux-4.19.296/lib/lzo/ |
D | lzo1x_decompress_safe.c | 43 size_t t, next; in lzo1x_decompress_safe() local 55 t = *ip++ - 17; in lzo1x_decompress_safe() 56 if (t < 4) { in lzo1x_decompress_safe() 57 next = t; in lzo1x_decompress_safe() 64 t = *ip++; in lzo1x_decompress_safe() 65 if (t < 16) { in lzo1x_decompress_safe() 67 if (unlikely(t == 0)) { in lzo1x_decompress_safe() 80 t += offset + 15 + *ip++; in lzo1x_decompress_safe() 82 t += 3; in lzo1x_decompress_safe() 85 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe() [all …]
|
D | lzo1x_compress.c | 39 size_t t, m_len, m_off; in lzo1x_1_do_compress() local 47 t = ((dv * 0x1824429d) >> (32 - D_BITS)) & D_MASK; in lzo1x_1_do_compress() 48 m_pos = in + dict[t]; in lzo1x_1_do_compress() 49 dict[t] = (lzo_dict_t) (ip - in); in lzo1x_1_do_compress() 55 t = ip - ii; in lzo1x_1_do_compress() 56 if (t != 0) { in lzo1x_1_do_compress() 57 if (t <= 3) { in lzo1x_1_do_compress() 58 op[-2] |= t; in lzo1x_1_do_compress() 60 op += t; in lzo1x_1_do_compress() 61 } else if (t <= 16) { in lzo1x_1_do_compress() [all …]
|
/linux-4.19.296/block/ |
D | blk-settings.c | 529 void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b) in blk_queue_stack_limits() argument 531 blk_stack_limits(&t->limits, &b->limits, 0); in blk_queue_stack_limits() 556 int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, in blk_stack_limits() argument 561 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits() 562 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() 563 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits() 564 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits() 566 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits() 568 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); in blk_stack_limits() 570 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits() [all …]
|
/linux-4.19.296/drivers/misc/cb710/ |
D | debug.c | 32 #define CB710_READ_REGS_TEMPLATE(t) \ argument 33 static void cb710_read_regs_##t(void __iomem *iobase, \ 34 u##t *reg, unsigned select) \ 38 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \ 42 for (j = 0; j < 0x10/(t/8); ++j) { \ 43 if (!allow_reg_read(i, j, t)) \ 45 reg[j] = ioread##t(iobase \ 46 + (i << 4) + (j * (t/8))); \ 56 #define CB710_DUMP_REGS_TEMPLATE(t) \ argument 57 static void cb710_dump_regs_##t(struct device *dev, \ [all …]
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 114 u8 t; in wait_reg_mask() local 118 lgs8gxx_read_reg(priv, reg, &t); in wait_reg_mask() 120 if ((t & mask) == val) in wait_reg_mask() 192 u8 reg_addr, t; in lgs8gxx_get_afc_phase() local 201 lgs8gxx_read_reg(priv, reg_addr, &t); in lgs8gxx_get_afc_phase() 203 v32 |= t; in lgs8gxx_get_afc_phase() 216 u8 t; in lgs8gxx_set_mode_auto() local 223 lgs8gxx_read_reg(priv, 0x0C, &t); in lgs8gxx_set_mode_auto() 224 t &= (~0x04); in lgs8gxx_set_mode_auto() 225 lgs8gxx_write_reg(priv, 0x0C, t | 0x80); in lgs8gxx_set_mode_auto() [all …]
|
/linux-4.19.296/drivers/iio/trigger/ |
D | iio-trig-sysfs.c | 134 struct iio_sysfs_trig *t; in iio_sysfs_trigger_probe() local 139 list_for_each_entry(t, &iio_sysfs_trig_list, l) in iio_sysfs_trigger_probe() 140 if (id == t->id) { in iio_sysfs_trigger_probe() 148 t = kmalloc(sizeof(*t), GFP_KERNEL); in iio_sysfs_trigger_probe() 149 if (t == NULL) { in iio_sysfs_trigger_probe() 153 t->id = id; in iio_sysfs_trigger_probe() 154 t->trig = iio_trigger_alloc("sysfstrig%d", id); in iio_sysfs_trigger_probe() 155 if (!t->trig) { in iio_sysfs_trigger_probe() 160 t->trig->dev.groups = iio_sysfs_trigger_attr_groups; in iio_sysfs_trigger_probe() 161 t->trig->ops = &iio_sysfs_trigger_ops; in iio_sysfs_trigger_probe() [all …]
|
/linux-4.19.296/include/linux/sunrpc/ |
D | sched.h | 131 #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) argument 132 #define RPC_IS_SWAPPER(t) ((t)->tk_flags & RPC_TASK_SWAPPER) argument 133 #define RPC_DO_ROOTOVERRIDE(t) ((t)->tk_flags & RPC_TASK_ROOTCREDS) argument 134 #define RPC_ASSASSINATED(t) ((t)->tk_flags & RPC_TASK_KILLED) argument 135 #define RPC_IS_SOFT(t) ((t)->tk_flags & (RPC_TASK_SOFT|RPC_TASK_TIMEOUT)) argument 136 #define RPC_IS_SOFTCONN(t) ((t)->tk_flags & RPC_TASK_SOFTCONN) argument 137 #define RPC_WAS_SENT(t) ((t)->tk_flags & RPC_TASK_SENT) argument 145 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument 146 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument 147 #define rpc_test_and_set_running(t) \ argument [all …]
|
/linux-4.19.296/lib/ |
D | win_minmax.c | 32 u32 dt = val->t - m->s[0].t; in minmax_subwin_update() 45 if (unlikely(val->t - m->s[0].t > win)) { in minmax_subwin_update() 50 } else if (unlikely(m->s[1].t == m->s[0].t) && dt > win/4) { in minmax_subwin_update() 56 } else if (unlikely(m->s[2].t == m->s[1].t) && dt > win/2) { in minmax_subwin_update() 67 u32 minmax_running_max(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_max() argument 69 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_max() 72 unlikely(val.t - m->s[2].t > win)) /* nothing left in window? */ in minmax_running_max() 73 return minmax_reset(m, t, meas); /* forget earlier samples */ in minmax_running_max() 85 u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas) in minmax_running_min() argument 87 struct minmax_sample val = { .t = t, .v = meas }; in minmax_running_min() [all …]
|
D | sha1.c | 53 #define SHA_SRC(t) get_unaligned_be32((__u32 *)data + t) argument 54 #define SHA_MIX(t) rol32(W(t+13) ^ W(t+8) ^ W(t+2) ^ W(t), 1) argument 56 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument 57 __u32 TEMP = input(t); setW(t, TEMP); \ 62 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 63 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 64 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument 65 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument 66 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument
|
D | crc8.c | 33 u8 t = msbit; in crc8_populate_msb() local 38 t = (t << 1) ^ (t & msbit ? polynomial : 0); in crc8_populate_msb() 40 table[i+j] = table[j] ^ t; in crc8_populate_msb() 54 u8 t = 1; in crc8_populate_lsb() local 59 t = (t >> 1) ^ (t & 1 ? polynomial : 0); in crc8_populate_lsb() 61 table[i+j] = table[j] ^ t; in crc8_populate_lsb()
|
/linux-4.19.296/drivers/parport/ |
D | procfs.c | 478 struct parport_sysctl_table *t; in parport_proc_register() local 481 t = kmemdup(&parport_sysctl_template, sizeof(*t), GFP_KERNEL); in parport_proc_register() 482 if (t == NULL) in parport_proc_register() 485 t->device_dir[0].extra1 = port; in parport_proc_register() 488 t->vars[i].extra1 = port; in parport_proc_register() 490 t->vars[0].data = &port->spintime; in parport_proc_register() 491 t->vars[5].child = t->device_dir; in parport_proc_register() 494 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register() 496 t->port_dir[0].procname = port->name; in parport_proc_register() 498 t->port_dir[0].child = t->vars; in parport_proc_register() [all …]
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds1307.c | 147 static int ds1307_get_time(struct device *dev, struct rtc_time *t); 148 static int ds1307_set_time(struct device *dev, struct rtc_time *t); 151 static int rx8130_read_alarm(struct device *dev, struct rtc_wkalrm *t); 152 static int rx8130_set_alarm(struct device *dev, struct rtc_wkalrm *t); 155 static int mcp794xx_read_alarm(struct device *dev, struct rtc_wkalrm *t); 156 static int mcp794xx_set_alarm(struct device *dev, struct rtc_wkalrm *t); 409 static int ds1307_get_time(struct device *dev, struct rtc_time *t) in ds1307_get_time() argument 433 t->tm_sec = bcd2bin(regs[DS1307_REG_SECS] & 0x7f); in ds1307_get_time() 434 t->tm_min = bcd2bin(regs[DS1307_REG_MIN] & 0x7f); in ds1307_get_time() 436 t->tm_hour = bcd2bin(tmp); in ds1307_get_time() [all …]
|
D | rtc-au1xxx.c | 33 unsigned long t; in au1xtoy_rtc_read_time() local 35 t = alchemy_rdsys(AU1000_SYS_TOYREAD); in au1xtoy_rtc_read_time() 37 rtc_time_to_tm(t, tm); in au1xtoy_rtc_read_time() 44 unsigned long t; in au1xtoy_rtc_set_time() local 46 rtc_tm_to_time(tm, &t); in au1xtoy_rtc_set_time() 48 alchemy_wrsys(t, AU1000_SYS_TOYWRITE); in au1xtoy_rtc_set_time() 67 unsigned long t; in au1xtoy_rtc_probe() local 70 t = alchemy_rdsys(AU1000_SYS_CNTRCTRL); in au1xtoy_rtc_probe() 71 if (!(t & CNTR_OK)) { in au1xtoy_rtc_probe() 82 t = 0x00100000; in au1xtoy_rtc_probe() [all …]
|
D | rtc-ls1x.c | 80 #define ls1x_get_sec(t) (((t) >> LS1X_SEC_OFFSET) & LS1X_SEC_MASK) argument 81 #define ls1x_get_min(t) (((t) >> LS1X_MIN_OFFSET) & LS1X_MIN_MASK) argument 82 #define ls1x_get_hour(t) (((t) >> LS1X_HOUR_OFFSET) & LS1X_HOUR_MASK) argument 83 #define ls1x_get_day(t) (((t) >> LS1X_DAY_OFFSET) & LS1X_DAY_MASK) argument 84 #define ls1x_get_month(t) (((t) >> LS1X_MONTH_OFFSET) & LS1X_MONTH_MASK) argument 91 time64_t t; in ls1x_rtc_read_time() local 94 t = readl(SYS_TOYREAD1); in ls1x_rtc_read_time() 97 t = mktime64((t & LS1X_YEAR_MASK), ls1x_get_month(v), in ls1x_rtc_read_time() 100 rtc_time64_to_tm(t, rtm); in ls1x_rtc_read_time() 107 unsigned long v, t, c; in ls1x_rtc_set_time() local [all …]
|
/linux-4.19.296/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 82 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument 86 t, t->dst.protonum, in nf_ct_dump_tuple_ip() 87 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 88 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 92 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6() argument 96 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6() 97 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 98 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6() 102 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple() argument 104 switch (t->src.l3num) { in nf_ct_dump_tuple() [all …]
|
/linux-4.19.296/include/linux/netfilter/ipset/ |
D | ip_set_timeout.h | 45 ip_set_timeout_expired(const unsigned long *t) in ip_set_timeout_expired() argument 47 return *t != IPSET_ELEM_PERMANENT && time_is_before_jiffies(*t); in ip_set_timeout_expired() 53 unsigned long t; in ip_set_timeout_set() local 60 t = msecs_to_jiffies(value * MSEC_PER_SEC) + jiffies; in ip_set_timeout_set() 61 if (t == IPSET_ELEM_PERMANENT) in ip_set_timeout_set() 63 t--; in ip_set_timeout_set() 64 *timeout = t; in ip_set_timeout_set() 70 u32 t; in ip_set_timeout_get() local 75 t = jiffies_to_msecs(*timeout - jiffies)/MSEC_PER_SEC; in ip_set_timeout_get() 77 return t == 0 ? 1 : t; in ip_set_timeout_get()
|
/linux-4.19.296/include/linux/ |
D | kcov.h | 27 void kcov_task_init(struct task_struct *t); 28 void kcov_task_exit(struct task_struct *t); 30 #define kcov_prepare_switch(t) \ argument 32 (t)->kcov_mode |= KCOV_IN_CTXSW; \ 35 #define kcov_finish_switch(t) \ argument 37 (t)->kcov_mode &= ~KCOV_IN_CTXSW; \ 42 static inline void kcov_task_init(struct task_struct *t) {} in kcov_task_init() argument 43 static inline void kcov_task_exit(struct task_struct *t) {} in kcov_task_exit() argument 44 static inline void kcov_prepare_switch(struct task_struct *t) {} in kcov_prepare_switch() argument 45 static inline void kcov_finish_switch(struct task_struct *t) {} in kcov_finish_switch() argument
|
/linux-4.19.296/include/scsi/ |
D | scsi_transport.h | 70 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument 72 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target() 73 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target() 74 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target() 77 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument 79 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device() 80 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); in scsi_transport_reserve_device() 81 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
|
/linux-4.19.296/include/asm-generic/ |
D | ioctl.h | 8 #define _IOC_TYPECHECK(t) (sizeof(t)) argument 12 #define _IOC_TYPECHECK(t) \ argument 13 ((sizeof(t) == sizeof(t[1]) && \ 14 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \ 15 sizeof(t) : __invalid_size_argument_for_IOC)
|