Home
last modified time | relevance | path

Searched refs:bt (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_bt_sm.c72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; }
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->io, 1, x)
116 #define BT_INTMASK_R bt->io->inputb(bt->io, 2)
117 #define BT_INTMASK_W(x) bt->io->outputb(bt->io, 2, x)
142 #define STATE2TXT state2txt(bt->state)
173 static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io) in bt_init_data() argument
175 memset(bt, 0, sizeof(struct si_sm_data)); in bt_init_data()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbt878.c51 #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) in bt878_mem_free() argument
69 if (bt->buf_cpu) { in bt878_mem_free()
70 pci_free_consistent(bt->dev, bt->buf_size, bt->buf_cpu, in bt878_mem_free()
71 bt->buf_dma); in bt878_mem_free()
72 bt->buf_cpu = NULL; in bt878_mem_free()
75 if (bt->risc_cpu) { in bt878_mem_free()
76 pci_free_consistent(bt->dev, bt->risc_size, bt->risc_cpu, in bt878_mem_free()
77 bt->risc_dma); in bt878_mem_free()
[all …]
Ddvb-bt8xx.c44 struct bt878 *bt = from_tasklet(bt, t, tasklet); in dvb_bt8xx_task() local
45 struct dvb_bt8xx_card *card = dev_get_drvdata(&bt->adapter->dev); in dvb_bt8xx_task()
47 dprintk("%d\n", card->bt->finished_block); in dvb_bt8xx_task()
49 while (card->bt->last_block != card->bt->finished_block) { in dvb_bt8xx_task()
50 (card->bt->TS_Size ? dvb_dmx_swfilter_204 : dvb_dmx_swfilter) in dvb_bt8xx_task()
52 &card->bt->buf_cpu[card->bt->last_block * in dvb_bt8xx_task()
53 card->bt->block_bytes], in dvb_bt8xx_task()
54 card->bt->block_bytes); in dvb_bt8xx_task()
55 card->bt->last_block = (card->bt->last_block + 1) % in dvb_bt8xx_task()
56 card->bt->block_count; in dvb_bt8xx_task()
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/common/
Dmtk-btcvsd.c193 static void mtk_btcvsd_snd_irq_enable(struct mtk_btcvsd_snd *bt) in mtk_btcvsd_snd_irq_enable() argument
195 regmap_update_bits(bt->infra, bt->infra_misc_offset, in mtk_btcvsd_snd_irq_enable()
196 bt->conn_bt_cvsd_mask, 0); in mtk_btcvsd_snd_irq_enable()
199 static void mtk_btcvsd_snd_irq_disable(struct mtk_btcvsd_snd *bt) in mtk_btcvsd_snd_irq_disable() argument
201 regmap_update_bits(bt->infra, bt->infra_misc_offset, in mtk_btcvsd_snd_irq_disable()
202 bt->conn_bt_cvsd_mask, bt->conn_bt_cvsd_mask); in mtk_btcvsd_snd_irq_disable()
205 static void mtk_btcvsd_snd_set_state(struct mtk_btcvsd_snd *bt, in mtk_btcvsd_snd_set_state() argument
209 dev_dbg(bt->dev, "%s(), stream %d, state %d, tx->state %d, rx->state %d, irq_disabled %d\n", in mtk_btcvsd_snd_set_state()
212 bt->tx->state, bt->rx->state, bt->irq_disabled); in mtk_btcvsd_snd_set_state()
216 if (bt->tx->state == BT_SCO_STATE_IDLE && in mtk_btcvsd_snd_set_state()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Diotiming-s3c2412.c40 struct s3c2412_iobank_timing *bt; in s3c2412_print_timing() local
44 bt = iot->bank[bank].io_2412; in s3c2412_print_timing()
45 if (!bt) in s3c2412_print_timing()
50 print_ns(bt->idcy), in s3c2412_print_timing()
51 print_ns(bt->wstrd), in s3c2412_print_timing()
52 print_ns(bt->wstwr), in s3c2412_print_timing()
53 print_ns(bt->wstoen), in s3c2412_print_timing()
54 print_ns(bt->wstwen), in s3c2412_print_timing()
55 print_ns(bt->wstbrd)); in s3c2412_print_timing()
92 struct s3c2412_iobank_timing *bt) in s3c2412_calc_bank() argument
[all …]
Diotiming-s3c2410.c34 struct s3c2410_iobank_timing *bt; in s3c2410_print_timing() local
38 bt = timings->bank[bank].io_2410; in s3c2410_print_timing()
39 if (!bt) in s3c2410_print_timing()
44 print_ns(bt->tacs), in s3c2410_print_timing()
45 print_ns(bt->tcos), in s3c2410_print_timing()
46 print_ns(bt->tacc), in s3c2410_print_timing()
47 print_ns(bt->tcoh), in s3c2410_print_timing()
48 print_ns(bt->tcah)); in s3c2410_print_timing()
214 struct s3c2410_iobank_timing *bt) in s3c2410_calc_bank() argument
220 res = bt->bankcon; in s3c2410_calc_bank()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-dv-timings.c145 const struct v4l2_bt_timings *bt = &t->bt; in v4l2_valid_dv_timings() local
146 const struct v4l2_bt_timings_cap *cap = &dvcap->bt; in v4l2_valid_dv_timings()
152 bt->height < cap->min_height || in v4l2_valid_dv_timings()
153 bt->height > cap->max_height || in v4l2_valid_dv_timings()
154 bt->width < cap->min_width || in v4l2_valid_dv_timings()
155 bt->width > cap->max_width || in v4l2_valid_dv_timings()
156 bt->pixelclock < cap->min_pixelclock || in v4l2_valid_dv_timings()
157 bt->pixelclock > cap->max_pixelclock || in v4l2_valid_dv_timings()
159 cap->standards && bt->standards && in v4l2_valid_dv_timings()
160 !(bt->standards & cap->standards)) || in v4l2_valid_dv_timings()
[all …]
/kernel/linux/linux-5.10/arch/ia64/oprofile/
Dbacktrace.c44 static __inline__ int next_frame(ia64_backtrace_t *bt) in next_frame() argument
51 if (in_ivt_code(bt->frame.ip)) in next_frame()
62 if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc) in next_frame()
63 bt->frame.pfs_loc = &bt->regs->ar_pfs; in next_frame()
64 bt->prev_pfs_loc = NULL; in next_frame()
66 return unw_unwind(&bt->frame) == 0; in next_frame()
72 ia64_backtrace_t *bt = vdata; in do_ia64_backtrace() local
81 unw_init_frame_info(&bt->frame, current, sw); in do_ia64_backtrace()
85 unw_get_sp(&bt->frame, &sp); in do_ia64_backtrace()
86 if (sp >= (u_long)bt->regs) in do_ia64_backtrace()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dblktrace.c69 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() argument
92 if (!bt->rchan) in trace_note()
95 t = relay_reserve(bt->rchan, sizeof(*t) + len + cgid_len); in trace_note()
100 t->device = bt->dev; in trace_note()
121 struct blk_trace *bt; in trace_note_tsk() local
125 list_for_each_entry(bt, &running_trace_list, running_list) { in trace_note_tsk()
126 trace_note(bt, tsk->pid, BLK_TN_PROCESS, tsk->comm, in trace_note_tsk()
132 static void trace_note_time(struct blk_trace *bt) in trace_note_time() argument
144 trace_note(bt, 0, BLK_TN_TIMESTAMP, words, sizeof(words), 0); in trace_note_time()
148 void __trace_note_message(struct blk_trace *bt, struct blkcg *blkcg, in __trace_note_message() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dmktree.c48 boot_block_t bt; in main() local
62 bt.bb_magic = htonl(0x0052504F); in main()
65 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0)); in main()
66 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0)); in main()
72 bt.bb_num_512blocks = htonl(nblks); in main()
73 bt.bb_debug_flag = 0; in main()
75 bt.bb_checksum = 0; in main()
79 bt.reserved[0] = 0; in main()
80 bt.reserved[1] = 0; in main()
93 cp = (void *)&bt; in main()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dths8200.c214 static void ths8200_setup(struct v4l2_subdev *sd, struct v4l2_bt_timings *bt) in ths8200_setup() argument
217 uint16_t line_start_active_video = (bt->vsync + bt->vbackporch); in ths8200_setup()
218 uint16_t line_start_front_porch = (vtotal(bt) - bt->vfrontporch); in ths8200_setup()
225 ths8200_write(sd, THS8200_DTG1_SPEC_A, bt->hsync); in ths8200_setup()
226 ths8200_write(sd, THS8200_DTG1_SPEC_B, bt->hfrontporch); in ths8200_setup()
229 if (!bt->interlaced) in ths8200_setup()
236 (bt->hbackporch + bt->hsync) & 0xff); in ths8200_setup()
244 ((bt->hbackporch + bt->hsync) & 0x100) >> 1); in ths8200_setup()
247 ths8200_write(sd, THS8200_DTG1_SPEC_K_LSB, (bt->hfrontporch) & 0xff); in ths8200_setup()
249 ((bt->hfrontporch) & 0x700) >> 8); in ths8200_setup()
[all …]
Dths7303.c38 struct v4l2_bt_timings bt; member
145 state->bt.pixelclock = 0; in ths7303_s_std_output()
170 if (state->bt.pixelclock > 120000000) in ths7303_config()
172 else if (state->bt.pixelclock > 70000000) in ths7303_config()
174 else if (state->bt.pixelclock > 20000000) in ths7303_config()
204 state->bt = dv_timings->bt; in ths7303_s_dv_timings()
287 if (state->bt.pixelclock) { in ths7303_log_status()
288 struct v4l2_bt_timings *bt = &state->bt; in ths7303_log_status() local
291 frame_width = V4L2_DV_BT_FRAME_WIDTH(bt); in ths7303_log_status()
292 frame_height = V4L2_DV_BT_FRAME_HEIGHT(bt); in ths7303_log_status()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/dev/
Ddev.c117 static int can_calc_bittiming(struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() argument
133 if (bt->sample_point) { in can_calc_bittiming()
134 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
136 if (bt->bitrate > 800000) in can_calc_bittiming()
138 else if (bt->bitrate > 500000) in can_calc_bittiming()
150 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
158 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()
185 do_div(v64, bt->bitrate); in can_calc_bittiming()
198 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, in can_calc_bittiming()
204 bt->tq = (u32)v64; in can_calc_bittiming()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dqualcomm-bluetooth.txt12 * "qcom,qca6174-bt"
13 * "qcom,qca9377-bt"
14 * "qcom,wcn3990-bt"
15 * "qcom,wcn3991-bt"
16 * "qcom,wcn3998-bt"
17 * "qcom,qca6390-bt"
19 Optional properties for compatible string qcom,qca6174-bt:
25 Optional properties for compatible string qcom,qca9377-bt:
29 Required properties for compatible string qcom,wcn399x-bt:
36 Optional properties for compatible string qcom,wcn399x-bt:
[all …]
Dbroadcom-bluetooth.txt14 * "brcm,bcm4329-bt"
15 * "brcm,bcm4330-bt"
16 * "brcm,bcm43438-bt"
18 * "brcm,bcm43540-bt"
36 - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
52 compatible = "brcm,bcm43438-bt";
54 brcm,bt-pcm-int-params = [01 02 00 01 01];
/kernel/linux/linux-5.10/block/
Dblk-mq-tag.c77 struct sbitmap_queue *bt) in __blk_mq_get_tag() argument
80 !hctx_may_queue(data->hctx, bt)) in __blk_mq_get_tag()
84 return __sbitmap_queue_get_shallow(bt, data->shallow_depth); in __blk_mq_get_tag()
86 return __sbitmap_queue_get(bt); in __blk_mq_get_tag()
92 struct sbitmap_queue *bt; in blk_mq_get_tag() local
103 bt = tags->breserved_tags; in blk_mq_get_tag()
106 bt = tags->bitmap_tags; in blk_mq_get_tag()
110 tag = __blk_mq_get_tag(data, bt); in blk_mq_get_tag()
117 ws = bt_wait_ptr(bt, data->hctx); in blk_mq_get_tag()
132 tag = __blk_mq_get_tag(data, bt); in blk_mq_get_tag()
[all …]
/kernel/linux/linux-5.10/arch/sh/lib/
Dstrlen.S17 bt/s 1f
28 bt 8f
33 bt 8f
38 bt 8f
57 bt/s 8f
62 bt/s 8f
67 bt 8f
Dchecksum.S50 bt/s 2f ! Jump if alignment is ok.
54 bt 21f ! Jump if alignment is boundary of 2bytes.
59 bt 9f
70 bt 2f
75 bt/s 1f ! Jump if we had at least two bytes.
91 bt/s 4f ! if it's =0, go to 4f
147 bt/s 8f
165 bt 10f
208 bt 2f ! Jump if alignment is ok.
211 bt/s 1f
[all …]
Dmemcpy-sh4.S53 bt/s 3b ! 109 BR
70 bt/s 3b ! 109 BR
80 bt 9f ! 109 BR
85 bt/s 8b ! 109 BR
126 bt/s 3b ! 109 BR
138 bt/s 3b
148 bt 9f ! 109 BR
153 bt/s 8b ! 109 BR
181 bt/s 99f ! 111 BR (zero len)
188 bt/s .Lcase00 ! 111 BR (aligned)
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dtcx.c111 struct bt_regs __iomem *bt; member
175 struct bt_regs __iomem *bt = par->bt; in tcx_setcolreg() local
187 sbus_writel(regno << 24, &bt->addr); in tcx_setcolreg()
188 sbus_writel(red << 24, &bt->color_map); in tcx_setcolreg()
189 sbus_writel(green << 24, &bt->color_map); in tcx_setcolreg()
190 sbus_writel(blue << 24, &bt->color_map); in tcx_setcolreg()
355 if (par->bt) in tcx_unmap_regs()
357 par->bt, sizeof(struct bt_regs)); in tcx_unmap_regs()
398 par->bt = of_ioremap(&op->resource[8], 0, in tcx_probe()
403 !par->bt || !info->screen_base) in tcx_probe()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dacerhdf.c606 const struct bios_settings *bt = NULL; in acerhdf_check_hardware() local
624 for (bt = bios_tbl; bt->vendor[0]; bt++) { in acerhdf_check_hardware()
625 pr_info("%-13s | %-17s | %-10s\n", bt->vendor, in acerhdf_check_hardware()
626 bt->product, bt->version); in acerhdf_check_hardware()
649 for (bt = bios_tbl; bt->vendor[0]; bt++) { in acerhdf_check_hardware()
654 if (str_starts_with(vendor, bt->vendor) && in acerhdf_check_hardware()
655 str_starts_with(product, bt->product) && in acerhdf_check_hardware()
656 str_starts_with(version, bt->version)) { in acerhdf_check_hardware()
669 ctrl_cfg.fanreg = bt->fanreg; in acerhdf_check_hardware()
670 ctrl_cfg.tempreg = bt->tempreg; in acerhdf_check_hardware()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dblktrace_api.h54 struct blk_trace *bt; \
57 bt = rcu_dereference((q)->blk_trace); \
58 if (unlikely(bt)) \
59 __trace_note_message(bt, cg, fmt, ##__VA_ARGS__);\
68 struct blk_trace *bt; in blk_trace_note_message_enabled() local
72 bt = rcu_dereference(q->blk_trace); in blk_trace_note_message_enabled()
73 ret = bt && (bt->act_mask & BLK_TC_NOTIFY); in blk_trace_note_message_enabled()
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c96 fmt->field = hdmi->timings.bt.interlaced ? in adv748x_hdmi_fill_format()
102 fmt->width = hdmi->timings.bt.width; in adv748x_hdmi_fill_format()
103 fmt->height = hdmi->timings.bt.height; in adv748x_hdmi_fill_format()
245 timings->bt.interlaced ? in adv748x_hdmi_s_dv_timings()
277 struct v4l2_bt_timings *bt = &timings->bt; in adv748x_hdmi_query_dv_timings() local
295 bt->pixelclock = pixelclock; in adv748x_hdmi_query_dv_timings()
296 bt->interlaced = hdmi_read(state, ADV748X_HDMI_F1H1) & in adv748x_hdmi_query_dv_timings()
299 bt->width = hdmi_read16(state, ADV748X_HDMI_LW1, in adv748x_hdmi_query_dv_timings()
301 bt->height = hdmi_read16(state, ADV748X_HDMI_F0H1, in adv748x_hdmi_query_dv_timings()
303 bt->hfrontporch = hdmi_read16(state, ADV748X_HDMI_HFRONT_PORCH, in adv748x_hdmi_query_dv_timings()
[all …]
/kernel/linux/linux-5.10/arch/csky/abiv2/
Dstrcmp.S22 bt 2f
31 bt 2f
38 bt 2f
45 bt 2f
52 bt 2f
59 bt 2f
66 bt 2f
73 bt 2f
/kernel/linux/linux-5.10/include/media/
Dv4l2-dv-timings.h214 static inline bool can_reduce_fps(struct v4l2_bt_timings *bt) in can_reduce_fps() argument
216 if ((bt->standards & V4L2_DV_BT_STD_CVT) && (bt->vsync == 8)) in can_reduce_fps()
219 if ((bt->standards & V4L2_DV_BT_STD_CEA861) && in can_reduce_fps()
220 (bt->flags & V4L2_DV_FL_CAN_REDUCE_FPS)) in can_reduce_fps()

12345678910>>...13