/linux-master/drivers/net/can/dev/ |
H A D | bittiming.c | 9 void can_sjw_set_default(struct can_bittiming *bt) argument 11 if (bt->sjw) 15 bt->sjw = max(1U, min(bt->phase_seg1, bt->phase_seg2 / 2)); 18 int can_sjw_check(const struct net_device *dev, const struct can_bittiming *bt, argument 21 if (bt->sjw > btc->sjw_max) { 23 bt->sjw, btc->sjw_max); 27 if (bt->sjw > bt 49 can_fixup_bittiming(const struct net_device *dev, struct can_bittiming *bt, const struct can_bittiming_const *btc, struct netlink_ext_ack *extack) argument 115 can_validate_bitrate(const struct net_device *dev, const struct can_bittiming *bt, const u32 *bitrate_const, const unsigned int bitrate_const_cnt, struct netlink_ext_ack *extack) argument 133 can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt, const struct can_bittiming_const *btc, const u32 *bitrate_const, const unsigned int bitrate_const_cnt, struct netlink_ext_ack *extack) argument [all...] |
H A D | calc_bittiming.c | 65 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, argument 82 if (bt->sample_point) { 83 sample_point_nominal = bt->sample_point; 85 if (bt->bitrate > 800 * KILO /* BPS */) 87 else if (bt->bitrate > 500 * KILO /* BPS */) 99 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; 107 bitrate_error = abs(bt->bitrate - bitrate); 134 do_div(v64, bt->bitrate); 148 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, 154 bt [all...] |
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bt878.c | 51 #define btwrite(dat,adr) bmtwrite((dat), (bt->bt878_mem+(adr))) 52 #define btread(adr) bmtread(bt->bt878_mem+(adr)) 67 static void bt878_mem_free(struct bt878 *bt) argument 69 if (bt->buf_cpu) { 70 dma_free_coherent(&bt->dev->dev, bt->buf_size, bt->buf_cpu, 71 bt->buf_dma); 72 bt->buf_cpu = NULL; 75 if (bt 82 bt878_mem_alloc(struct bt878 *bt) argument 123 bt878_make_risc(struct bt878 *bt) argument 143 bt878_risc_program(struct bt878 *bt, u32 op_sync_orin) argument 185 bt878_start(struct bt878 *bt, u32 controlreg, u32 op_sync_orin, u32 irq_err_ignore) argument 219 bt878_stop(struct bt878 *bt) argument 251 struct bt878 *bt; local 320 bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp) argument 402 struct bt878 *bt; local 499 struct bt878 *bt = pci_get_drvdata(pci_dev); local [all...] |
H A D | dst_priv.h | 36 int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
|
H A D | dvb-bt8xx.c | 44 struct bt878 *bt = from_tasklet(bt, t, tasklet); local 45 struct dvb_bt8xx_card *card = dev_get_drvdata(&bt->adapter->dev); 47 dprintk("%d\n", card->bt->finished_block); 49 while (card->bt->last_block != card->bt->finished_block) { 50 (card->bt->TS_Size ? dvb_dmx_swfilter_204 : dvb_dmx_swfilter) 52 &card->bt->buf_cpu[card->bt->last_block * 53 card->bt 309 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; local 407 struct dvb_bt8xx_card* bt = (struct dvb_bt8xx_card*) fe->dvb->priv; local 414 struct dvb_bt8xx_card *bt = fe->dvb->priv; local 421 struct dvb_bt8xx_card *bt = fe->dvb->priv; local 446 struct dvb_bt8xx_card *bt = fe->dvb->priv; local 541 digitv_alps_tded4_reset(struct dvb_bt8xx_card *bt) argument 573 lgdt330x_reset(struct dvb_bt8xx_card *bt) argument [all...] |
/linux-master/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; } 107 * variable "bt" is hardcoded into these macros. 110 #define BT_STATUS bt->io->inputb(bt->io, 0) 111 #define BT_CONTROL(x) bt->io->outputb(bt->io, 0, x) 113 #define BMC2HOST bt->io->inputb(bt->io, 1) 114 #define HOST2BMC(x) bt->io->outputb(bt 173 bt_init_data(struct si_sm_data *bt, struct si_sm_io *io) argument 190 force_result(struct si_sm_data *bt, unsigned char completion_code) argument 202 bt_start_transaction(struct si_sm_data *bt, unsigned char *data, unsigned int size) argument 247 bt_get_result(struct si_sm_data *bt, unsigned char *data, unsigned int length) argument 278 reset_flags(struct si_sm_data *bt) argument 294 drain_BMC2HOST(struct si_sm_data *bt) argument 317 write_all_bytes(struct si_sm_data *bt) argument 332 read_all_bytes(struct si_sm_data *bt) argument 384 error_recovery(struct si_sm_data *bt, unsigned char status, unsigned char cCode) argument 450 bt_event(struct si_sm_data *bt, long time) argument 617 bt_detect(struct si_sm_data *bt) argument 679 bt_cleanup(struct si_sm_data *bt) argument [all...] |
/linux-master/sound/soc/mediatek/common/ |
H A D | mtk-btcvsd.c | 130 spinlock_t tx_lock; /* spinlock for bt tx stream control */ 131 spinlock_t rx_lock; /* spinlock for bt rx stream control */ 193 static void mtk_btcvsd_snd_irq_enable(struct mtk_btcvsd_snd *bt) argument 195 regmap_update_bits(bt->infra, bt->infra_misc_offset, 196 bt->conn_bt_cvsd_mask, 0); 199 static void mtk_btcvsd_snd_irq_disable(struct mtk_btcvsd_snd *bt) argument 201 regmap_update_bits(bt->infra, bt->infra_misc_offset, 202 bt 205 mtk_btcvsd_snd_set_state(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_stream *bt_stream, int state) argument 232 mtk_btcvsd_snd_tx_init(struct mtk_btcvsd_snd *bt) argument 245 mtk_btcvsd_snd_rx_init(struct mtk_btcvsd_snd *bt) argument 258 get_tx_time_stamp(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_time_buffer_info *ts) argument 265 get_rx_time_stamp(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_time_buffer_info *ts) argument 318 btcvsd_tx_clean_buffer(struct mtk_btcvsd_snd *bt) argument 357 mtk_btcvsd_read_from_bt(struct mtk_btcvsd_snd *bt, enum bt_sco_packet_len packet_type, unsigned int packet_length, unsigned int packet_num, unsigned int blk_size, unsigned int control) argument 410 mtk_btcvsd_write_to_bt(struct mtk_btcvsd_snd *bt, enum bt_sco_packet_len packet_type, unsigned int packet_length, unsigned int packet_num, unsigned int blk_size) argument 483 struct mtk_btcvsd_snd *bt = dev; local 637 wait_for_bt_irq(struct mtk_btcvsd_snd *bt, struct mtk_btcvsd_snd_stream *bt_stream) argument 698 mtk_btcvsd_snd_read(struct mtk_btcvsd_snd *bt, struct iov_iter *buf, size_t count) argument 776 mtk_btcvsd_snd_write(struct mtk_btcvsd_snd *bt, struct iov_iter *buf, size_t count) argument 850 get_bt_stream(struct mtk_btcvsd_snd *bt, struct snd_pcm_substream *substream) argument 874 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 896 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 910 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 927 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 938 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 950 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 981 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 1031 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(component); local 1050 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1060 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1075 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1086 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1102 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1117 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1130 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1143 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1157 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1184 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1197 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local 1207 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); local [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 145 const struct v4l2_bt_timings *bt = &t->bt; local 146 const struct v4l2_bt_timings_cap *cap = &dvcap->bt; 149 u32 max_hor = 3 * bt->width; 154 bt->height < cap->min_height || 155 bt->height > cap->max_height || 156 bt->width < cap->min_width || 157 bt->width > cap->max_width || 158 bt->pixelclock < cap->min_pixelclock || 159 bt 244 const struct v4l2_bt_timings *bt = local 300 const struct v4l2_bt_timings *bt = &t->bt; local 409 const struct v4l2_bt_timings *bt = &t->bt; local [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 48 boot_block_t bt; local 62 bt.bb_magic = htonl(0x0052504F); 65 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0)); 66 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0)); 72 bt.bb_num_512blocks = htonl(nblks); 73 bt.bb_debug_flag = 0; 75 bt.bb_checksum = 0; 79 bt.reserved[0] = 0; 80 bt.reserved[1] = 0; 93 cp = (void *)&bt; [all...] |
/linux-master/include/linux/can/ |
H A D | bittiming.h | 118 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, 126 can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, argument 141 void can_sjw_set_default(struct can_bittiming *bt); 143 int can_sjw_check(const struct net_device *dev, const struct can_bittiming *bt, 146 int can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt, 160 static inline unsigned int can_bit_time(const struct can_bittiming *bt) argument 162 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2;
|
/linux-master/arch/sh/lib/ |
H A D | memchr.S | 17 bt/s 2f 21 bt/s 3f
|
H A D | strlen.S | 17 bt/s 1f 28 bt 8f 33 bt 8f 38 bt 8f 57 bt/s 8f 62 bt/s 8f 67 bt 8f
|
H A D | memcpy.S | 18 bt/s 9f ! if n=0, do nothing 24 bt/s 7f ! if it's too small, copy a byte at once 58 bt/s 8b ! while (r0>r2) 72 bt/s 2f 86 bt/s 3b 91 bt/s 9b 104 bt/s 2f 126 bt/s 3b 137 bt/s 3b 143 bt/ [all...] |
H A D | udiv_qrnnd.S | 27 bt .Lots 32 bt 0f 41 bt 0f 44 bt 0f
|
H A D | memmove.S | 28 bt/s 9f ! if n=0, do nothing 33 bt/s 8f ! if it's too small, copy a byte at once 85 bt/s 2f 105 bt/s 9b 118 bt/s 2f 162 bt/s 9b 174 bt/s 2f 191 bt/s 9b 206 bt/s 2f 251 bt/ [all...] |
H A D | memset.S | 18 bt/s 5f ! if n=0, do nothing 22 bt/s 4f ! if it's too small, set a byte at once 26 bt/s 2f ! It's aligned 51 bt 5f
|
/linux-master/kernel/trace/ |
H A D | blktrace.c | 69 static void trace_note(struct blk_trace *bt, pid_t pid, int action, argument 92 if (!bt->rchan) 95 t = relay_reserve(bt->rchan, sizeof(*t) + len + cgid_len); 100 t->device = bt->dev; 121 struct blk_trace *bt; local 125 list_for_each_entry(bt, &running_trace_list, running_list) { 126 trace_note(bt, tsk->pid, BLK_TN_PROCESS, tsk->comm, 132 static void trace_note_time(struct blk_trace *bt) argument 144 trace_note(bt, 0, BLK_TN_TIMESTAMP, words, sizeof(words), 0); 148 void __blk_trace_note_message(struct blk_trace *bt, argument 185 act_log_check(struct blk_trace *bt, u32 what, sector_t sector, pid_t pid) argument 215 __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, const blk_opf_t opf, u32 what, int error, int pdu_len, void *pdu_data, u64 cgid) argument 314 blk_trace_free(struct request_queue *q, struct blk_trace *bt) argument 349 blk_trace_start(struct blk_trace *bt) argument 366 blk_trace_stop(struct blk_trace *bt) argument 380 blk_trace_cleanup(struct request_queue *q, struct blk_trace *bt) argument 390 struct blk_trace *bt; local 417 struct blk_trace *bt = filp->private_data; local 436 struct blk_trace *bt; local 466 struct blk_trace *bt; local 499 blk_trace_setup_lba(struct blk_trace *bt, struct block_device *bdev) argument 518 struct blk_trace *bt = NULL; local 692 struct blk_trace *bt; local 783 struct blk_trace *bt; local 830 struct blk_trace *bt; local 894 struct blk_trace *bt; local 945 struct blk_trace *bt; local 957 struct blk_trace *bt; local 978 struct blk_trace *bt; local 1007 struct blk_trace *bt; local 1043 struct blk_trace *bt; local 1075 struct blk_trace *bt; local 1609 struct blk_trace *bt; local 1630 struct blk_trace *bt = NULL; local 1769 struct blk_trace *bt; local 1803 struct blk_trace *bt; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | ths8200.c | 214 static void ths8200_setup(struct v4l2_subdev *sd, struct v4l2_bt_timings *bt) argument 217 uint16_t line_start_active_video = (bt->vsync + bt->vbackporch); 218 uint16_t line_start_front_porch = (vtotal(bt) - bt->vfrontporch); 225 ths8200_write(sd, THS8200_DTG1_SPEC_A, bt->hsync); 226 ths8200_write(sd, THS8200_DTG1_SPEC_B, bt->hfrontporch); 229 if (!bt->interlaced) 236 (bt->hbackporch + bt [all...] |
H A D | ths7303.c | 38 struct v4l2_bt_timings bt; member in struct:ths7303_state 145 state->bt.pixelclock = 0; 170 if (state->bt.pixelclock > 120000000) 172 else if (state->bt.pixelclock > 70000000) 174 else if (state->bt.pixelclock > 20000000) 204 state->bt = dv_timings->bt; 287 if (state->bt.pixelclock) { 288 struct v4l2_bt_timings *bt = &state->bt; local [all...] |
/linux-master/include/linux/ |
H A D | blktrace_api.h | 33 __printf(3, 4) void __blk_trace_note_message(struct blk_trace *bt, 51 struct blk_trace *bt; \ 54 bt = rcu_dereference((q)->blk_trace); \ 55 if (unlikely(bt)) \ 56 __blk_trace_note_message(bt, css, fmt, ##__VA_ARGS__);\ 65 struct blk_trace *bt; local 69 bt = rcu_dereference(q->blk_trace); 70 ret = bt && (bt->act_mask & BLK_TC_NOTIFY);
|
/linux-master/include/media/ |
H A D | v4l2-dv-timings.h | 206 * @bt: v4l2 timing structure 214 static inline bool can_reduce_fps(struct v4l2_bt_timings *bt) argument 216 if ((bt->standards & V4L2_DV_BT_STD_CVT) && (bt->vsync == 8)) 219 if ((bt->standards & V4L2_DV_BT_STD_CEA861) && 220 (bt->flags & V4L2_DV_FL_CAN_REDUCE_FPS))
|
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | bench-lookups.c | 214 struct bench_tests *bt = &bench_results[i]; local 233 bench_delete(lsk, &bt->add_key, &bt->delete_last_key, 236 nr_keys[i], &bt->add_key); 238 nr_keys[i], &bt->delete_last_key); 240 bench_delete(lsk, &bt->add_key, &bt->delete_rand_key, 243 nr_keys[i], &bt->delete_rand_key); 245 bench_delete(lsk, &bt->add_key, &bt 292 bench_connect_client(size_t port_off, struct bench_tests *bt, union tcp_addr *ips, size_t ips_nr, bool rand_order) argument 341 struct bench_tests *bt = &bench_results[i]; local [all...] |
/linux-master/arch/csky/abiv2/ |
H A D | strcmp.S | 22 bt 2f 31 bt 2f 38 bt 2f 45 bt 2f 52 bt 2f 59 bt 2f 66 bt 2f 73 bt 2f
|
/linux-master/drivers/video/fbdev/ |
H A D | tcx.c | 105 struct bt_regs __iomem *bt; member in struct:tcx_par 169 struct bt_regs __iomem *bt = par->bt; local 181 sbus_writel(regno << 24, &bt->addr); 182 sbus_writel(red << 24, &bt->color_map); 183 sbus_writel(green << 24, &bt->color_map); 184 sbus_writel(blue << 24, &bt->color_map); 348 if (par->bt) 350 par->bt, sizeof(struct bt_regs)); 390 par->bt [all...] |
/linux-master/block/ |
H A D | blk-mq-tag.c | 106 struct sbitmap_queue *bt) 109 !hctx_may_queue(data->hctx, bt)) 113 return sbitmap_queue_get_shallow(bt, data->shallow_depth); 115 return __sbitmap_queue_get(bt); 122 struct sbitmap_queue *bt = &tags->bitmap_tags; local 128 ret = __sbitmap_queue_get_batch(bt, nr_tags, offset); 136 struct sbitmap_queue *bt; local 147 bt = &tags->breserved_tags; 150 bt = &tags->bitmap_tags; 154 tag = __blk_mq_get_tag(data, bt); 105 __blk_mq_get_tag(struct blk_mq_alloc_data *data, struct sbitmap_queue *bt) argument 312 bt_for_each(struct blk_mq_hw_ctx *hctx, struct request_queue *q, struct sbitmap_queue *bt, busy_tag_iter_fn *fn, void *data, bool reserved) argument 380 bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, busy_tag_iter_fn *fn, void *data, unsigned int flags) argument 539 bt_alloc(struct sbitmap_queue *bt, unsigned int depth, bool round_robin, int node) argument [all...] |