Skip to content

Commit 2367551

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Rename use of params to param
Rename the use of params word with param. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 6f2d4a4 commit 2367551

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ static int init_reset(void);
6161
static inline struct ll_adv_set *is_disabled_get(uint8_t handle);
6262
static void ticker_cb(uint32_t ticks_at_expire, uint32_t remainder,
6363
uint16_t lazy, uint8_t force, void *param);
64-
static void ticker_op_update_cb(uint32_t status, void *params);
64+
static void ticker_op_update_cb(uint32_t status, void *param);
6565

6666
#if defined(CONFIG_BT_PERIPHERAL)
6767
static void ticker_stop_cb(uint32_t ticks_at_expire, uint32_t remainder,
6868
uint16_t lazy, uint8_t force, void *param);
69-
static void ticker_op_stop_cb(uint32_t status, void *params);
69+
static void ticker_op_stop_cb(uint32_t status, void *param);
7070
static void disabled_cb(void *param);
7171
static void conn_release(struct ll_adv_set *adv);
7272
#endif /* CONFIG_BT_PERIPHERAL */
@@ -275,7 +275,7 @@ uint8_t ll_adv_params_set(uint16_t interval, uint8_t adv_type,
275275
adv->is_created = 1;
276276
#endif /* CONFIG_BT_CTLR_ADV_EXT */
277277

278-
/* remember params so that set adv/scan data and adv enable
278+
/* remember parameters so that set adv/scan data and adv enable
279279
* interface can correctly update adv/scan data in the
280280
* double buffer between caller and controller context.
281281
*/
@@ -1836,7 +1836,7 @@ static void ticker_op_stop_cb(uint32_t status, void *param)
18361836

18371837
#if defined(CONFIG_BT_HCI_MESH_EXT)
18381838
/* FIXME: why is this here for Mesh commands? */
1839-
if (params) {
1839+
if (param) {
18401840
return;
18411841
}
18421842
#endif /* CONFIG_BT_HCI_MESH_EXT */

subsys/bluetooth/controller/ll_sw/ull_conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5182,7 +5182,7 @@ static inline int length_req_rsp_recv(struct ll_conn *conn, memq_link_t *link,
51825182
#endif /* CONFIG_BT_CTLR_PHY */
51835183
}
51845184

5185-
/* prepare event params */
5185+
/* prepare event parameters */
51865186
lr->max_rx_octets = sys_cpu_to_le16(eff_rx_octets);
51875187
lr->max_tx_octets = sys_cpu_to_le16(eff_tx_octets);
51885188

subsys/bluetooth/controller/ll_sw/ull_master.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
#include "common/log.h"
5555
#include "hal/debug.h"
5656

57-
static void ticker_op_stop_scan_cb(uint32_t status, void *params);
58-
static void ticker_op_cb(uint32_t status, void *params);
57+
static void ticker_op_stop_scan_cb(uint32_t status, void *param);
58+
static void ticker_op_cb(uint32_t status, void *param);
5959
static inline void conn_release(struct ll_scan_set *scan);
6060

6161
#if defined(CONFIG_BT_CTLR_ADV_EXT)
@@ -910,14 +910,14 @@ void ull_master_ticker_cb(uint32_t ticks_at_expire, uint32_t remainder, uint16_t
910910
DEBUG_RADIO_PREPARE_M(1);
911911
}
912912

913-
static void ticker_op_stop_scan_cb(uint32_t status, void *params)
913+
static void ticker_op_stop_scan_cb(uint32_t status, void *param)
914914
{
915915
/* TODO: */
916916
}
917917

918-
static void ticker_op_cb(uint32_t status, void *params)
918+
static void ticker_op_cb(uint32_t status, void *param)
919919
{
920-
ARG_UNUSED(params);
920+
ARG_UNUSED(param);
921921

922922
LL_ASSERT(status == TICKER_STATUS_SUCCESS);
923923
}

subsys/bluetooth/controller/ll_sw/ull_slave.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
static void ticker_op_stop_adv_cb(uint32_t status, void *param);
5353
static void ticker_op_cb(uint32_t status, void *param);
5454
static void ticker_update_latency_cancel_op_cb(uint32_t ticker_status,
55-
void *params);
55+
void *param);
5656

5757
void ull_slave_setup(memq_link_t *link, struct node_rx_hdr *rx,
5858
struct node_rx_ftr *ftr, struct lll_conn *lll)
@@ -576,9 +576,9 @@ static void ticker_op_cb(uint32_t status, void *param)
576576
}
577577

578578
static void ticker_update_latency_cancel_op_cb(uint32_t ticker_status,
579-
void *params)
579+
void *param)
580580
{
581-
struct ll_conn *conn = params;
581+
struct ll_conn *conn = param;
582582

583583
LL_ASSERT(ticker_status == TICKER_STATUS_SUCCESS);
584584

0 commit comments

Comments
 (0)