From patchwork Mon Nov 13 15:05:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 743603 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 29AC52111D for ; Mon, 13 Nov 2023 15:06:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="RBGjfmf2" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23DD01711 for ; Mon, 13 Nov 2023 07:06:05 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9F3FB24002B for ; Mon, 13 Nov 2023 16:06:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887962; bh=n57oq4q/Tf+qKEYs2pRrWhcCc1bFBqLQk97twmrop14=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=RBGjfmf2kOohBWRrPMFefGieyMt892rF3yD4x8F7Cm+vUXPTkDHVG//3ZY13YroMX NdXfussTZLpIzMXtoHsaX7vb9XLbJttkYF/QdTOcyhYiPxzH49naDRvuhpUhhqen36 XcU6eLCIXTMK/ZtZE0QvAysl8Z+9Mes0oSMjdIKQ9ULlcrL7dqL80BFl4zN68rnZOI j7lsSJKlGNfnNuOFhITa+In2A7W6YYUjOxdMmndHevZOydhqaMmBV/Uxd9n8d+Uvmz gxyooTAfW+kpitnoMhAwnvyIIjVrxuJSLfUGIsYs3ltTqyoh/KarxkYpT5LZNcHI08 33t9ysagjio1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXn474y0z9rxV; Mon, 13 Nov 2023 16:06:00 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 1/8] staging: sm750fb: Rename sii164GetDeviceID to sii164_get_device_id Date: Mon, 13 Nov 2023 15:05:06 +0000 Message-Id: <20231113150512.1210869-2-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 6 +++--- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 8b81e8642f9e..3fb14eff2de1 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -16,7 +16,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { { .init = sii164_init_chip, .get_vendor_id = sii164_get_vendor_id, - .get_device_id = sii164GetDeviceID, + .get_device_id = sii164_get_device_id, #ifdef SII164_FULL_FUNCTIONS .reset_chip = sii164ResetChip, .get_chip_string = sii164GetChipString, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 2532b60245ac..223c181dc649 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -48,13 +48,13 @@ unsigned short sii164_get_vendor_id(void) } /* - * sii164GetDeviceID + * sii164_get_device_id * This function gets the device ID of the DVI controller chip. * * Output: * Device ID */ -unsigned short sii164GetDeviceID(void) +unsigned short sii164_get_device_id(void) { unsigned short deviceID; @@ -141,7 +141,7 @@ long sii164_init_chip(unsigned char edge_select, /* Check if SII164 Chip exists */ if ((sii164_get_vendor_id() == SII164_VENDOR_ID) && - (sii164GetDeviceID() == SII164_DEVICE_ID)) { + (sii164_get_device_id() == SII164_DEVICE_ID)) { /* * Initialize SII164 controller chip. */ diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index 71a7c1cb42c4..a76091f6622b 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -28,7 +28,7 @@ long sii164_init_chip(unsigned char edgeSelect, unsigned char pllFilterValue); unsigned short sii164_get_vendor_id(void); -unsigned short sii164GetDeviceID(void); +unsigned short sii164_get_device_id(void); #ifdef SII164_FULL_FUNCTIONS void sii164ResetChip(void); From patchwork Mon Nov 13 15:05:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 743605 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A34521110 for ; Mon, 13 Nov 2023 15:06:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="IXs8fTfT" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8806D1715 for ; Mon, 13 Nov 2023 07:06:05 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 24BF6240029 for ; Mon, 13 Nov 2023 16:06:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887964; bh=53J0LHnKymzPZx4pjgLl4V71P0Nz78J62FrhdMGSnko=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=IXs8fTfTBW5eSp3nfn6NdEeNt7XMOptO7GZRnK4zB9YsfjBDqZ30xwYdUnhJzaiMF gRiNPOR7nSVuMnxinFj5w6mlQaYbFOknIB0w5h6rerNYzDz4tyA2gJkS1aE6vDt/X+ hBAtLU2UVWsypJrr54ZOeUL5+JBXmtbES2tsRMHCpCNQZinwu4KEZ5B5plZmLFUoHs iBv6owEbPgGB0zmyiH8QuuxOge/T9DYScAcTgUDkhFpkxUAAaQce4HKxckik0iO3Wg Wv7fASPvV0N19IuR+XyxHe68wf/HpI7UorQ+Q39mVe5uPM4VDlNUDQ+vZJMV3WKHb/ BASuNspM1Bh4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXn62mxqz9rxX; Mon, 13 Nov 2023 16:06:02 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 2/8] staging: sm750fb: Rename sii164ResetChip to sii164_reset_chip Date: Mon, 13 Nov 2023 15:05:07 +0000 Message-Id: <20231113150512.1210869-3-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 3fb14eff2de1..6dee95e60a6e 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -18,7 +18,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .get_vendor_id = sii164_get_vendor_id, .get_device_id = sii164_get_device_id, #ifdef SII164_FULL_FUNCTIONS - .reset_chip = sii164ResetChip, + .reset_chip = sii164_reset_chip, .get_chip_string = sii164GetChipString, .set_power = sii164SetPower, .enable_hot_plug_detection = sii164EnableHotPlugDetection, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 223c181dc649..284c32f7e9b4 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -250,10 +250,10 @@ long sii164_init_chip(unsigned char edge_select, #ifdef SII164_FULL_FUNCTIONS /* - * sii164ResetChip + * sii164_reset_chip * This function resets the DVI Controller Chip. */ -void sii164ResetChip(void) +void sii164_reset_chip(void) { /* Power down */ sii164SetPower(0); diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index a76091f6622b..7a71f94a1e9b 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -31,7 +31,7 @@ unsigned short sii164_get_vendor_id(void); unsigned short sii164_get_device_id(void); #ifdef SII164_FULL_FUNCTIONS -void sii164ResetChip(void); +void sii164_reset_chip(void); char *sii164GetChipString(void); void sii164SetPower(unsigned char powerUp); void sii164EnableHotPlugDetection(unsigned char enableHotPlug); From patchwork Mon Nov 13 15:05:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 744249 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EAF421341 for ; Mon, 13 Nov 2023 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="ZWM8NpLD" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D651724 for ; Mon, 13 Nov 2023 07:06:06 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 448BE24002A for ; Mon, 13 Nov 2023 16:06:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887965; bh=8g5GOgbsSIb0+uiH/RjuHbvfKx7eOUtzVUmIxlBSlU4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=ZWM8NpLDkkv3EBMarEBNCs4/C4YLe3fwY1XDbR0dNPVPiMJiPTScXxDtS23Q+nZpz Gnb4LBOWD5/lgzBhv5OEpawP60O8BC5yCiIeLrOUb1iFh04NmznB0+C3gWqCiuxhYg rfz9Xj5brCVe4PErsOACn+5OAxqEaLwc2jCzMXOZ+a6uV8KWIjpUBkPjhbQp+BlZQE TOzG/H2FKgk3zlVhG/GFfunyjzd7rfqnHUNZ/Tx0K4v0sI66HsrVX/4DjlnEaHmPvK pIqeEgEPoGS38voY7S4o9pvee3C5E5+t1ri/YTY9oNqnpHCsNkN8nuFfZXka4vNXoP 7XUQLpFRwWBeQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXn760GLz9rxf; Mon, 13 Nov 2023 16:06:03 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 3/8] staging: sm750fb: Rename sii164GetChipString to sii164_get_chip_string Date: Mon, 13 Nov 2023 15:05:08 +0000 Message-Id: <20231113150512.1210869-4-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 6dee95e60a6e..e568c210e2bd 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -19,7 +19,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .get_device_id = sii164_get_device_id, #ifdef SII164_FULL_FUNCTIONS .reset_chip = sii164_reset_chip, - .get_chip_string = sii164GetChipString, + .get_chip_string = sii164_get_chip_string, .set_power = sii164SetPower, .enable_hot_plug_detection = sii164EnableHotPlugDetection, .is_connected = sii164IsConnected, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 284c32f7e9b4..f0a255da1b36 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -261,13 +261,13 @@ void sii164_reset_chip(void) } /* - * sii164GetChipString + * sii164_get_chip_string * This function returns a char string name of the current DVI Controller * chip. * * It's convenient for application need to display the chip name. */ -char *sii164GetChipString(void) +char *sii164_get_chip_string(void) { return gDviCtrlChipName; } diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index 7a71f94a1e9b..7c5cc81f38d4 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -32,7 +32,7 @@ unsigned short sii164_get_device_id(void); #ifdef SII164_FULL_FUNCTIONS void sii164_reset_chip(void); -char *sii164GetChipString(void); +char *sii164_get_chip_string(void); void sii164SetPower(unsigned char powerUp); void sii164EnableHotPlugDetection(unsigned char enableHotPlug); unsigned char sii164IsConnected(void); From patchwork Mon Nov 13 15:05:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 744250 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B178D21343 for ; Mon, 13 Nov 2023 15:06:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="ME3jk71F" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D609D1728 for ; Mon, 13 Nov 2023 07:06:07 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8672124002A for ; Mon, 13 Nov 2023 16:06:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887966; bh=cKoUTgqnqm13vv5MG10qVvupT4f2fR5l912U63mc1Jw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=ME3jk71FlNDwdoz29NDXmzhntLvKVMRYDJ14Ni+MMSEoslo/nAtvgTOXUHugN9htP U8gkJJeHseXN5P31ERyUUELSVtvElTqRu8ZXir2gyxmTvi4YI+p65KGYlAC4PTcpSm I5J0kMF1RqXqThcOTegkw6rnxV1sRkGYIu7fzb0dz6+M+6h+8XEw1D7TwqhOZ0nMVp 7NBgW6ngkwBHzoQ0N4FnYtAdzEO9p6OlaAqS5XTuCLHIcpSaUjqisJPhPwplsj8+eH 3WsiOCb6AXnbcj6uJ8JIqFzOD+/vZJVXOZeqSvsopkUyo6zihtvoZMe1AYjEThbZ2W Hec2LpdIXxqjQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXn90hFNz9rxY; Mon, 13 Nov 2023 16:06:05 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 4/8] staging: sm750fb: Rename sii164SetPower to sii164_set_power Date: Mon, 13 Nov 2023 15:05:09 +0000 Message-Id: <20231113150512.1210869-5-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 8 ++++---- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index e568c210e2bd..c12df1f9fb00 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -20,7 +20,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { #ifdef SII164_FULL_FUNCTIONS .reset_chip = sii164_reset_chip, .get_chip_string = sii164_get_chip_string, - .set_power = sii164SetPower, + .set_power = sii164_set_power, .enable_hot_plug_detection = sii164EnableHotPlugDetection, .is_connected = sii164IsConnected, .check_interrupt = sii164CheckInterrupt, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index f0a255da1b36..d0b80b86a4d7 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -256,8 +256,8 @@ long sii164_init_chip(unsigned char edge_select, void sii164_reset_chip(void) { /* Power down */ - sii164SetPower(0); - sii164SetPower(1); + sii164_set_power(0); + sii164_set_power(1); } /* @@ -273,13 +273,13 @@ char *sii164_get_chip_string(void) } /* - * sii164SetPower + * sii164_set_power * This function sets the power configuration of the DVI Controller Chip. * * Input: * powerUp - Flag to set the power down or up */ -void sii164SetPower(unsigned char powerUp) +void sii164_set_power(unsigned char powerUp) { unsigned char config; diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index 7c5cc81f38d4..c15cd6a5d53b 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -33,7 +33,7 @@ unsigned short sii164_get_device_id(void); #ifdef SII164_FULL_FUNCTIONS void sii164_reset_chip(void); char *sii164_get_chip_string(void); -void sii164SetPower(unsigned char powerUp); +void sii164_set_power(unsigned char powerUp); void sii164EnableHotPlugDetection(unsigned char enableHotPlug); unsigned char sii164IsConnected(void); unsigned char sii164CheckInterrupt(void); From patchwork Mon Nov 13 15:05:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 743604 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4EFDE21352 for ; Mon, 13 Nov 2023 15:06:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="rsssDzp8" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5629D51 for ; Mon, 13 Nov 2023 07:06:09 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A3C9F240029 for ; Mon, 13 Nov 2023 16:06:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887967; bh=33EB0Ym3zH6H8syG98g+ey7lfXVmTvuJAym04bp4hJc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=rsssDzp8lO6l/0qUzmyFSB69YPeg1P6WEkC3pUYgAtkmqFdgXinaKcjPeFN/PV82o yB4Y2wCQwgIlG4OIDqME7KQhXHzLpDHbJRkV5TS5U+DUmVtlP+jSgdn2p8Osk1R18/ 3TXG9qivrWvB/6XjQuJuUM1LATGLsMCCqGqOytIA0DqGzkuhAMCvH8mi18peyZbjMl H2SjQ3olPrhyMwYrxRvxwYpIpNMZadTjxDSRO2R2rXrL43SusdxI8OywGJs8e+dT1i g6VU+sosQ/DhidvEfuZh/0baOXCVX5l32xxVSe9ddP+8ZfW9lnr3T3Bgc5rRcOqHO7 EJAhpXzQVQJ/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXnB2FFqz9rxM; Mon, 13 Nov 2023 16:06:06 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 5/8] staging: sm750fb: Rename sii164EnableHotPlugDetection to sii164_enable_hot_plug_detection Date: Mon, 13 Nov 2023 15:05:10 +0000 Message-Id: <20231113150512.1210869-6-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index c12df1f9fb00..1ce44c50617a 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -21,7 +21,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .reset_chip = sii164_reset_chip, .get_chip_string = sii164_get_chip_string, .set_power = sii164_set_power, - .enable_hot_plug_detection = sii164EnableHotPlugDetection, + .enable_hot_plug_detection = sii164_enable_hot_plug_detection, .is_connected = sii164IsConnected, .check_interrupt = sii164CheckInterrupt, .clear_interrupt = sii164ClearInterrupt, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index d0b80b86a4d7..430acc4c2a80 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -329,12 +329,12 @@ void sii164SelectHotPlugDetectionMode(enum sii164_hot_plug_mode hotPlugMode) } /* - * sii164EnableHotPlugDetection + * sii164_enable_hot_plug_detection * This function enables the Hot Plug detection. * * enableHotPlug - Enable (=1) / disable (=0) Hot Plug detection */ -void sii164EnableHotPlugDetection(unsigned char enableHotPlug) +void sii164_enable_hot_plug_detection(unsigned char enableHotPlug) { unsigned char detectReg; diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index c15cd6a5d53b..ea3859a5a430 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -34,7 +34,7 @@ unsigned short sii164_get_device_id(void); void sii164_reset_chip(void); char *sii164_get_chip_string(void); void sii164_set_power(unsigned char powerUp); -void sii164EnableHotPlugDetection(unsigned char enableHotPlug); +void sii164_enable_hot_plug_detection(unsigned char enableHotPlug); unsigned char sii164IsConnected(void); unsigned char sii164CheckInterrupt(void); void sii164ClearInterrupt(void); From patchwork Mon Nov 13 15:05:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 744248 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B006321360 for ; Mon, 13 Nov 2023 15:06:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="cZTlFL/0" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B149171A for ; Mon, 13 Nov 2023 07:06:10 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2C351240028 for ; Mon, 13 Nov 2023 16:06:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887969; bh=+0firMEs8jGDnwurQSwdedi7SuSTkZP4QKZILe7SstQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=cZTlFL/0STVCQhNkdzXzcVbpju767yxMPdu7HsF4yEc4ysIMfmUitmsJFX/tdF9Vh 4+h5nfS6C5se+tccwzgDiWeTlLJ8yX5TDQOADpFdFaW40RzODxSKc6MwJl287PF66e nOcVcQg9o44pkgkGIt5qcxLfYTDn1/6vi8c6R8+EkUkSUpg6iN8+HYrEUm3JmU+/6K RPyU4RZ62rgqg3OpGwYA3q/yk4kQqAS6v1sGH4eQchsuEZmXLrBE+YXBs4wk7XZM6h flBgGZcTU2SJ5ElmOZHkIJuHOsgAiPfpP2+KOFTKFISl9p/TcioQ7WS+PEr68qqdMI 0arY8pS97rkVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXnC3t5Fz9rxS; Mon, 13 Nov 2023 16:06:07 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 6/8] staging: sm750fb: Rename sii164IsConnected to sii164_is_connected Date: Mon, 13 Nov 2023 15:05:11 +0000 Message-Id: <20231113150512.1210869-7-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 1ce44c50617a..ac1aab77da28 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -22,7 +22,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .get_chip_string = sii164_get_chip_string, .set_power = sii164_set_power, .enable_hot_plug_detection = sii164_enable_hot_plug_detection, - .is_connected = sii164IsConnected, + .is_connected = sii164_is_connected, .check_interrupt = sii164CheckInterrupt, .clear_interrupt = sii164ClearInterrupt, #endif diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 430acc4c2a80..24f40db0dfcf 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -350,14 +350,14 @@ void sii164_enable_hot_plug_detection(unsigned char enableHotPlug) } /* - * sii164IsConnected + * sii164_is_connected * Check if the DVI Monitor is connected. * * Output: * 0 - Not Connected * 1 - Connected */ -unsigned char sii164IsConnected(void) +unsigned char sii164_is_connected(void) { unsigned char hotPlugValue; diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index ea3859a5a430..f8689bb3e1d5 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -35,7 +35,7 @@ void sii164_reset_chip(void); char *sii164_get_chip_string(void); void sii164_set_power(unsigned char powerUp); void sii164_enable_hot_plug_detection(unsigned char enableHotPlug); -unsigned char sii164IsConnected(void); +unsigned char sii164_is_connected(void); unsigned char sii164CheckInterrupt(void); void sii164ClearInterrupt(void); #endif From patchwork Mon Nov 13 15:05:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 743602 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F5B121369 for ; Mon, 13 Nov 2023 15:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="DKuevgch" Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A7EA10E5 for ; Mon, 13 Nov 2023 07:06:11 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1EC3D240103 for ; Mon, 13 Nov 2023 16:06:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887970; bh=ImO2p/LseShj5lOmJnVvCx6tNn9JRqxDUMthFKX+oJ0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=DKuevgchkENfdAXzMxqCjLOr/YnTvdIswvP0H23mLG0BJnMSsAtNYHqHigkoTys/X Pu1ePffC3b0rc6mOgqwuGEij1qG1+6qjV2v3kBz1b/QL0YC8sgZo8M9PJio1Qzmol0 ixCMewdhxb8b4d3lRVJ/ffQE1lA6lFaSqDHsTREnLRhV8XBph60V1bTrnzsOaG2beU edOXVWuAeazYpT2Hz1jqWSlYRpg5M8RZuy+WCWPgxT2SVOD8r9Iu+pZ1o3JwHxiEaE Jri/uOEimE6bGr7WlW0A3vgZPQCBGtHTXWDnmgLJoyoTC75uy4IcbQ4LYfgqsO6tIz luPbqsFtcpdww== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXnD6G9Mz9rxQ; Mon, 13 Nov 2023 16:06:08 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 7/8] staging: sm750fb: Rename sii164CheckInterrupt to sii164_check_interrupt Date: Mon, 13 Nov 2023 15:05:12 +0000 Message-Id: <20231113150512.1210869-8-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index ac1aab77da28..1def02be4cce 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -23,7 +23,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .set_power = sii164_set_power, .enable_hot_plug_detection = sii164_enable_hot_plug_detection, .is_connected = sii164_is_connected, - .check_interrupt = sii164CheckInterrupt, + .check_interrupt = sii164_check_interrupt, .clear_interrupt = sii164ClearInterrupt, #endif }, diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index 24f40db0dfcf..b156a727bebf 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -370,14 +370,14 @@ unsigned char sii164_is_connected(void) } /* - * sii164CheckInterrupt + * sii164_check_interrupt * Checks if interrupt has occurred. * * Output: * 0 - No interrupt * 1 - Interrupt occurs */ -unsigned char sii164CheckInterrupt(void) +unsigned char sii164_check_interrupt(void) { unsigned char detectReg; diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index f8689bb3e1d5..33351f6d7f11 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -36,7 +36,7 @@ char *sii164_get_chip_string(void); void sii164_set_power(unsigned char powerUp); void sii164_enable_hot_plug_detection(unsigned char enableHotPlug); unsigned char sii164_is_connected(void); -unsigned char sii164CheckInterrupt(void); +unsigned char sii164_check_interrupt(void); void sii164ClearInterrupt(void); #endif /* From patchwork Mon Nov 13 15:05:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Charalampos Mitrodimas X-Patchwork-Id: 744247 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32D6021377 for ; Mon, 13 Nov 2023 15:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.net header.i=@posteo.net header.b="mTunSV70" Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C24D7172B for ; Mon, 13 Nov 2023 07:06:12 -0800 (PST) Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 75C4F24002D for ; Mon, 13 Nov 2023 16:06:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1699887971; bh=4NebyzUyVtbmcvuHG+8RjZVCYeuNv+9wPzrDKVbjtKw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=mTunSV70FDdYw/piyL63FrxU1EQod/a74D/bqgD//gv6hwvkid0pnIUpkkRNgPhJ9 ignk4/d4G4ca1wJexrAmcs/vZMSYOTe/R+t7g61wWaeZUL7PYHj6Xcukf8j04pencJ rHU3nIG/6Ul75N7ayigL08zApHuB/zYaXdfLTusyhcBu/aE357elGa6cvStsLZb2qn v1xdRfsX8MPlXaUj4bPV0Q5BMKO/Z6dvXHhPZpfDsNN9SjCmpDdOPvD3htVSlbUHmo G+XCCYD5s7IIs3WAfW321UMRRDU22t6UHh0peiekJQOmU0eYurlWMAdmv+vHnXDCGh UUQB/7ACuAb5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4STXnG0PHPz9rxh; Mon, 13 Nov 2023 16:06:09 +0100 (CET) From: Charalampos Mitrodimas To: Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Charalampos Mitrodimas Subject: [PATCH 8/8] staging: sm750fb: Rename sii164ClearInterrupt to sii164_clear_interrupt Date: Mon, 13 Nov 2023 15:05:13 +0000 Message-Id: <20231113150512.1210869-9-charmitro@posteo.net> In-Reply-To: <20231113150512.1210869-1-charmitro@posteo.net> References: <20231113150512.1210869-1-charmitro@posteo.net> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Charalampos Mitrodimas --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 4 ++-- drivers/staging/sm750fb/ddk750_sii164.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c index 1def02be4cce..6fef1ab484c1 100644 --- a/drivers/staging/sm750fb/ddk750_dvi.c +++ b/drivers/staging/sm750fb/ddk750_dvi.c @@ -24,7 +24,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = { .enable_hot_plug_detection = sii164_enable_hot_plug_detection, .is_connected = sii164_is_connected, .check_interrupt = sii164_check_interrupt, - .clear_interrupt = sii164ClearInterrupt, + .clear_interrupt = sii164_clear_interrupt, #endif }, #endif diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c index b156a727bebf..d6bfd7c4eaba 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.c +++ b/drivers/staging/sm750fb/ddk750_sii164.c @@ -390,10 +390,10 @@ unsigned char sii164_check_interrupt(void) } /* - * sii164ClearInterrupt + * sii164_clear_interrupt * Clear the hot plug interrupt. */ -void sii164ClearInterrupt(void) +void sii164_clear_interrupt(void) { unsigned char detectReg; diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h index 33351f6d7f11..005473ca20cd 100644 --- a/drivers/staging/sm750fb/ddk750_sii164.h +++ b/drivers/staging/sm750fb/ddk750_sii164.h @@ -37,7 +37,7 @@ void sii164_set_power(unsigned char powerUp); void sii164_enable_hot_plug_detection(unsigned char enableHotPlug); unsigned char sii164_is_connected(void); unsigned char sii164_check_interrupt(void); -void sii164ClearInterrupt(void); +void sii164_clear_interrupt(void); #endif /* * below register definition is used for