Home
last modified time | relevance | path

Searched full:bt (Results 1 – 25 of 1809) sorted by relevance

12345678910>>...73

/kernel/linux/linux-6.6/sound/soc/mediatek/common/
Dmtk-btcvsd.c3 // Mediatek ALSA BT SCO CVSD/MSBC Driver
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) 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
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/common/
Dmtk-btcvsd.c3 // Mediatek ALSA BT SCO CVSD/MSBC Driver
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) 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
[all …]
/kernel/linux/linux-6.6/drivers/char/ipmi/
Dipmi_bt_sm.c5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part
35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds,
39 * stage, the queue depth of BT is of no concern.
64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */
72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; }
78 unsigned char seq; /* BT sequence number */
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)
[all …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_bt_sm.c5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part
35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds,
39 * stage, the queue depth of BT is of no concern.
64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */
72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; }
78 unsigned char seq; /* BT sequence number */
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)
[all …]
/kernel/linux/linux-6.6/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 …]
/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 …]
/kernel/linux/linux-6.6/drivers/net/can/dev/
Dbittiming.c9 void can_sjw_set_default(struct can_bittiming *bt) in can_sjw_set_default() argument
11 if (bt->sjw) in can_sjw_set_default()
15 bt->sjw = max(1U, min(bt->phase_seg1, bt->phase_seg2 / 2)); in can_sjw_set_default()
18 int can_sjw_check(const struct net_device *dev, const struct can_bittiming *bt, in can_sjw_check() argument
21 if (bt->sjw > btc->sjw_max) { in can_sjw_check()
23 bt->sjw, btc->sjw_max); in can_sjw_check()
27 if (bt->sjw > bt->phase_seg1) { in can_sjw_check()
30 bt->sjw, bt->phase_seg1); in can_sjw_check()
34 if (bt->sjw > bt->phase_seg2) { in can_sjw_check()
37 bt->sjw, bt->phase_seg2); in can_sjw_check()
[all …]
Dcalc_bittiming.c65 int can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt, in can_calc_bittiming() argument
82 if (bt->sample_point) { in can_calc_bittiming()
83 sample_point_nominal = bt->sample_point; in can_calc_bittiming()
85 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_bittiming()
87 else if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_bittiming()
99 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
107 bitrate_error = abs(bt->bitrate - bitrate); in can_calc_bittiming()
134 do_div(v64, bt->bitrate); in can_calc_bittiming()
148 bt->sample_point = can_update_sample_point(btc, sample_point_nominal, in can_calc_bittiming()
154 bt->tq = (u32)v64; in can_calc_bittiming()
[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()
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 …]
/kernel/linux/linux-6.6/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 …]
/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()
89 * @bt: The bank timing.
[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()
207 * @bt: The bank timing information.
209 * Given the cycle timine for a bank @bt, calculate the new BANKCON
[all …]
/kernel/linux/linux-6.6/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 …]
/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/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-6.6/Documentation/devicetree/bindings/net/bluetooth/
Dqualcomm-bluetooth.yaml19 - qcom,qca2066-bt
20 - qcom,qca6174-bt
21 - qcom,qca9377-bt
22 - qcom,wcn3988-bt
23 - qcom,wcn3990-bt
24 - qcom,wcn3991-bt
25 - qcom,wcn3998-bt
26 - qcom,qca6390-bt
27 - qcom,wcn6750-bt
28 - qcom,wcn6855-bt
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl12xx/
Dconf.h38 * Configure the min and max time BT gains the antenna
39 * in WLAN / BT master basic rate
47 * Configure the min and max time BT gains the antenna
48 * in WLAN / BT slave basic rate
56 * Configure the min and max time BT gains the antenna
57 * in WLAN / BT master EDR
65 * Configure the min and max time BT gains the antenna
66 * in WLAN / BT slave EDR
75 * in WLAN PSM / BT master/slave BR
84 * in WLAN PSM / BT master/slave EDR
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
Dconf.h38 * Configure the min and max time BT gains the antenna
39 * in WLAN / BT master basic rate
47 * Configure the min and max time BT gains the antenna
48 * in WLAN / BT slave basic rate
56 * Configure the min and max time BT gains the antenna
57 * in WLAN / BT master EDR
65 * Configure the min and max time BT gains the antenna
66 * in WLAN / BT slave EDR
75 * in WLAN PSM / BT master/slave BR
84 * in WLAN PSM / BT master/slave EDR
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dbroadcom-bluetooth.yaml19 - brcm,bcm4329-bt
20 - brcm,bcm4330-bt
21 - brcm,bcm4334-bt
22 - brcm,bcm43430a0-bt
23 - brcm,bcm43430a1-bt
24 - brcm,bcm43438-bt
26 - brcm,bcm43540-bt
28 - brcm,bcm4349-bt
29 - cypress,cyw4373a0-bt
30 - infineon,cyw55572-bt
[all …]
Drealtek-bluetooth.yaml14 RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part
15 is connected over SDIO, while BT is connected over serial. It speaks
23 - realtek,rtl8723bs-bt
24 - realtek,rtl8723cs-bt
25 - realtek,rtl8723ds-bt
26 - realtek,rtl8822cs-bt
29 - realtek,rtl8821cs-bt
30 - const: realtek,rtl8723bs-bt
34 description: GPIO specifier, used to wakeup the BT module
38 description: GPIO specifier, used to enable the BT module
[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 …]
/kernel/linux/linux-6.6/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 …]
/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 …]
/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-6.6/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 …]

12345678910>>...73