Home
last modified time | relevance | path

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

12345678910>>...45

/drivers/media/pci/saa7134/
Dsaa7134-reg.h210 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument
211 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument
212 #define SAA7134_DATA_PATH(t) (0x002 +t) argument
213 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument
214 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument
215 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument
216 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument
217 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument
218 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument
219 #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.c88 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 …]
/drivers/staging/greybus/tools/
Dloopback_test.c106 struct loopback_test t; variable
109 static inline int device_enabled(struct loopback_test *t, int dev_idx);
112 static int get_##field##_aggregate(struct loopback_test *t) \
116 for (i = 0; i < t->device_count; i++) { \
117 if (!device_enabled(t, i)) \
119 if (t->devices[i].results.field > max) \
120 max = t->devices[i].results.field; \
126 static int get_##field##_aggregate(struct loopback_test *t) \
130 for (i = 0; i < t->device_count; i++) { \
131 if (!device_enabled(t, i)) \
[all …]
/drivers/md/
Ddm-table.c98 static inline sector_t *get_node(struct dm_table *t, in get_node() argument
101 return t->index[l] + (n * KEYS_PER_NODE); in get_node()
108 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() argument
110 for (; l < t->depth - 1; l++) in high()
113 if (n >= t->counts[l]) in high()
116 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high()
123 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() argument
128 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index()
129 node = get_node(t, l, n); in setup_btree_index()
132 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.c292 struct bset_tree *t = b->set; in bch_btree_keys_free() local
295 kfree(t->prev); in bch_btree_keys_free()
297 free_pages((unsigned long) t->prev, in bch_btree_keys_free()
301 kfree(t->tree); in bch_btree_keys_free()
303 free_pages((unsigned long) t->tree, in bch_btree_keys_free()
306 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free()
308 t->prev = NULL; in bch_btree_keys_free()
309 t->tree = NULL; in bch_btree_keys_free()
310 t->data = NULL; in bch_btree_keys_free()
316 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, T); in ide_timing_quantize()
113 q->act8b = EZ(t->act8b, T); in ide_timing_quantize()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h47 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry() argument
50 return &t->atid_tab[atid - t->atid_base]; in atid2entry()
53 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry() argument
56 return &t->stid_tab[stid - t->stid_base]; in stid2entry()
62 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid() argument
65 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
66 &(t->tid_tab[tid]) : NULL; in lookup_tid()
74 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid() argument
79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
82 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.h19 #define PVR2_DECOMPOSE_LE(t,i,d) \ argument
21 (t)[i] = (d) & 0xff;\
22 (t)[i+1] = ((d) >> 8) & 0xff;\
23 (t)[i+2] = ((d) >> 16) & 0xff;\
24 (t)[i+3] = ((d) >> 24) & 0xff;\
27 #define PVR2_DECOMPOSE_BE(t,i,d) \ argument
29 (t)[i+3] = (d) & 0xff;\
30 (t)[i+2] = ((d) >> 8) & 0xff;\
31 (t)[i+1] = ((d) >> 16) & 0xff;\
32 (t)[i] = ((d) >> 24) & 0xff;\
[all …]
/drivers/media/dvb-frontends/
Dlgs8gxx.c114 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 …]
/drivers/parport/
Dprocfs.c478 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 …]
/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.c108 struct spi_transfer t; in wl12xx_spi_reset() local
118 memset(&t, 0, sizeof(t)); in wl12xx_spi_reset()
123 t.tx_buf = cmd; in wl12xx_spi_reset()
124 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_reset()
125 spi_message_add_tail(&t, &m); in wl12xx_spi_reset()
135 struct spi_transfer t; in wl12xx_spi_init() local
146 memset(&t, 0, sizeof(t)); in wl12xx_spi_init()
178 t.tx_buf = cmd; in wl12xx_spi_init()
179 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_init()
180 spi_message_add_tail(&t, &m); in wl12xx_spi_init()
[all …]
/drivers/rtc/
Drtc-ds1307.c147 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);
392 static int ds1307_get_time(struct device *dev, struct rtc_time *t) in ds1307_get_time() argument
416 t->tm_sec = bcd2bin(regs[DS1307_REG_SECS] & 0x7f); in ds1307_get_time()
417 t->tm_min = bcd2bin(regs[DS1307_REG_MIN] & 0x7f); in ds1307_get_time()
419 t->tm_hour = bcd2bin(tmp); in ds1307_get_time()
[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.c12 struct iscsit_transport *t; in iscsit_get_transport() local
15 list_for_each_entry(t, &g_transport_list, t_node) { in iscsit_get_transport()
16 if (t->transport_type == type) { in iscsit_get_transport()
17 if (t->owner && !try_module_get(t->owner)) { in iscsit_get_transport()
18 t = NULL; in iscsit_get_transport()
21 return t; in iscsit_get_transport()
29 void iscsit_put_transport(struct iscsit_transport *t) in iscsit_put_transport() argument
31 module_put(t->owner); in iscsit_put_transport()
34 int iscsit_register_transport(struct iscsit_transport *t) in iscsit_register_transport() argument
36 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 …]

12345678910>>...45