Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 1063) sorted by relevance

12345678910>>...43

/drivers/media/pci/saa7134/
Dsaa7134-reg.h209 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument
210 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument
211 #define SAA7134_DATA_PATH(t) (0x002 +t) argument
212 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument
213 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument
214 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument
215 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument
216 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument
217 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument
218 #define SAA7134_VBI_V_STOP1(t) (0x00a +t) argument
[all …]
/drivers/scsi/esas2r/
Desas2r_targdb.c48 struct esas2r_target *t; in esas2r_targ_db_initialize() local
50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize()
51 memset(t, 0, sizeof(struct esas2r_target)); in esas2r_targ_db_initialize()
53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
54 t->buffered_target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
55 t->new_target_state = TS_INVALID; in esas2r_targ_db_initialize()
61 struct esas2r_target *t; in esas2r_targ_db_remove_all() local
64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all()
65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all()
69 esas2r_targ_db_remove(a, t); in esas2r_targ_db_remove_all()
[all …]
/drivers/media/v4l2-core/
Dtuner-core.c46 #define PREFIX (t->i2c->dev.driver->name)
89 i2c_adapter_id(t->i2c->adapter), \
90 t->i2c->addr, ##arg); \
95 i2c_adapter_id(t->i2c->adapter), \
96 t->i2c->addr, ##arg); \
101 i2c_adapter_id(t->i2c->adapter), \
102 t->i2c->addr, ##arg); \
108 i2c_adapter_id(t->i2c->adapter), \
109 t->i2c->addr, ##arg); \
208 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local
[all …]
/drivers/staging/greybus/tools/
Dloopback_test.c105 struct loopback_test t; variable
108 static inline int device_enabled(struct loopback_test *t, int dev_idx);
111 static int get_##field##_aggregate(struct loopback_test *t) \
115 for (i = 0; i < t->device_count; i++) { \
116 if (!device_enabled(t, i)) \
118 if (t->devices[i].results.field > max) \
119 max = t->devices[i].results.field; \
125 static int get_##field##_aggregate(struct loopback_test *t) \
129 for (i = 0; i < t->device_count; i++) { \
130 if (!device_enabled(t, i)) \
[all …]
/drivers/md/
Ddm-table.c97 static inline sector_t *get_node(struct dm_table *t, in get_node() argument
100 return t->index[l] + (n * KEYS_PER_NODE); in get_node()
107 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() argument
109 for (; l < t->depth - 1; l++) in high()
112 if (n >= t->counts[l]) in high()
115 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high()
122 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() argument
127 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index()
128 node = get_node(t, l, n); in setup_btree_index()
131 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index()
[all …]
Ddm-cache-policy.c22 struct dm_cache_policy_type *t; in __find_policy() local
24 list_for_each_entry(t, &register_list, list) in __find_policy()
25 if (!strcmp(t->name, name)) in __find_policy()
26 return t; in __find_policy()
33 struct dm_cache_policy_type *t = __find_policy(name); in __get_policy_once() local
35 if (t && !try_module_get(t->owner)) { in __get_policy_once()
37 t = ERR_PTR(-EINVAL); in __get_policy_once()
40 return t; in __get_policy_once()
45 struct dm_cache_policy_type *t; in get_policy_once() local
48 t = __get_policy_once(name); in get_policy_once()
[all …]
Ddm.h51 void dm_table_destroy(struct dm_table *t);
52 void dm_table_event_callback(struct dm_table *t,
54 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index);
55 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector);
59 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q,
61 struct list_head *dm_table_get_devices(struct dm_table *t);
62 void dm_table_presuspend_targets(struct dm_table *t);
63 void dm_table_presuspend_undo_targets(struct dm_table *t);
64 void dm_table_postsuspend_targets(struct dm_table *t);
65 int dm_table_resume_targets(struct dm_table *t);
[all …]
/drivers/media/pci/bt8xx/
Dbttv-audio-hook.c55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument
61 t->audmode = V4L2_TUNER_MODE_LANG1; in gvbctv3pci_audio()
62 t->rxsubchans = V4L2_TUNER_SUB_MONO | in gvbctv3pci_audio()
71 switch (t->audmode) { in gvbctv3pci_audio()
86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument
95 switch (t->audmode) { in gvbctv5pci_audio()
114 t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio()
115 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
118 t->rxsubchans = V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio()
119 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
[all …]
/drivers/iio/
Dindustrialio-sw-trigger.c35 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()
65 ret = PTR_ERR(t->group); in iio_register_sw_trigger_type()
71 void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *t) in iio_unregister_sw_trigger_type() argument
[all …]
/drivers/md/bcache/
Dbset.c290 struct bset_tree *t = b->set; in bch_btree_keys_free() local
293 kfree(t->prev); in bch_btree_keys_free()
295 free_pages((unsigned long) t->prev, in bch_btree_keys_free()
299 kfree(t->tree); in bch_btree_keys_free()
301 free_pages((unsigned long) t->tree, in bch_btree_keys_free()
304 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free()
306 t->prev = NULL; in bch_btree_keys_free()
307 t->tree = NULL; in bch_btree_keys_free()
308 t->data = NULL; in bch_btree_keys_free()
314 struct bset_tree *t = b->set; in bch_btree_keys_alloc() local
[all …]
/drivers/ide/
Dide-timings.c72 struct ide_timing *t; in ide_timing_find_mode() local
74 for (t = ide_timing; t->mode != speed; t++) in ide_timing_find_mode()
75 if (t->mode == 0xff) in ide_timing_find_mode()
77 return t; in ide_timing_find_mode()
84 struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); in ide_pio_cycle_time() local
94 if (pio < 3 && cycle < t->cycle) in ide_pio_cycle_time()
102 return cycle ? cycle : t->cycle; in ide_pio_cycle_time()
109 static void ide_timing_quantize(struct ide_timing *t, struct ide_timing *q, in ide_timing_quantize() argument
112 q->setup = EZ(t->setup * 1000, T); in ide_timing_quantize()
113 q->act8b = EZ(t->act8b * 1000, T); in ide_timing_quantize()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h50 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry() argument
53 return &t->atid_tab[atid - t->atid_base]; in atid2entry()
56 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry() argument
59 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
65 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid() argument
68 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
69 &(t->tid_tab[tid]) : NULL; in lookup_tid()
77 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid() argument
82 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
85 e = stid2entry(t, tid); in lookup_stid()
[all …]
Dcxgb3_offload.c310 struct ch_mem_range *t = data; in cxgb_rdma_ctl() local
313 if ((t->addr & 7) || (t->len & 7)) in cxgb_rdma_ctl()
315 if (t->mem_id == MEM_CM) in cxgb_rdma_ctl()
317 else if (t->mem_id == MEM_PMRX) in cxgb_rdma_ctl()
319 else if (t->mem_id == MEM_PMTX) in cxgb_rdma_ctl()
325 t3_mc7_bd_read(mem, t->addr / 8, t->len / 8, in cxgb_rdma_ctl()
326 (u64 *) t->buf); in cxgb_rdma_ctl()
503 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_atid() local
504 union active_open_entry *p = atid2entry(t, atid); in cxgb3_free_atid()
507 spin_lock_bh(&t->atid_lock); in cxgb3_free_atid()
[all …]
/drivers/block/aoe/
Daoecmd.c129 aoehdr_atainit(struct aoedev *d, struct aoetgt *t, struct aoe_hdr *h) in aoehdr_atainit() argument
133 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit()
134 memcpy(h->dst, t->addr, sizeof h->dst); in aoehdr_atainit()
157 ifrotate(struct aoetgt *t) in ifrotate() argument
161 ifp = t->ifp; in ifrotate()
163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate()
164 ifp = t->ifs; in ifrotate()
167 return t->ifp = ifp; in ifrotate()
195 struct aoetgt *t; in aoe_freetframe() local
197 t = f->t; in aoe_freetframe()
[all …]
/drivers/misc/cb710/
Ddebug.c32 #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 …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-util.h23 #define PVR2_DECOMPOSE_LE(t,i,d) \ argument
25 (t)[i] = (d) & 0xff;\
26 (t)[i+1] = ((d) >> 8) & 0xff;\
27 (t)[i+2] = ((d) >> 16) & 0xff;\
28 (t)[i+3] = ((d) >> 24) & 0xff;\
31 #define PVR2_DECOMPOSE_BE(t,i,d) \ argument
33 (t)[i+3] = (d) & 0xff;\
34 (t)[i+2] = ((d) >> 8) & 0xff;\
35 (t)[i+1] = ((d) >> 16) & 0xff;\
36 (t)[i] = ((d) >> 24) & 0xff;\
[all …]
/drivers/media/dvb-frontends/
Dlgs8gxx.c118 u8 t; in wait_reg_mask() local
122 lgs8gxx_read_reg(priv, reg, &t); in wait_reg_mask()
124 if ((t & mask) == val) in wait_reg_mask()
196 u8 reg_addr, t; in lgs8gxx_get_afc_phase() local
205 lgs8gxx_read_reg(priv, reg_addr, &t); in lgs8gxx_get_afc_phase()
207 v32 |= t; in lgs8gxx_get_afc_phase()
220 u8 t; in lgs8gxx_set_mode_auto() local
227 lgs8gxx_read_reg(priv, 0x0C, &t); in lgs8gxx_set_mode_auto()
228 t &= (~0x04); in lgs8gxx_set_mode_auto()
229 lgs8gxx_write_reg(priv, 0x0C, t | 0x80); in lgs8gxx_set_mode_auto()
[all …]
/drivers/parport/
Dprocfs.c477 struct parport_sysctl_table *t; in parport_proc_register() local
480 t = kmemdup(&parport_sysctl_template, sizeof(*t), GFP_KERNEL); in parport_proc_register()
481 if (t == NULL) in parport_proc_register()
484 t->device_dir[0].extra1 = port; in parport_proc_register()
487 t->vars[i].extra1 = port; in parport_proc_register()
489 t->vars[0].data = &port->spintime; in parport_proc_register()
490 t->vars[5].child = t->device_dir; in parport_proc_register()
493 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register()
495 t->port_dir[0].procname = port->name; in parport_proc_register()
497 t->port_dir[0].child = t->vars; in parport_proc_register()
[all …]
/drivers/spi/
Dspi-xcomm.c74 struct spi_device *spi, struct spi_transfer *t, unsigned int *settings) in spi_xcomm_setup_transfer() argument
76 if (t->len > 62) in spi_xcomm_setup_transfer()
79 if (t->speed_hz != spi_xcomm->current_speed) { in spi_xcomm_setup_transfer()
82 divider = DIV_ROUND_UP(SPI_XCOMM_CLOCK, t->speed_hz); in spi_xcomm_setup_transfer()
90 spi_xcomm->current_speed = t->speed_hz; in spi_xcomm_setup_transfer()
112 struct spi_device *spi, struct spi_transfer *t) in spi_xcomm_txrx_bufs() argument
116 if (t->tx_buf) { in spi_xcomm_txrx_bufs()
118 memcpy(spi_xcomm->buf + 1, t->tx_buf, t->len); in spi_xcomm_txrx_bufs()
120 ret = i2c_master_send(spi_xcomm->i2c, spi_xcomm->buf, t->len + 1); in spi_xcomm_txrx_bufs()
123 else if (ret != t->len + 1) in spi_xcomm_txrx_bufs()
[all …]
/drivers/net/wireless/ti/wlcore/
Dspi.c107 struct spi_transfer t; in wl12xx_spi_reset() local
117 memset(&t, 0, sizeof(t)); in wl12xx_spi_reset()
122 t.tx_buf = cmd; in wl12xx_spi_reset()
123 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_reset()
124 spi_message_add_tail(&t, &m); in wl12xx_spi_reset()
134 struct spi_transfer t; in wl12xx_spi_init() local
145 memset(&t, 0, sizeof(t)); in wl12xx_spi_init()
177 t.tx_buf = cmd; in wl12xx_spi_init()
178 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_init()
179 spi_message_add_tail(&t, &m); in wl12xx_spi_init()
[all …]
/drivers/media/i2c/
Dtda7432.c274 struct tda7432 *t = to_state(sd); in tda7432_s_ctrl() local
280 if (t->balance->val < 0) { in tda7432_s_ctrl()
282 rr = rf = -t->balance->val; in tda7432_s_ctrl()
284 } else if (t->balance->val > 0) { in tda7432_s_ctrl()
287 lr = lf = t->balance->val; in tda7432_s_ctrl()
293 if (t->mute->val) { in tda7432_s_ctrl()
313 bass = t->bass->val; in tda7432_s_ctrl()
314 treble = t->treble->val; in tda7432_s_ctrl()
349 struct tda7432 *t; in tda7432_probe() local
355 t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL); in tda7432_probe()
[all …]
/drivers/iio/trigger/
Diio-trig-sysfs.c135 struct iio_sysfs_trig *t; in iio_sysfs_trigger_probe() local
140 list_for_each_entry(t, &iio_sysfs_trig_list, l) in iio_sysfs_trigger_probe()
141 if (id == t->id) { in iio_sysfs_trigger_probe()
149 t = kmalloc(sizeof(*t), GFP_KERNEL); in iio_sysfs_trigger_probe()
150 if (t == NULL) { in iio_sysfs_trigger_probe()
154 t->id = id; in iio_sysfs_trigger_probe()
155 t->trig = iio_trigger_alloc("sysfstrig%d", id); in iio_sysfs_trigger_probe()
156 if (!t->trig) { in iio_sysfs_trigger_probe()
161 t->trig->dev.groups = iio_sysfs_trigger_attr_groups; in iio_sysfs_trigger_probe()
162 t->trig->ops = &iio_sysfs_trigger_ops; in iio_sysfs_trigger_probe()
[all …]
/drivers/target/iscsi/
Discsi_target_transport.c10 struct iscsit_transport *t; in iscsit_get_transport() local
13 list_for_each_entry(t, &g_transport_list, t_node) { in iscsit_get_transport()
14 if (t->transport_type == type) { in iscsit_get_transport()
15 if (t->owner && !try_module_get(t->owner)) { in iscsit_get_transport()
16 t = NULL; in iscsit_get_transport()
19 return t; in iscsit_get_transport()
27 void iscsit_put_transport(struct iscsit_transport *t) in iscsit_put_transport() argument
29 module_put(t->owner); in iscsit_put_transport()
32 int iscsit_register_transport(struct iscsit_transport *t) in iscsit_register_transport() argument
34 INIT_LIST_HEAD(&t->t_node); in iscsit_register_transport()
[all …]
/drivers/net/wireless/ti/wl1251/
Dspi.c60 struct spi_transfer t; in wl1251_spi_reset() local
69 memset(&t, 0, sizeof(t)); in wl1251_spi_reset()
74 t.tx_buf = cmd; in wl1251_spi_reset()
75 t.len = WSPI_INIT_CMD_LEN; in wl1251_spi_reset()
76 spi_message_add_tail(&t, &m); in wl1251_spi_reset()
87 struct spi_transfer t; in wl1251_spi_wake() local
96 memset(&t, 0, sizeof(t)); in wl1251_spi_wake()
126 t.tx_buf = cmd; in wl1251_spi_wake()
127 t.len = WSPI_INIT_CMD_LEN; in wl1251_spi_wake()
128 spi_message_add_tail(&t, &m); in wl1251_spi_wake()
[all …]
/drivers/video/fbdev/omap/
Dhwa742.c637 struct extif_timings *t; in calc_reg_timing() local
652 t = &hwa742.reg_timings; in calc_reg_timing()
653 memset(t, 0, sizeof(*t)); in calc_reg_timing()
654 t->clk_div = div; in calc_reg_timing()
655 t->cs_on_time = 0; in calc_reg_timing()
656 t->we_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing()
657 t->re_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing()
658 t->access_time = round_to_extif_ticks(t->re_on_time + 12200, div); in calc_reg_timing()
659 t->we_off_time = round_to_extif_ticks(t->we_on_time + 1000, div); in calc_reg_timing()
660 t->re_off_time = round_to_extif_ticks(t->re_on_time + 16000, div); in calc_reg_timing()
[all …]

12345678910>>...43