Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.1.9/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 …]
/linux-6.1.9/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 dma_free_coherent(&bt->dev->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 dma_free_coherent(&bt->dev->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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
149 u32 max_hor = 3 * bt->width; in v4l2_valid_dv_timings()
154 bt->height < cap->min_height || in v4l2_valid_dv_timings()
155 bt->height > cap->max_height || in v4l2_valid_dv_timings()
156 bt->width < cap->min_width || in v4l2_valid_dv_timings()
157 bt->width > cap->max_width || in v4l2_valid_dv_timings()
158 bt->pixelclock < cap->min_pixelclock || in v4l2_valid_dv_timings()
159 bt->pixelclock > cap->max_pixelclock || in v4l2_valid_dv_timings()
161 cap->standards && bt->standards && in v4l2_valid_dv_timings()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/can/dev/
Dbittiming.c14 static int can_fixup_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_fixup_bittiming() argument
21 tseg1 = bt->prop_seg + bt->phase_seg1; in can_fixup_bittiming()
22 if (!bt->sjw) in can_fixup_bittiming()
23 bt->sjw = 1; in can_fixup_bittiming()
24 if (bt->sjw > btc->sjw_max || in can_fixup_bittiming()
26 bt->phase_seg2 < btc->tseg2_min || bt->phase_seg2 > btc->tseg2_max) in can_fixup_bittiming()
29 brp64 = (u64)priv->clock.freq * (u64)bt->tq; in can_fixup_bittiming()
36 bt->brp = (u32)brp64; in can_fixup_bittiming()
38 if (bt->brp < btc->brp_min || bt->brp > btc->brp_max) in can_fixup_bittiming()
41 alltseg = bt->prop_seg + bt->phase_seg1 + bt->phase_seg2 + 1; in can_fixup_bittiming()
[all …]
Dcalc_bittiming.c65 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() argument
81 if (bt->sample_point) { in can_calc_bittiming()
82 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
84 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_bittiming()
86 else if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_bittiming()
98 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
106 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()
133 do_div(v64, bt->bitrate); in can_calc_bittiming()
146 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, in can_calc_bittiming()
152 bt->tq = (u32)v64; in can_calc_bittiming()
[all …]
/linux-6.1.9/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 __blk_trace_note_message(struct blk_trace *bt, in __blk_trace_note_message() argument
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dqualcomm-bluetooth.yaml19 - qcom,qca6174-bt
20 - qcom,qca9377-bt
21 - qcom,wcn3990-bt
22 - qcom,wcn3991-bt
23 - qcom,wcn3998-bt
24 - qcom,qca6390-bt
25 - qcom,wcn6750-bt
97 - qcom,qca6174-bt
108 - qcom,wcn3990-bt
109 - qcom,wcn3991-bt
[all …]
Dbroadcom-bluetooth.yaml19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
22 - brcm,bcm43438-bt
24 - brcm,bcm43540-bt
26 - brcm,bcm4349-bt
27 - infineon,cyw55572-bt
85 brcm,bt-pcm-int-params:
130 - brcm,bcm4329-bt
131 - brcm,bcm4330-bt
[all …]
/linux-6.1.9/block/
Dblk-mq-tag.c99 struct sbitmap_queue *bt) in __blk_mq_get_tag() argument
102 !hctx_may_queue(data->hctx, bt)) in __blk_mq_get_tag()
106 return sbitmap_queue_get_shallow(bt, data->shallow_depth); in __blk_mq_get_tag()
108 return __sbitmap_queue_get(bt); in __blk_mq_get_tag()
115 struct sbitmap_queue *bt = &tags->bitmap_tags; in blk_mq_get_tags() local
121 ret = __sbitmap_queue_get_batch(bt, nr_tags, offset); in blk_mq_get_tags()
129 struct sbitmap_queue *bt; in blk_mq_get_tag() local
140 bt = &tags->breserved_tags; in blk_mq_get_tag()
143 bt = &tags->bitmap_tags; in blk_mq_get_tag()
147 tag = __blk_mq_get_tag(data, bt); in blk_mq_get_tag()
[all …]
/linux-6.1.9/include/linux/
Dblktrace_api.h33 __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; in blk_trace_note_message_enabled() local
69 bt = rcu_dereference(q->blk_trace); in blk_trace_note_message_enabled()
70 ret = bt && (bt->act_mask & BLK_TC_NOTIFY); in blk_trace_note_message_enabled()
/linux-6.1.9/include/linux/can/
Dbittiming.h118 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, in can_calc_bittiming() argument
141 int can_get_bittiming(const struct net_device *dev, struct can_bittiming *bt,
154 static inline unsigned int can_bit_time(const struct can_bittiming *bt) in can_bit_time() argument
156 return CAN_SYNC_SEG + bt->prop_seg + bt->phase_seg1 + bt->phase_seg2; in can_bit_time()
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/platform/x86/
Dacerhdf.c591 const struct bios_settings *bt = NULL; in acerhdf_check_hardware() local
609 for (bt = bios_tbl; bt->vendor[0]; bt++) { in acerhdf_check_hardware()
610 pr_info("%-13s | %-17s | %-10s\n", bt->vendor, in acerhdf_check_hardware()
611 bt->product, bt->version); in acerhdf_check_hardware()
634 for (bt = bios_tbl; bt->vendor[0]; bt++) { in acerhdf_check_hardware()
639 if (strstarts(vendor, bt->vendor) && in acerhdf_check_hardware()
640 strstarts(product, bt->product) && in acerhdf_check_hardware()
641 strstarts(version, bt->version)) { in acerhdf_check_hardware()
654 ctrl_cfg.fanreg = bt->fanreg; in acerhdf_check_hardware()
655 ctrl_cfg.tempreg = bt->tempreg; in acerhdf_check_hardware()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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
/linux-6.1.9/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>>...17